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

Hooman can't bypass new challenge #26

Open
1 task done
Cosmysd opened this issue Jun 7, 2020 · 0 comments
Open
1 task done

Hooman can't bypass new challenge #26

Cosmysd opened this issue Jun 7, 2020 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Cosmysd
Copy link

Cosmysd commented Jun 7, 2020

Describe the bug

  • Hooman version: v1.2.5
  • Node.js version: 14
  • OS & version: debian 10

Actual behavior

It seems that the hooman is outdated, it can't get around the new cloudflare challenge, I tested it on several websites, none of it can be outdated, except sometimes, when the protection is not active

Okay, so the new cloudflare challenge only appears when it detects malicious requests, or multiple attempts from the same IP address, or the server is already attacked, etc.
The new challenge checks the 'browser' to see if you are real or bot, after which you will have to get the token for uam, (the cookie) and after you have obtained the cloudflare cookie displays a free captcha that must be completed.

Hooman can't detect both at once, I've already tried this on a few urls, below is a list

https://cyberwarblog.xyz - bypassed failed
https://fatality.win/ - bypassed failed
https://botflare.xyz/ - bypassed failed

Beware, cloudflare doesn't always display the captcha request, so sometimes bypass works, but 90% don't

One option would be to use extra puppeteer to get around the new challenge
A exemple u can see here https://github.com/JimmyLaurent/cloudflare-scraper

Expected behavior

write here

Code to reproduce

const hooman = require('hooman');

(async () => {
  try {
    const response = await hooman.get('https://sayem.eu.org');
    console.log(response.body);
    //=> '<!doctype html> ...'
  } catch (error) {
    console.log(error.response.body);
    //=> 'Internal server error ...'
  }
})();

but also tried with captcha

Checklist

  • I have tried my code with the latest version of Node.js and hooman.
@sayem314 sayem314 added bug Something isn't working enhancement New feature or request labels Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants