JimmyLaurent / hcaptcha-solver

A library to solve hCaptcha challenges
194 stars 37 forks source link

hCaptcha changed the main script #3

Closed Numenorean closed 4 years ago

Numenorean commented 4 years ago

I tried bypass it for site named faceit, but now i see that it has another script, which hardly obfuscated and has dom elements, so i got error UnhandledPromiseRejectionWarning: ReferenceError: Window is not defined Here is new script: https://assets.hcaptcha.com/c/500c658/hsw.js

JimmyLaurent commented 4 years ago

It's the script for browsers supporting web assembly. For older browsers this one is used : https://assets.hcaptcha.com/c/7f492a3/hsl.js

Anyway the bruteforce bypass method used in this package doesn't seem to work anymore.

Numenorean commented 4 years ago

Yeah, with hsl script i always get response with captcha pictures. So is it possible to remake hsw script to nodejs support?

JimmyLaurent commented 4 years ago

Yes but why would you want yo do this ?

Numenorean commented 4 years ago

Becouse it's too expensive to pay for captcha solution services like anticaptcha or rucaptcha. With nodejs it would be much easier

JimmyLaurent commented 4 years ago

I think you misread this: Anyway the bruteforce bypass method used in this package doesn't seem to work anymore.

To clarify, this bypass is dead. The problem is not this hsw script, the problem is recognizing images since the bruteforce method doesn't work anymore.

Numenorean commented 4 years ago

but on the faceit.com i didn't see any captcha images, it was fully automaticaly

JimmyLaurent commented 4 years ago

An invisible captcha, It's unlikely. I didn't see it on you site, wich page is it on ?

Numenorean commented 4 years ago

An invisible captcha, It's unlikely. I didn't see it on you site, wich page is it on ?

its here https://www.faceit.com/en/login

JimmyLaurent commented 4 years ago

It seems to be a recaptcha.

Numenorean commented 4 years ago

It seems to be a recaptcha.

yes it looks like recaptcha, but it isn't, you can see requests and make sure of it

JimmyLaurent commented 4 years ago

Yes indeed. They have invisible captchas.

You have a limited support in the last version, it doesn't work every time so you may have to do some tweaks.

Numenorean commented 4 years ago

Yes indeed. They have invisible captchas.

You have a limited support in the last version, it doesn't work every time so you may have to do some tweaks.

thank you so much. now it works :heart: