Jump to content
UBot Underground

[GET] Solving ReCaptcha With Aymens HTTP Post Plugin


Recommended Posts

Here is are two functions to help you solve ReCaptcha using the HTTP Post plugin created by Aymen, 

set(#Out, $plugin function("HTTP post.dll", "$http get", "https://www.livejournal.com/create", "", "", "", ""), "Global")
set(#Challenge, $Recaptcha Get Challenge HTTP Post(#Out), "Global")
set(#Response, $Recaptcha Get Response HTTP Post(#Out), "Global")
define $Recaptcha Get Challenge HTTP Post(#Page_With_Recaptcha) {
    set(#Out, #Page_With_Recaptcha, "Local")
    set(#Out, $replace($find regular expression(#Out, "(http|https?):\\/\\/www.google.com\\/recaptcha\\/api\\/challenge\\?k=.*?\""), "\"", $nothing), "Local")
    set(#Out, $replace($replace($find regular expression($plugin function("HTTP post.dll", "$http get", #Out, "", "", "", ""), "challenge : \'(.*)\'"), "challenge : \'", $nothing), "\'", $nothing), "Local")
    return(#Out)
}
define $Recaptcha Get Response HTTP Post(#Page_With_Recaptcha) {
    set(#Out, #Page_With_Recaptcha, "Local")
    set(#Out, $replace($find regular expression(#Out, "(http|https?):\\/\\/www.google.com\\/recaptcha\\/api\\/challenge\\?k=.*?\""), "\"", $nothing), "Local")
    set(#Out, $replace($replace($find regular expression($plugin function("HTTP post.dll", "$http get", #Out, "", "", "", ""), "challenge : \'(.*)\'"), "challenge : \'", $nothing), "\'", $nothing), "Local")
    in new browser {
        load html("<img src=\"http://www.google.com/recaptcha/api/image?c={#Out}\"/>")
        wait for element(<src=w"http://www.google.com/recaptcha/api/image?c=*">, 10, "Appear")
        set(#Out, $solve captcha(<src=w"http://www.google.com/recaptcha/api/image?c=*">), "Local")
    }
    return(#Out)
}

Hope you like!

 

Carl

  • Like 2
Link to post
Share on other sites

Aymen's plugin is probably one of THE most useful (and at the same time very complex) plugin in UBS world...

And Aymen is not only an excellent developer, but also a great vendor who cares about his customers.

Try to ask his help directly, he may solve your issue in a few minutes...

 

Hope this helps...

Link to post
Share on other sites

Aymen's plugin is probably one of THE most useful (and at the same time very complex) plugin in UBS world...

 

And Aymen is not only an excellent developer, but also a great vendor who cares about his customers.

Try to ask his help directly, he may solve your issue in a few minutes...

 

Hope this helps...

Steve, I think you may have mistaken the OP, LazyBotter was sharing code to help the community, not posting an issue..

Link to post
Share on other sites

This script doesn't actually work, I think it is because the cookies are stored within the define command/function. 

 

I thought it would of worked but doesn't... Never mind. 

 

Carl

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...