mrlyons 2 Posted September 11, 2011 Report Share Posted September 11, 2011 Hello fellow ubot members! I've made several hotmail and yahoo email registration bots. My only question is, how can I make sure if the captcha service I am using enters the right captcha? would this have to fall under the if and then commands? If they enter the wrong captcha, I would like for them to reenter the new one and try again. If anyone could help me out with this current issue, I'll be more than happy to release a few email bots I made and some social networking sign ups, I'm just stuck at this one problem. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted September 11, 2011 Report Share Posted September 11, 2011 yes if than else. after you submit the form. wait for the page to load and check for errors, or valid and do whatever is needed at that point. 1 Quote Link to post Share on other sites
lowno 2 Posted September 12, 2011 Report Share Posted September 12, 2011 I make a loop, and have my if statement in the loop. I will let the loop go 5 times or so, it works for me. Quote Link to post Share on other sites
UBotBuddy 331 Posted September 12, 2011 Report Share Posted September 12, 2011 Just be careful of your Looping process as you do not want to get into an infinite loop trying to resolve a Captcha that has changed and your bot was not prepared for it. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted September 12, 2011 Report Share Posted September 12, 2011 besides that if your looping the captcha 5 times regardless, and your using a paid service that means regardless you paying 5 times on that captcha if it sends the image. there is better ways to accomplish this. Quote Link to post Share on other sites
mrlyons 2 Posted September 13, 2011 Author Report Share Posted September 13, 2011 could anyone be so kind and write a little tutorial or link me to one. I can't seem to do this right. I've been looking all over the web and have not seen a tutorial on this yet, I'll just keep looking. any help is greatly appreciated Quote Link to post Share on other sites
Saxon 1 Posted September 14, 2011 Report Share Posted September 14, 2011 wait for element(<src=w"https://www.google.com/recaptcha/api/image?*">, "", "Appear") (WAIT FOR CAPTCHA TO APPEAR) type text(<name="recaptcha_response_field">, $solve captcha(<class="recaptcha_image_cell">), "Standard")(FIRST CAPTCHA TRY) click(<outerhtml=w"<button type=\"submit\">*</button>">, "Left Click", "No")(SUBMIT FORM) wait for element(<src=w"https://www.google.com/recaptcha/api/image?*">, 5, "Appear")(WAIT FOR NEW CAPTCHA TO APPEAR IF FAILED) loop while($search page("Sorry")) {(SEARCH PAGE FOR ERROR MESSAGE) wait for element(<src=w"https://www.google.com/recaptcha/api/image?*">, "", "Appear")(WAIT FOR IT TO APPEAR, THIS STOPPED INFINITE LOOP ON PAGE RELOAD) type text(<name="recaptcha_response_field">, $solve captcha(<class="recaptcha_image_cell">), "Standard")(TRY CAPTCHA AGAIN) click(<outerhtml=w"<button type=\"submit\">*</button>">, "Left Click", "No")(SUBMIT AGAIN) } This works for tumblr, every site will be slightly different. 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.