Jump to content
UBot Underground

[Q] Read From A Txt/csv File To Populate Txt Boxes, Form.


Recommended Posts

Hi

 I am having trouble figuring this out. Please see screenshot.

Basicly from a file call accts.txt (which is in the same folder as the compile bot).

How do I populate the UI and then to website forms after pressing a ui button? And after login in successfully a ui monitor will show Ok!

This has the IP address, email, pw.

 

I'm thinking maybe having at least 5 folders and each folder has a compile bot and it's own accts.txt file so that each bot will run uniquely without ever to change the accts.txt file.

post-12668-0-39514400-1422644324_thumb.jpg

Link to post
Share on other sites

This should get you started 

ui open file("<small>Select User Details:",#UserInput)
ui stat monitor("Proxy:",#Proxy)
ui stat monitor("Email:",#Email)
ui stat monitor("Psw:",#psw)
clear list(%UserDetails)
add list to list(%UserDetails,$list from text($read file(#UserInput),$new line),"Delete","Global")
loop($list total(%UserDetails)) {
    clear list(%CurrentUserDetails)
    add list to list(%CurrentUserDetails,$list from text($next list item(%UserDetails),","),"Delete","Global")
    set(#Proxy,$list item(%CurrentUserDetails,0),"Global")
    set(#Email,$list item(%CurrentUserDetails,1),"Global")
    set(#psw,$list item(%CurrentUserDetails,2),"Global")
    pause script
}
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...