ddos-guard-bypass

1.0.7 • Public • Published

ddos-guard-bypass

Bypass DDOS Guard's scraper sheild with Node, mainly to go hand-in-hand with HTTP request package got.

usage

const ddos = require("ddos-guard-bypass");
const got = require("got");

ddos.bypass("https://ddos-guard-protected-site.com", function(err, resp) {
  if (err) {
    console.log("error getting cookies", err);
  } else {
    console.log("testing request cookies...");
    got("https://ddos-guard-protected-site.com", {
      headers: {
        "user-agent": resp["headers"]["user-agent"],
        "referer": resp["headers"]["referer"],
        "cookie": resp["cookies"]["string"]
      }
    }).then(function(resp) {
      console.log("got response code", resp.statusCode);
    });
  }
});

not working?

Submit an issue with the URL you are requesting or a pull request to help contribute!

Package Sidebar

Install

npm i ddos-guard-bypass

Weekly Downloads

1

Version

1.0.7

License

UNLICENSED

Unpacked Size

5.52 kB

Total Files

4

Last publish

Collaborators

  • tacohitbox