Rabu, 18 Januari 2012

PHP port Scanner

PHP port Scanner....

=========***********===========
<html>
<
head><title>Port Scanner By compLann</title>
<
link rel="shortcut icon" href="http://hacker-newbie.org/favicon.ico">
<
style type="text/css">
<!--
color:red;text-decoration:none; }a:active color:red; }a:link color:red; }a:hover text-decoration:underline; }a:visited color:red; }
-->
</
style>
</
head>
<
body bgcolor="black"><div align="center"><font color="#00FF00">
<
h1>Your IP is:<br><font color='lightblue'><?php echo $_SERVER['REMOTE_ADDR'];?></font></h1>
<form action="" method="post">
<h2>Enter Ip/Web Address to check: <h2><input type="text" name="ip" value="" size="30"/>
<h2>Beginning port: <h2><input type="text" name="start" size="20"/><br>
<h2>Ending port: <h2><input type="text" name="end" size="20"/><br><br>
<input type="submit" value="check hole"/><br>
-------------------------------<a href="http://hacker-newbie.org/">Hacker-Newbie</a>-------------------------------
</form><br><br>

<?php
$ip
=$_POST["ip"];$start=$_POST["start"];$end $_POST["end"];
for(
$i=$start;$i<$end;$i++) {$fp = @fsockopen($ip,$i,$errno,$errstr,10);
if(
$fp)
{
echo 
'</br>port <font color="red">' $i '</font> open on <font color="red"><a target="_blank" href="http://'.$ip.'">' $ip '</a></font>';fclose($fp);
}
flush();
}
?></font>
</div>
</body>
</html> 

=============***********=============




sumber : Hacker-Newbie

PHP port Scanner Rating: 4.5 Diposkan Oleh: r007-

0 komentar:

Posting Komentar