Jump to content
UBot Underground

Recommended Posts

Hey Ladies and Gent's,

 

Introducing

 

Asynco

 

A Technique in Threading...

 

 

http://network.ubotstudio.com/store/wp-content/uploads/sites/2/2016/12/thread-docta-pro-edition.png

 

 

http://network.ubotstudio.com/store/wp-content/uploads/sites/2/2016/12/ubot-advanced-threading-boot-camp-550-b-r-600x600.png

 

Updated and some example codes, read this.

 

Basically what this does is:

 

  1. splits a list into a bunch of other lists
  2. spins up threads based on how many lists there are
  3. each thread loops through their respective lists until complete
  4. combines all list into one

Say you have 1000 usernames and passwords. You tell the bot to split the list into 100 each. This will create 10 threads and each thread will loop through 100 items (UN's and PW's or URL's).

 

Creating threads is an expensive task, so your resources are spent in creating them. Asynchronous Programming helps to do more with less resources.

 

In this example I will demonstrate just this from both sides and you can come to your own conclusion.

 

The bot will make  DB's and join them to create a data set. Why to not one?

In case someone wants to know how it's done. Yes, I certainly could have made just one.

 

The two databases are (1000)usernames,passwords and the other are (200)proxies. In the bot you can play with these values if you like. The joining demos how to assign the proxies to a larger list.

 

Then just enter the amount to split the list by. The higher the number, less threads are created.

 

Hit run!!!

 

Plugins used:  

Advanced.File.dll     Kev123

Bigtable.dll    Kev123

Diagnosticfunctions.dll     Kev123

StringManagementPlugin.dll       Aymen

All are free and available in the BST forum
 

Give it a whirl with different values, lemme know what you think!!!!!!

 

Enjoy,

 

CD

 

Working on some real world examples...so stay tuned.

Asynco-Example.ubot

  • Like 10
Link to post
Share on other sites

Thanks for the insight

You are welcome!

 

 

This is EXACTLY how I have been threading for quite some time now!

 

Makes the crashes happen less frequently, and generally makes threading ALOT more stable.

That's exactly why I am sharing it now and not some weeks/months from now!

So everyone can benefit from this knowledge.

 

Feel free to share yours here or in another thread.

Since you have been doing it for some time now you must have some really good examples to share with those that are struggling.

 

Knowledge is power and sharing is caring!! :)

 

Indeed tis more stable.

 

CD

  • Like 3
Link to post
Share on other sites
  • 1 month later...

I have been working on some examples that should help.

 

Coming soon...

 

This code is just splitting the list into smaller chunks and putting each chunk into a thread.

 

Each thread has its own set of variables and list so they are not able to have cross thread contamination. In other words no thread locking needed to prevent other threads from changing values while another thread is using it. So each thread is a separate bot totally independent of the others.

 

CD

  • Like 1
Link to post
Share on other sites
  • 5 months later...
  • 1 year later...

I updated the code and it does not require the string management plugin any more.

 

You can get it here...

http://network.ubotstudio.com/store/wp-content/uploads/sites/2/2016/12/thread-docta-pro-edition.png

 

And some example sources here...

http://network.ubotstudio.com/store/wp-content/uploads/sites/2/2016/11/ubot-advanced-threading-boot-camp-550.png

 

Just click the images.

 

Regards,

CD

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