<!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>在线PHP数据包发送_post </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> (请不要随发送数据包攻击,避免数据堵塞导致死机)<br><br>
<form name="input" action="show.php" method="post">
目标域名:
<input type="text" name="http" size="15" maxlength="15" class="main" value = "baidu.com" onblur = "if ( this.value=='' ) this.value = 'baidu.com';" onfocus = " if ( this.value == 'baidu.com' ) this.value = '';">
<br><br>
<input type="submit" value="开始攻击">
<br><br>
<center>
如果正在发送中,请等待页面加载完成...
</center>
</form>
</center>
<!-- PHP DOS, coded by Scratch Linux -->
</body>
</html>
<?php
// Get users input from the form and display it
echo '<div>Hello <b>'.$_POST['http'].'</b></div>';
// $_POST - This means it comes from a post method from a form
// myName is the name of the field that we want to retrieve from the form
?>