kkipling5 wrote: ↑Thu May 07, 2020 8:56 am
Code: Select all
Firefox: 53
Windows: 10
iMacros: 8.9.7
I'm trying to solve reCaptcha v3. I obtain the sitekey and pageurl and submit it to a captcha solving service using the following code:
Code: Select all
TAB OPEN
TAB T=2
URL GOTO=http://2captcha.com/in.php?key={{api_key}}&method=userrecaptcha&googlekey={{gkey}}&pageurl={{pgurl}}&version=v3&action=verify&min_score=0.9
Then, I wait for the captcha to be solved and once it is solved, I obtain the token with the following code:
Code: Select all
URL GOTO= http://2captcha.com/res.php?key={{api_key}}&action=get&id={{captid}}
WAIT SECONDS=35
REFRESH
TAG POS=1 TYPE=* ATTR=TXT:* EXTRACT=TXT
SET answer EVAL("var s=\"{{!EXTRACT}}\"; s.split(' ')[0].split('|')[1]")
SET !EXTRACT {{answer}}
TAB CLOSE
Now that I have the token, I need to post it to verify the captcha. I read the following in the instructions on captcha provider's page:
Usually token is sent using POST request. It could be g-recaptcha-response just like ReCaptcha V2 does or g-recaptcha-response-100000. It could be other parameter too. So you've got to inspect the requests and find out how exactly the token supposed to be sent. Then you have to compose your request accordingly.
However, upon checking using the Developer's Console of Firefox, I see that the token is sent as a GET request which looks like:
Code: Select all
https://recaptcha-demo.appspot.com/recaptcha-v3-verify.php?action=examples/v3scores&token=03AGdBq25smmjlEyqIxX-CDgr9pGxt1eUcA0KQVvCN7ICAJ4sOq-ZsMXkkgcfTo5O5gI_-mHTydb7k24FArK1DMYAW5FjQifiFS2jFhWTHKsIDwQl7-owfOmXfZPMVcL9uv4U_gt5_a0B1wCJ590FXYxwc5bfWV7ddIuRdJIWbUBwbI-NjVPdMaxlao00FcWUk--rDED3akSR-B5Azmw9fQlykTpFu36KSQw2EeAgngtSnlET_7ehe1Sc1FMSd4fvTGTgj8ijel_jhP66rKAQ3iEjeU2YU3JHPQ3BfRJK0TdhsB05Q42V9dylMCAVUusi_yeKKTJfX5hs1BbRU3Pt7CDaXp9D5A6E6C2VNghUZOScFRGm6nJb6jTlqktQlrtJf__tGfAzoQyaLtgicPqGgb-YjxiaR08a8bm6TvVJKI-DFB3YRAVl8vzE
If I were to use the URL GOTO function, I'd be navigating away from the webpage on which I want the captcha to be solved. How do I post the token so that the captcha is solved while staying on the page?
Oh...!?, I didn't know there was a "v3" now for 'reCaptcha'...
But hum, try to select the "correct" Sub-Forum when you open a Thread or I don't (try to) help, this one has nothing specific to the 'iMacros for FF' Sub-Forum..., and will probably get moved to the 'General' Sub-Forum...
I don't help for Captcha anyway, but see the "
OFFICIAL (Anti-)Captcha Providers Thread." with a Link to the "Official" Thread on the Forum from this '2captcha' Provider in which you could post a "short" Reply referring to this current Thread... Don't repost the full Content of this current Thread, only a brief Explanation and a Link to your Thread or the "Information" will be scattered over 2 different Threads..., but from posting in their Thread, the User/Provider owning the '2captcha' Official Thread should get a Notification and will be attended to your Thread...
>>>
You would btw also be encouraged to share in the "OFFICIAL (Anti-)Captcha Providers Thread." (or in their own Thread) any Feedback you (already) have about this Provider if you've been using them for a while already, before and after your current "Issue", including if and how they react to your Case and try to help you...
And you can also post your Feedback about other Providers if you've used several already, and why you chose for this one...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...