Jump to content
UBot Underground

Captcha Solving One More..


Recommended Posts

When I click join for this site..

"https://auth.band.us/email_sign_up"

it only show if I click join(last button).

 

There is no checkbox or textbox to solve it..(not as ultimate captcha plugin sample..)

 

I'm using ultimate chaptcha plugin with 2captcha..

Is there anyone who can show me the example of this site capcha solving?

Edited by namstery21
Link to post
Share on other sites

Process is almost same , solve the recaptcha as you are doing in normal cases

 

1) scrape the callback function

set(#ScrapeCallback,$scrape attribute(<class="g-recaptcha">,"data-callback"),"Global")

2) run the javascript

run javascript("{#ScrapeCallback}();")

Done.

  • Like 1
Link to post
Share on other sites

Process is almost same , solve the recaptcha as you are doing in normal cases

 

1) scrape the callback function

set(#ScrapeCallback,$scrape attribute(<class="g-recaptcha">,"data-callback"),"Global")

2) run the javascript

run javascript("{#ScrapeCallback}();")

Done.

 

Thank you for kind answer... but is this right? Maybe something wrong..with me..

I don't know before captcha image appear, it is solved or after captcha shown, does we solve it?

 

 

define google_captcha(#google_captcha) {

    set(#ApiKey,"xxxxxxxxx","Global")
    plugin command("ExBrowser.dll", "ExBrowser Delete All Cookies")
    set(#ScrapeCallback,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "<class=\"g-recaptcha\">", "data-callback"),"Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style", $replace($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style"),"display: none;",""))
    clear list(%_rawCaptcha)
    add list to list(%_rawCaptcha,$list from text($plugin function("UltimateCaptchaServices.dll", "$2Captcha Service V2", #ApiKey, "", "6Lf7sxwUAAAAAMCZndbhrzZ8ybi7JY-fGLIZmHAF", "https://auth.kkkk.us/email_sign_up","", "", "", "HTTP", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes"),$new line),"Delete","Global")
    run javascript("{#ScrapeCallback}();")
    wait(1)
}
Edited by namstery21
Link to post
Share on other sites

I don't know javascript but maybe they hide something..

here it is...

 

<script type="text/javascript">
function callbackRecaptcha(token) {
if(bandAuth.recaptcha.verifyRecaptchaResponse() == false) {
bandAuth.recaptcha.reset();
return false;
}
 
var form = document.getElementById('email_sign_up_form');
onSubmit(form);
}
 
bandAuth.recaptcha = {
isDone : false,
 
execute : function() {
grecaptcha.execute();
},
 
reset : function() {
grecaptcha.reset();
},
 
verifyRecaptchaResponse : function() {
var response = grecaptcha.getResponse();
if(response.length == 0) {
return false;
}
bandAuth.recaptcha.isDone = true;
return true;
},
 
}
 
function onSubmit(form) {
var baSignUpJsonPayload = JackpotLogger.generateJackpotSignUpEventData(false, "PH", "ko", "email");
$('#email_sign_up_form').append('<input type="hidden" name="ba_signup_payload"/>');
$("input[name=ba_signup_payload]").val(baSignUpJsonPayload);
bandAuth.request.prepareFormSubmit(form);
form.submit();
}
 
</script>    
Link to post
Share on other sites

Thank you for kind answer... but is this right? Maybe something wrong..with me..

I don't know before captcha image appear, it is solved or after captcha shown, does we solve it?

 

Yes your code seems to be OK, no need to worry about the js . Found only one mistake in ur code that u are not setting the value of text box . Please use the code below and test it , let me know if u are still having any issue. 

 

 

define google_captcha(#google_captcha) {
    set(#ApiKey,"xxxxxxxxx","Global")
    plugin command("ExBrowser.dll", "ExBrowser Delete All Cookies")
    set(#ScrapeCallback,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "<class=\"g-recaptcha\">", "data-callback"),"Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style", $replace($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style"),"display: none;",""))
    clear list(%_rawCaptcha)
    add list to list(%_rawCaptcha,$list from text($plugin function("UltimateCaptchaServices.dll", "$2Captcha Service V2", #ApiKey, "", "6Lf7sxwUAAAAAMCZndbhrzZ8ybi7JY-fGLIZmHAF", "https://auth.kkkk.us/email_sign_up", "", "", "", "HTTP", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes", "No"),$new line),"Delete","Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "value", $list item(%_rawCaptcha,1))
    run javascript("{#ScrapeCallback}();")
    wait(1)
}

 

 

Thanks

  • Like 1
Link to post
Share on other sites

I sent the PM to you. 

Plz check..

 

Yes your code seems to be OK, no need to worry about the js . Found only one mistake in ur code that u are not setting the value of text box . Please use the code below and test it , let me know if u are still having any issue. 

 

define google_captcha(#google_captcha) {
    set(#ApiKey,"xxxxxxxxx","Global")
    plugin command("ExBrowser.dll", "ExBrowser Delete All Cookies")
    set(#ScrapeCallback,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "<class=\"g-recaptcha\">", "data-callback"),"Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style", $replace($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style"),"display: none;",""))
    clear list(%_rawCaptcha)
    add list to list(%_rawCaptcha,$list from text($plugin function("UltimateCaptchaServices.dll", "$2Captcha Service V2", #ApiKey, "", "6Lf7sxwUAAAAAMCZndbhrzZ8ybi7JY-fGLIZmHAF", "https://auth.kkkk.us/email_sign_up", "", "", "", "HTTP", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes", "No"),$new line),"Delete","Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "value", $list item(%_rawCaptcha,1))
    run javascript("{#ScrapeCallback}();")
    wait(1)
}

Thanks

Link to post
Share on other sites

Here is the minor fix. 

define google_captcha(#google_captcha) {
    set(#ApiKey,"xxxxxxxxx","Global")
    plugin command("ExBrowser.dll", "ExBrowser Delete All Cookies")
    set(#ScrapeCallback,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "<class=\"g-recaptcha\">", "data-callback"),"Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style", $replace($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style"),"display: none;",""))
    clear list(%_rawCaptcha)
    add list to list(%_rawCaptcha,$list from text($plugin function("UltimateCaptchaServices.dll", "$2Captcha Service V2", #ApiKey, "", "6Lf7sxwUAAAAAMCZndbhrzZ8ybi7JY-fGLIZmHAF", "https://auth.kkkk.us/email_sign_up", "", "", "", "HTTP", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes", "No"),$new line),"Delete","Global")
    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "value", $list item(%_rawCaptcha,1))
    plugin command("ExBrowser.dll", "ExBrowser Run Javascript", "{#ScrapeCallback}();")
    wait(1)
}
  • Like 1
Link to post
Share on other sites

Maybe you don't even need to scrape callback function. After solving captcha and getting response. You can run this command:-

run javascript("document.getElementById("email_sign_up_form").submit();")
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...