Jump to content
UBot Underground

Shuffle account information table?


Recommended Posts

Hello. I've been playing around with this most of the day and could use some help. The accounts all have different passwords so adding the names to a list then shuffling isn't going to work. I would just like to log-in from a random account from the table. I know there is an easy way to do this. Can anyone share?

 

The account information looks like this. 

 

 

sadyesantarsier,xobjpksbup054
luettahausen910,wwovxvzuja801
Link to post
Share on other sites

Load this into a table

 

use #table Row Counter

 

random the value of table row counter that varies from 0 to $table total rows

 

and that is done.

Link to post
Share on other sites

Take a look at this code: Open your debugger and you will see the account details match.

 

comment("Create Account List")
set(#AccountDetails, "User1,Pass1
User2,Pass2
User3,Pass3
User4,Pass4
User5,Pass5
User6,Pass6
User7,Pass7
User8,Pass8
User9,Pass9
User10,Pass10", "Global")
clear list(%Accounts)
add list to list(%Accounts, $list from text(#AccountDetails, $new line), "Delete", "Global")
comment("Get Random Account")
loop(3) {
    set(#RandAccountPos, $rand(0, $list total(%Accounts)), "Global")
    clear list(%RandAccount)
    add list to list(%RandAccount, $list from text($list item(%Accounts, #RandAccountPos), ","), "Delete", "Global")
    set(#Username, $list item(%RandAccount, 0), "Global")
    set(#Password, $list item(%RandAccount, 1), "Global")
    wait(1)
}

 

 

Carl

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