Jump to content
UBot Underground

Recommended Posts

Hi

 

After nearly a week of trying I have concluded that compiled ubots do not run on any Windows Servers and I have tried 2019,2016,2012 and 2008.I am hoping someone will be able to shed some light on this. There are some threads about this which suggest Visual C++ x86 and .Net Framework 3.5 are neeeded, both true to a certain point, but exe files fail after the second attempt after a reboot whether they are triggered by the exe directly, a bat file, or even Windows Scheduler. 

 

It apears in most cases (Windows 2019 and 2016 in particular) that the bat files execute multiple times and that that when the exe is trying to run, one , more or all freeze up, and require removing from memory in the task Manager. This usualy does not mean that the next time the exe will run, it usually means a reboot is required. 

 

These bots are compiled using Ubot standard so I have not tested a headless ubot. Has anyone come across this too? Is there a fix? Is it a bug? I want to use Amazon for running my bots and Server are all they have - ubots do run on Windows 10 but Amazon do not provide these. 

 

Any ideas anyone? 

 

 

Link to post
Share on other sites

I've used at least a half dozen different VPS providers and a dozen or more VPS over the years with Ubot and have always had them run. This is what I do:

 

I use Windows Server 2012 or Windows 10

Install .Net Framework 4.5, you can also install 3.5 I guess maybe if using older Ubot version (it can't hurt anyways)

Install Microsoft C++ Redistributable

Disable Windows Smart Screen or just turn off Defender

Restart when prompted and also when completely finished

 

Try running your bots if they don't open then install Fiddler, open it make sure its capturing and then try running your bots, see if there is anything going on with the connections.

  • Like 1
Link to post
Share on other sites

I have recentloy tested Windows 2019,2016,2012 and 2008 on Amazon AWS and none of them work. I have posted a new thread on the subject. Is it possible it is the virtualization that is the issue? Or the processor (AMD/x86) or something else. I have no plugins. My issue is that the app freezes when run a second time. It tends to fire a batch file mutiple times. See my new thread on the matter. I hope we can solve this.

 
This is what you asked in that 3 year old thread, I removed it because there is no need to bump threads out of the grave like that when you have a new one open.
 
Now, my question is what are the stats of your server there? 
Link to post
Share on other sites

Thanks. I have tried everything on Windows 2012 and 2019. I am able to run my bot(s) once and then they freeze. Here are the screeenshots with Fiddler of before first bot execution, after first bot execution and then the freeze on the second execution of the same bot (after the first bot window has been shut).This is 2019 with defender off and Framework .Net 3.5 and 4.7 installed and the Visusla Basic C++ x86 installed.  

 

Link to post
Share on other sites

What's odd about those screenshots is that you loaded Google in the Ubot bot and Fiddler didn't pick up on that. So I don't know off the top of my head exactly what's going on with that.

 

But anyways, I guess my next question would be what is your bot doing? Are you able to run a bot that just pops up a simple alert window more than once? I would try that as a test to make sure it's not something in your code, for example I can write a few lines of code that will crash Ubot in a matter of seconds of running it, and that's not a Ubot specific thing either, it would also crash a C# bot for example, probably any kind of desktop application actually.

Link to post
Share on other sites

BTW this server is set up only to test whether Amazon AWS can be used to run Ubots...there is no confidential information on it, so if anyone wants to have a try and make a Ubot work on it, I am happy to supply access to it, All the Amazon servers I have tried (2008,2012,2016 and 2019) can run a bot once before the machine needs a reboot to be abe to run it again. Removing the bot from memory usuing Task Manager does not do it. 

Link to post
Share on other sites

The bot I am testing with is as simple as Navigate to anotheer page, that is it. I tried others, but this is as simple as it gets. 

 

https://charliev4m-gmail.tinytake.com/tt/MzUxOTA3MV8xMDU3NDQxOQ

 

Here is a video link of the freeze

 

https://charliev4m-gmail.tinytake.com/tt/MzUxOTA4MV8xMDU3NDU1MA

Edited by charliefinale
Link to post
Share on other sites

OK, After a few more hours this is what I have discovered. I opened an Azure account and put up a Windows server 2012 system with 8 gig of RAM. Same problem - actaully would not run the bot at all. Put up an Azure Windows 10 Virtual Server on Azure and voila, it worked. It did require the Visual Basic C++ x86 before it did, but now the bot runs and if I exit it I can run and exit over and over again as it should.

 

In the Windows 10 both .Net 3.5 and 4.7 were installed and I installed the 3.5 manually from an exe although it fetched its own files or so it seemed. 

 

My categorical conclusion is that something in the Server Version of Windows is preventing compiled Ubots working. That is not to say that an undocumented change to the setup may fix this, but none of the usual suspects has as yet worked. 

 

Just installed IIS on Windows 10 - still works fine, but I did notice that Windows defender was completely missing. It was not just switched off as in the other tests I did with Server versions 2008-19 where unistalling it did not seem to be an option. A possible clue. 

Edited by charliefinale
Link to post
Share on other sites
  • 1 month later...

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...