Jump to content
UBot Underground

Random pair line from CSV


Recommended Posts

I am trying to pull data from  CSV file. We can call it username, password for the explanation. How can I enter the correlated or "paired" data randomly?

 

Example

 

First row -       usename1|password1

Second row -  usename2|password2

Third row -      usename3|password3

 

How do I use information randomly from one of these rows but still keep the row together?

 

 

I hope that questions makes sense. I can explain further. Thank you for your help.

Link to post
Share on other sites

Load the data from file into a table.

 

Then select the table row with a random value and extract each cell from the row to a separate variable (user and password) but with the same previous randomly generated index.

Link to post
Share on other sites

Your explanation worked for me. I am not sure if the way I did it is the most elegant solution but it seems to be working. I attached what I have so far in case anyone else has a need for it.

 

I think it could be useful for things like random screen resolutions too.

 

Thanks 

Random Account Info.ubot

account_info.csv

  • Like 1
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...