Home » Networking » Net_Portscan » Bug #2209
Portscan limit
Details
| Request #2209 | Portscan limit |
|---|---|
| Submitted | 2004-08-24 20:04 UTC |
| From | joel at preacherboy dot net |
| Status | Closed |
| Package | Net_Portscan |
| PHP Version | 5.0.0 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2004-08-24 20:04 UTC] joel at preacherboy dot net
Description:
------------
After customizing the 01-portscan.php example and trying to figure out why setting a scan from ports 1 to 80 returned nothing, I finally determined that Net_Portscan was either timing out or limiting the number of ports that could be scanned.
I found the timeout in each function of Portscan.php. I changed the timeout from 30 to 300. I tested my script and had the same length of what seemed to be a timeout. I did some more searching and found the culprit in php.ini. After changing the timeout in PHP.ini to 300 and restarting the ISAPI library, everything worked great.
Would it hurt to mention this in Portscan.php? I know it might be pretty obvious for some, but it could be discouraging for others.
[2004-08-25 20:30 UTC] joel at preacherboy dot net
Thank you.
[2004-09-10 17:17 UTC] joel at preacherboy dot net
The note looks great. Good work.