nmap_scanner or Nmap::Scanner (same animal) is also available with more details than CPAN offers at SourceForge http://nmap-scanner.sourceforge.net/. It has loads of subspaces including Nmap::Scanner::Port if you want to focus on port and state. Nmap::Scanner::Host can get the ip port info you require. Check the documentation link from the above sourceforge page - you may need to use multiple subspaces of nmap_scanner but it really does have what you need in there! If you need coding help, please show us in code terms where you are with this so we know what the coding problems you are having are - even pseudocode is better than nocode!
| [reply] |