Re: [PEPr] +1 for Networking::Net_Nmap

From: Date: Wed, 19 Mar 2008 14:22:37 +0000
Subject: Re: [PEPr] +1 for Networking::Net_Nmap
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-49465@lists.php.net to get a copy of this message
> - I don't understand why $host->os() is a function while $host->status is > not. That should be consistent. (or rename os() to getOs()). > > - $services->count() - if you already have an arrayiterator, you can use > count($services) directly. Same for rewind() in the examples. > > - You should use System::which() to find the nmap binary instead of > hardcoding the path into the class. > > - In Parser.php you should add a link to the nmap xml format docs > > - The parser (and the other classes, too) should definitely be unit-tested > > - You cannot set delete_output_file via the options > > - The package does not work on windows (XML Parser error, no temp file > generated) (yes, there is a windows version of nmap) > Hi Christian, thanks for your comments, I'll take a look and test it on windows ;-)

« previous php.pear.dev (#49465) next »