Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recaptcha #14

Open
andress134 opened this issue Mar 1, 2021 · 0 comments
Open

recaptcha #14

andress134 opened this issue Mar 1, 2021 · 0 comments

Comments

@andress134
Copy link

Hello, Anyone know how can bypass the recaptcha from ddos-guard using this lib?
for cloudflare im using chromedriver and a script like

for html, _ := page.HTML(); strings.Contains(html, "cf_chl_captcha_tk"); html, _ = page.HTML() {
if pageurl, err := page.URL(); err == nil {
answer := strings.Trim(getAnswer(pageurl, userAgent), "\n")
page.RunScript(document.getElementsByName("h-captcha-response")[0].value = " + answer + ", nil, nil)
page.RunScript("document.querySelector('.challenge-form').submit()", nil, nil

But for recaptcha i dont know how can find the html page? on cloudflare i can see '' cf_chl_captcha_tk '' for recaptcha on ddos-guard i can't, someone can help me?
Thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant