PHP Port Scanner
Oleh Christian Ditaputratama pada : Webmaster // 10 Juli 2011

Program Name : Class PHP Port Scan CR7
Program Language : PHP
Author : Christian Ditaputratama
License : Open Source, FREE for FREEDOM under GNU GPL License.
Concept : Web based scanning tools for single or multiple OPEN or CLOSED port to target host.
Disclaimer : This script are often used solely for informative, educational purposes only. Author cannot be held responsible for any damage and (or) (ab)use of these script.
Please submit changes of the script so other people can use them as well. This script is free to use, don’t abuse.
Link Article : http://ditatompel.crayoncreative.net/blog/programming/php/class-php-port-scan-cr7/
Download Script : http://unika.suck.ditatompel.crayoncreative.net/scripts/php/class-php-port-scan-cr7-1.0.zip
<?php
require ('class.portscan.php');
$scan=new crPortScan;
$scan->port = 21;
$scan->host = "second-heartbeat";
/**
* for single scan
*
* Required : port, host
*/
echo "Single scan example :
";
$scan->single_scan();
echo $scan->scan_result;
/**
* For multiple scan
*
* Required : port_list, host
*/
echo "
Multiple port scan example:
";
$scan->port_list = "portscan-list.txt";
$scan->full_scan();
print "Total available data on portlist : " . sizeof($scan->full_scan_result)."
";
for($i=0; $ifull_scan_result); $i++) {
echo $scan->full_scan_result[$i];
}
?>
About the Author:
Apa yang ingin anda lakukan sekarang?
Karena anda sudah mencapai akhir halaman posting ini, mungkin anda tertarik untuk melakukan sharing artikel di atas melalui Twitter / Facebook kepada teman-teman anda.







