PX : code

PHP port scanner by Thiebaut
Download this code




The port scanner goes in 5 lines code that is: 
for($port = $from; $port <= $to; $port++) 

$fp = fsockopen("$host", $port); 
if ($fp) 

print("port $port opened \r"); 
fclose($fp);
}


You can find all the code at http://persoweb.francenet.fr/~tbilger/linux/

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.