![]() |
|
PHP Port Scanner - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html) +---- Thread: PHP Port Scanner (/thread-5705.html) |
PHP Port Scanner - compLann - 11-27-2010 udah lama gk buat Thread.. maklum sibuk ma kuliah.. ![]() kali ini aku mau share script yang aku buat.. Port Scanner By CompLann.. ![]() Tols PHP pertama yg aku buat,, maklum baru belajar PHP nih.. ![]() lanjut ajah nih scriptnya langsung kalian Upload aja di hostingan dengan Extensi php yoo bukan yg lain... PHP Code: <html>
<head><title>Port Scanner By compLann</title>
<link rel="shortcut icon" href="http://hacker-newbie.org/favicon.ico">
<style type="text/css">
<!--
a { 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>
untuk contoh jadinya kalian bisa liat DISINI jgn tertawa yh.. maklum ane baru bljar php.. ![]() smoga berguna wat semuanya.. dedikasi for hacker-newbie ..
RE: PHP Port Scanner - Up_ - 11-27-2010 keren om complan mahookerzz..!! gk perlu lagi pake port scanner di bot irc :) asik asik..!! RE: PHP Port Scanner - compLann - 11-27-2010 ![]() ![]() asyemmm lu... kgak pke mahok dahh... ![]() silahkan sob...
RE: PHP Port Scanner - Dika_xb - 11-27-2010 izin bookmark webnya
RE: PHP Port Scanner - coe88 - 11-27-2010 Langsung :TKP: ![]() Thank u sob. RE: PHP Port Scanner - 1k1k.kiddiez - 12-06-2010 saia coba kk :D |