laxity7/ddos-guard-bypass

v1.0.0 2024-07-21 20:25 UTC

This package is auto-updated.

Last update: 2024-12-21 21:31:34 UTC


README

This PHP package provides functionality for sending HTTP requests to servers protected by DDos-Guard.net. The package allows bypassing DDos-Guard protection and accessing the necessary resources.

License Latest Stable Version Total Downloads

Features:

  • Sending GET, POST and other requests to protected servers
  • Bypassing DDos-Guard protection mechanisms only for legitimate requests
  • Support for working with cookies and sessions

Note: This package does not allow DDoS attacks on the service, but allows you to send requests with a 2-second wait and receive legitimate data.

Install

Install via composer

composer require laxity7/ddos-guard-bypass

How to use

require 'vendor/autoload.php';

use Laxity7\DdosGuardBypass\DdosGuardBypass;
use Laxity7\DdosGuardBypass\BypassConfig;

$config = new BypassConfig();
$config->cookiesFile = __DIR__ . '/cookies.json';
$config->headers = ['Authorization' => 'Bearer secret-token'];

$client = new DdosGuardBypass($config);
$result = $client->get('https://example.com/protected-resource');

if ($result->isSuccess()) {
    echo $result->getResponse()->getBody()->getContents();
}

License

This project is distributed under the MIT license.