Jump to content
UBot Underground

Problem With Account Data /number Loop To Numer Row


Recommended Posts

Hello . I would like to replace $ account data with my data in a csv or txt file. I have a problem with obtaining such an effect

loop 0 = data in txt or csv
name1 (row 0, col 0)
pass1 (row 0, col 1)
loop 1.
name2 (row 1, col 0)
pass2 (row 1, col 1)
and so on (number of loops)

unfortunately, every way I tried it turned out to be wrong

txt file (test1.txt)
name1, password1
name2, password2
NAME3, password3
NAME4, password4
NAME5, password5
name6, password6

 

please help. THX

ui drop down("Threads",1,#threadCount)
ui text box("Number of Accounts",#loops)
clear list(%accounts)
clear list(%accountinformation)
create table from file("D:\\test1.txt",&my table)
set(#usedThreads,0,"Global")
loop(#loops) {
    reset account("Any")
    set(#username,$account data("Username"),"Global")
    set(#password,$account data("Password"),"Global")
    add item to list(%accountinformation,"{#username}:{#password}","Don\'t Delete","Global")
}
add list to list(%my proxies,$list from file("D:\\prox.txt"),"Don\'t Delete","Global")
save to file("{$special folder("Application")}\\account.csv",%accountinformation)
loop(#loops) {
    loop while($comparison(#usedThreads,">= Greater than or equal to",#threadCount)) {
        wait(1)
    }
    clear list(%account)
    add list to list(%account,$list from text($next list item(%accountinformation),":"),"Delete","Global")
    increment(#usedThreads)
    CreateAccount($list item(%account,0), $list item(%account,1))
    wait(0.1)
}
loop while($comparison(#usedThreads,"> Greater than",0)) {
    wait(0.1)
}
alert("Finished")
define CreateAccount(#_username, #_password) {
    thread {
        change proxy($next list item(%my proxies))
        navigate("http://www.ubotstudio.com/playground/simple-form","Wait")
        wait(7)
        wait for browser event("Everything Loaded","")
        type text(<username field>,#_username,"Standard")
        type text(<password field>,#_password,"Standard")
        add item to list(%accounts,"{#_username}:{#_password}","Don\'t Delete","Global")
        click(<value="Submit">,"Left Click","No")
        clear cookies
        decrement(#usedThreads)
    }
}

Link to post
Share on other sites

Try this:

ui drop down("Threads",1,#threadCount)
ui text box("Number of Accounts",#loops)
clear list(%accounts)
clear list(%accountinformation)
create table from file("D:\\test1.txt",&my table)
set(#usedThreads,0,"Global")
set(#row,0,"Global")
loop(#loops) {
    reset account("Any")
    set(#username,$table cell(&my table,#row,0),"Global")
    set(#password,$table cell(&my table,#row,1),"Global")
    add item to list(%accountinformation,"{#username}:{#password}","Don\'t Delete","Global")
    increment(#row)
}
add list to list(%my proxies,$list from file("D:\\prox.txt"),"Don\'t Delete","Global")
save to file("{$special folder("Application")}\\account.csv",%accountinformation)
loop(#loops) {
    loop while($comparison(#usedThreads,">= Greater than or equal to",#threadCount)) {
        wait(1)
    }
    clear list(%account)
    add list to list(%account,$list from text($next list item(%accountinformation),":"),"Delete","Global")
    increment(#usedThreads)
    CreateAccount($list item(%account,0), $list item(%account,1))
    wait(0.1)
}
loop while($comparison(#usedThreads,"> Greater than",0)) {
    wait(0.1)
}
alert("Finished")
define CreateAccount(#_username, #_password) {
    thread {
        change proxy($next list item(%my proxies))
        navigate("http://www.ubotstudio.com/playground/simple-form","Wait")
        wait(7)
        wait for browser event("Everything Loaded","")
        type text(<username field>,#_username,"Standard")
        type text(<password field>,#_password,"Standard")
        add item to list(%accounts,"{#_username}:{#_password}","Don\'t Delete","Global")
        click(<value="Submit">,"Left Click","No")
        clear cookies
        decrement(#usedThreads)
    }
}
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...