Jump to content

Osbot precaution. False Alarm


Wyn

Recommended Posts

  • Developer

How dumb can you guys be?
That code is used to prevent scripts from running getPassword() method (i.e. prevent local scripts from stealing your password). Learn to reverse engineer.

I'll even post the code here.

 

 

    public final String getPassword() throws SecurityException {
        if (!getBot().isPaused()) {
            throw new SecurityException();
        }
        StackTraceElement ste = new Throwable().getStackTrace()[1];
        if (!ste.getClassName().equals("org.osbot.engine.randoms.LoginScript")) {
            //If not Login script, block access.
            throw new SecurityException();
        }
        return instance.getPassword();
    }
  • Like 9
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...