Enigma 78 Posted September 24, 2015 Report Share Posted September 24, 2015 Is there a way to solve captcha's from an image on the computer locally?The $solve captcha command in uBot seems only to be able to select an element on a website instead of getting the image from your local computer.Reason is that the $solve captcha command in uBot downloads the image with a weird green edge that can disturb my ocr. Using $solve captcha command: http://i.imgur.com/IrBaISK.png Using Download File command, save locally: http://i.imgur.com/E8rsmj4.jpg So to be short.... anyone know a way to set C:\User\XXXXX\MyPictures\captcha.jpg as source (local) instead of a web element (online)? http://i.imgur.com/vDt362R.png Quote Link to post Share on other sites
a2mateit 395 Posted September 25, 2015 Report Share Posted September 25, 2015 Have you tried Pash's free captcha plugin? Quote Link to post Share on other sites
Enigma 78 Posted September 25, 2015 Author Report Share Posted September 25, 2015 Have you tried Pash's free captcha plugin? Which one?It seems he has multiple captcha plugins.I'm not in need of a third party service such as Antigate. Again, i'm only looking for a way to set C:\User\XXXXX\MyPictures\captcha.jpg as source (local) instead of a web element (online) Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted September 30, 2015 Report Share Posted September 30, 2015 Hi Enigma, This problem has plagued me for over a month now, I have built a manual captcha window that the user can refresh if they need to, but the local variable thing gets me every time, however, it looks like your only looking to do this with 1 thread, .. if that is the case then all you need to do is convert the image to BASE64 (the free plugin file management can do this) so you need to set a variable "similar" to this : set(#captchaurl,$plugin function("File Management.dll", "$image 2 base64", "{$special folder("Application")}\\solve{#CapRand}.png"),"Global") Then add the variable #captchaurl into a UI Html window You can see that it is set to "Global" I am still yet to get it to work with local, but i am checking out other methods to pass the local variable to another define ill update this when i eventually succeed lmao unless someone else want to chirp in with some pearls of wisdom 1 Quote Link to post Share on other sites
Enigma 78 Posted October 9, 2015 Author Report Share Posted October 9, 2015 Thanks Cyber Junkie for the suggestion, i'll take a look at that later.Working on a different project now. Quote Link to post Share on other sites
Enigma 78 Posted October 10, 2015 Author Report Share Posted October 10, 2015 It works Cyber Junkie, but like you said it is Global and not Local so there will be an issue with multithreading though right now... 1 Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted October 10, 2015 Report Share Posted October 10, 2015 It works Cyber Junkie, but like you said it is Global and not Local so there will be an issue with multithreading though right now... I literally managed to solve this a couple of days ago, and although i can not use a local variable for the captcha image all other variables related are local All i did was put like a limit, very similar to a thread limit, as soon as a captcha is detected it enters a loop, for example, when a captcha is detected it starts a define command running, at the start of the command i put a "global" variable #capdone = falsethen when the next captcha is detected, right at the start of the define and before the capdone variable there is a "Loop While - #capdone = false" Then when the first captcha is solved it will set the #capdone variable to true allowing the other captcha to be released for solving,then the second that captcha is starting the solving procedure it will switch the #capdone to false which will stop the next captcha within the loop while to wait for its turn hope that made senseread through it a couple of times and you will get it working no problems Have fun CJ Quote Link to post Share on other sites
pablo322 1 Posted June 2, 2016 Report Share Posted June 2, 2016 navigate("https://signup.live.com/?wa=wsignin1.0&rpsnv=12&ct=1464905525&rver=6.4.6456.0&wp=MBI_SSL_SHARED&wreply=https:%2f%2fmail.live.com%2fdefault.aspx%3frru%3dinbox&id=64855&cbcxt=mai&bk=1464905526&uiflavor=web&uaid=bc61c373ffab4152bf2bb91c57d2af56&mkt=EN-US&lc=1033&lic=1","Wait")wait for browser event("Page Loaded","")type text(<name="wlspispSolutionElement1a82d77d8c224e57b76bd8ac598ebf9c">,$solve captcha(<id=w"wlspispHIPBimg0efe2af39a45447cba439d35a77f2c7c50">),"Standard")wait for element(<id="wlspispHIPBimg02823dbc72bd14c378b183bf820548d0f0">,"","Appear") 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.