Jump to content

CloudFlare Automatic DDoS Protection Api 1.0.0

$15.00
   (0 reviews)

1 Screenshot

  • 2.3k
  • 6
  • 1.44 kB
 Share

About CloudFlare Automatic DDoS Protection Api

What's The CloudFlare Automatic DDoS Protection Api;
-This is a php library and Its purpose is to detect incoming requests to your site and decide whether it is a ddos attack or not, If this is a ddos attack, it will connect to your cloudflare API and activate the UnderAttack mode of your site.

Example Using

<?php
include 'UnderAttack.php';
$underattack = new UnderAttack();
$underattack->setRequestFile('requests.json'); // Set your request log location.
$underattack->setModeFile('mode.json');  // Set your mode log location.
$underattack->setSeconds(5); // If there are as many requests as you enter within the second you enter, it will keep the underattack mode on for the second you enter.
$underattack->setRequests(40); // If there are as many requests as you enter within the second you enter, it will keep the underattack mode on for the second you enter.
$underattack->setHoldTime(600); // It will keep the UnderAttack Mode on for as long as you enter it.
$underattack->setCloudflareApiKey('Your CloudFlare Api Key'); // Your CloudFlare Api Key https://dash.cloudflare.com/profile/api-tokens
$underattack->setCloudflareEmail('Your CloudFlare Email Address'); // Your CloudFlare Email Address.
$underattack->setCloudflareZoneid('Your App Zone id'); // Your CloudFlare App zone id.
$underattack->SetIpDriver('REMOTE_ADDR'); // Ip Get Driver.
$underattack->run();

 

Screenshot_1.png

Screenshot_2.png


User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.6k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.