Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Port Scanner
#1
udah lama gk buat Thread.. maklum sibuk ma kuliah.. Sedih

kali ini aku mau share script yang aku buat..
Port Scanner By CompLann.. Bigsmile

Tols PHP pertama yg aku buat,, maklum baru belajar PHP nih.. Ngakak
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.. Malu
smoga berguna wat semuanya..
dedikasi for hacker-newbie .. Bigsmile
My Mind
Reply


Messages In This Thread
PHP Port Scanner - by compLann - 11-27-2010, 06:35 PM
RE: PHP Port Scanner - by Up_ - 11-27-2010, 07:05 PM
RE: PHP Port Scanner - by compLann - 11-27-2010, 07:11 PM
RE: PHP Port Scanner - by Dika_xb - 11-27-2010, 07:27 PM
RE: PHP Port Scanner - by coe88 - 11-27-2010, 08:11 PM
RE: PHP Port Scanner - by 1k1k.kiddiez - 12-06-2010, 09:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [php]sqli dork scanner :p RieqyNS13 24 717 01-05-2014, 02:11 AM
Last Post: AntSoldier
  [php]com_user vulnerability scanner RieqyNS13 2 138 09-29-2013, 07:13 PM
Last Post: dbs
  (script)Bing subdomain scanner RieqyNS13 8 157 08-08-2013, 01:29 AM
Last Post: arDhi^_
  ask open port redhat, centos, debian and etc berybadjingan 3 56 04-27-2012, 08:47 PM
Last Post: berybadjingan
  [PHP] IP, Port, Host and Cookies Logger Alecs 18 393 08-23-2010, 02:27 AM
Last Post: Alecs

Forum Jump:


Users browsing this thread: 1 Guest(s)