Jump to content

MadDev

Members
  • Posts

    28
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by MadDev

  1. On 1/7/2018 at 11:25 PM, nosepicker said:

    Enlighten us, sounds interesting

    Basically you just run a script as normal... but this script you run should actually just be something that loads in an external jar and executes it. Reloading the jar in whenever it changes (so you'd watch for file changes)

    https://gist.github.com/anonymous/50ad5efb7e7cf3a3da8a097eadbd276d This is one i wrote for a different client (i apologize if this is not allowed),

    but its the same basic idea, you can use that and just change it to make it work with osbot.

    As far as I know, when you instantiate the class from the jar file, you can just pass the Script instance to the new class through the constructor.

    • Like 1
  2. Hello, whats the point of the cli arguments if they fail to work if the client is outdated? Completely defeats the purpose of them being able to automatically open the client and run a script for you.

    Hopefully you can update this to make it auto update the client if outdated and continue on :)

    Thank you.

     

    As a workaround for now, i'll just programmatically download the new jar off the site.

    • Like 1
  3. Hey,

    I didn't look too much into it but was just wondering if the security manager has to possibility of being disabled by injecting a java agent upon the startup of the bot and 

    setting the security manager and disallowing the bot to set their own policy. 

    I wasn't fully able to get it working, but just wanted to let staff know in case this was actually a possibility of an exploit.

    Although it would be hard to pull off if you were to affect anyone else since you'd have to add the java agent as an arg on startup of the bot.

  4. Imagine if you have a webserver that only operates on 1 thread synchronously. It could only handle one request at a time. Lets say a user visits and another user visits 1 second after, it has to grab his data from the database, do whatever calculations etc, and resolve the first users request before being able to even recognize the second user has sent a request to the website. This is due to the only thread being blocked from the first request, so no other requests can be considered.

    • Like 1
×
×
  • Create New...