sayem314 / hooman

http interceptor to hoomanize cloudflare requests
https://www.npmjs.com/package/hooman
MIT License
148 stars 18 forks source link

Stopped bypass #11

Closed andress134 closed 4 years ago

andress134 commented 4 years ago

What would you like to discuss?

With new version my script stoped working, we need to update or any bug ? Just spamming console with html and get error Response code 403 (Forbidden)

here is my script

https://pastebin.com/raw/WAc5LLjS

Checklist

sayem314 commented 4 years ago

First init cookie with a sample request and then provide further requests.

andress134 commented 4 years ago

First init cookie with a sample request and then provide further requests.

I don't know what is wrong, hmm Also, about captcha, i see can't bypass

this is my code for bypass, i know all is good

get it but don't bypass

sayem314 commented 4 years ago

rucaptcha: true | false, // optional (default false) < remove this line

andress134 commented 4 years ago

rucaptcha: true | false, // optional (default false) < remove this line

same, just waiting 3 mins and nothing, just send me messages

sayem314 commented 4 years ago

Use it like this:

const hooman = require('hooman');

(async () => {
  try {
    const response = await hooman.get('https://exitus.xyz/'); // set cookie
    setInterval(() => {
      send_req();
    }, 1000);
  } catch (error) {
    console.log(error.response.body);
  }
})();
andress134 commented 4 years ago

Use it like this:

const hooman = require('hooman');

(async () => {
  try {
    const response = await hooman.get('https://exitus.xyz/'); // set cookie
    setInterval(() => {
      send_req();
    }, 1000);
  } catch (error) {
    console.log(error.response.body);
  }
})();

the uam work fine now without proxies, with proxies just get captcha error

about captcha, still can't bypass, with old verion tried on other server, is working but use to much $ balance, with new vers, just i'm waiting

also I really appreciate your work and your help, I would love to donate, but unfortunately I do not use paypal, if you add donations with bitcoin

andress134 commented 4 years ago

Have updated, the script send first 40 req and stop

sayem314 commented 4 years ago

I'm still working on it...

sayem314 commented 4 years ago

BTW thanks for considering a donation :) You can re-visit my donation page, added BTC. Thanks.

sayem314 commented 4 years ago

Pushed the latest commits. Can you please give it a try and let me know now?

andress134 commented 4 years ago

Pushed the latest commits. Can you please give it a try and let me know now?

still same for me, first requsts are sending, aftger 60 secounds send first request one time and stopped

i think some error on multi requests, can't send unlimited requests or idk

sayem314 commented 4 years ago

I believe something is wrong on your side. Please take a look at this stream, everything works as expected and I have nothing else to modify to make it better.

https://streamable.com/nab65a

sayem314 commented 4 years ago

Also, you are not supposed to make unlimited requests to a site, it's DDoS and hooman is not meant for that. Hooman exists for legal scraping reasons, you should only use it sanely. BTW when you make thousands of requests you should ensure that your system could handle that with regulars sites as well, making too much requests at a time would cause connection reset error if your system resource including network is not stable enough.

maximus99-art commented 4 years ago

Also, you are not supposed to make unlimited requests to a site, it's DDoS and hooman is not meant for that. Hooman exists for legal scraping reasons, you should only use it sanely. BTW when you make thousands of requests you should ensure that your system could handle that with regulars sites as well, making too much requests at a time would cause connection reset error if your system resource including network is not stable enough.

same problem for me, i get new version but stoped bypass using multi requests

for uam receive error: Response code 403 (Forbidden) and for captcha status 200

error: Client network socket disconnected before secure TLS connection was established

cloudflare use tls 1.2/1.3 to secure conexion About 'multi requests, want to use your script to generate fake traffic (view) (TE) on my website, and to vote, so my script select a proxy and conect to website solve captcha and click vote. So i can't use your script for it ? generating multi requests ?

sayem314 commented 4 years ago

@maximus99-art use node.js >=12. captcha bypass with multiple proxies might increase captcha triggering by a lot.

sayem314 commented 4 years ago

And btw if you click vote on your own sites, why so hurry? Why not vote one by one using await? Like this:

while (true) {
  await vote();
}
maximus99-art commented 4 years ago

And btw if you click vote on your own sites, why so hurry? Why not vote one by one using await? Like this:

while (true) {
  await vote();
}

it's about a contest that is updated every 1 hour until it reaches the finals, I have to get a lot of votes every one hour someone is eliminated until only 1 winner remains

now get this using http proxies

Response code 400 (Bad Request) Response code 503 (Service Unavailable) certificate has expired unable to verify the first certificate

sayem314 commented 4 years ago

hooman(url, { rejectUnauthorized: false })

maximus99-art commented 4 years ago

hooman(url, { rejectUnauthorized: false })

most cloudflare sites check via tls to be able to secure the connection

tried to edit my script like

hooman(vote, { captchaKey: 'captcha-key', rejectUnauthorized: false, APLNProtocols: ['http/1.1', 'http/1.0'], }) .then((res) => { }) .catch((err) => { console.log('error: ' + err.message); }); }; first bypass working fine, but next bypass stoped, or ask for tls to secure conexion, also spamming with html and get memory leak

`0: ExitFrame [pc: 0x13da519] Security context: 0x17746a880921 1: assign(aka assign) [0x17746a881249](this=0x26e0cfac04b9 ,0x13caba9b67f1 ,0x1d6018485bc9 ) 2: _makeRequest [0x1be705181e09] [/root/node_modules/got/dist/source/core/index.js:~846] [pc=0x323ece6225b9](this=0x1d6018485961 ) 3: / anonymous / [0x1d60184b9...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory `

idk why because my vps is good, 8 gb ram, 1 gbit conexion

sayem314 commented 4 years ago

Please use nodejs 12 or later, it uses tls 1.2 by default otherwise see here https://nodejs.org/api/cli.html#cli_tls_min_v1_2

  1. And how many requests are you making to the same domain at a time?
  2. Are you using proxy?
  3. How many proxies are you using? What do you mean by spamming HTML?
  4. Does got works with regular websites with same config?
maximus99-art commented 4 years ago

Im using nodejs v14.2 Tried with proxi and without, same If i put the console.log the script show me the html content of website on my console My script send 10 requests, (if im using proxies) he select 10 random http proxies and conect it, 'sleep for 30 sec' and send again 10 req Same config has working fine with old version of hooman only the script spam with captcha requests and consumes your entire balance

sayem314 commented 4 years ago

Are you using hooman v1.2.2? It works fine on my side. I cannot reproduce the issue. Can't help with multiple proxy + captcha. https://streamable.com/nab65a