Jump to content
UBot Underground

UBot/IE memory problems WORKAROUND (Advance)


Recommended Posts

I have been hacking this like crazy, so I hope this be useful to someone.

 

Disclaimer/Who this is NOT for

This is not for newbies.

This is not for anyone looking for a "supported solution"

This is probably only for real programmers. (novices can maybe survive this)

This is UGLY, who ugly? The "OMFG are you serious we got to do this, this way?" kind of ugly.

 

Prerequisites

You got to know how and to handle states with in your bot, whether by DB or files(csv's or what ever).

This I am not going to help you with, I assume you can do this or this is not for you.

What I mean is that when your bot stops and start again it should pick off the last point it was at - without user interaction. (this can work for interactive bots if you know how to keep the states good).

* The tested code was on windows 7, should work on vista, needs changes to work on other version.

 

Quick Pesdo code:

Wraper.bat

bot.exe

delay_script $timeout

taskkill

wraper.bat

 

You probably should have stopped reading by now.

 

Code:

 

Wait.bat:

@choice /d y /t %1 > nul

 

wrapper.bat:

bot.exe /autostart

call wait X (X is in secounds, try 3600 for 1 hour or do more depends on your bot)

taskkill /im bot.exe /f

wapper.bat

 

*bot.exe should of course be replaced by you'r bot.

 

*of course running the "bot" now should actually run "wapper.bat"

 

I have gone through trying many other options like letting you'r bot do this with shell - nothing else works for now...

 

Hope I didn't miss anything.

 

p.s. For socket proxy issue I am using runas command with many users and this scripts works with that also :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...