Jump to content

CloudFlare Automatic DDoS Protection Api 1.0.0

$15.00
   (0 reviews)

1 Screenshot

  • 6.1k
  • 8
  • 1.44 kB
  • Update details
    v1.0.0
    Released
    Download size1.44 kB
    Total versions1
    Freshness 957 days ago

depends on

Required files or plugins needed for this resource to work properly.

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

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
155k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.