Thread

Posted on Thu Jun 16 19:49:57 2005 by apersaud
Nmap2SQLite Security Script - Beta Version
It takes in a nmap xml file and stores it into a SQLite database using DBI for searching, storing and better reporting. This is just an example of how an IP network database can be created using Nmap-Parser and automation. This is the 'beta' version of the script for anyone who is interested.

The script can be found here: nmap2sqlite.pl

Usage: nmap2sqlite.pl nmap_scan_results.xml


The table will store the IP, MAC, STATUS, HOSTNAME, OPEN PORTS, FILTERED PORTS, OS FAMILY, OS GEN and LAST TIME SCANNED.
Direct Responses: 1424 | Write a response
Posted on Wed Nov 30 18:11:01 2005 by pbw in response to 628
Re: Nmap2SQLite Security Script - Beta Version
Hello, The link to your example script doesn't work. Have you done any more work inserting nmap XML output into databases? Thanks, pbw
Direct Responses: 1426 | Write a response
Posted on Wed Nov 30 20:37:26 2005 by apersaud in response to 1424
Re: Nmap2SQLite Security Script - Beta Version
Yes, the example script that comes with the module should be fully functional. It uses SQLite as the database backend (of course using DBI). Let me know if that helps, because I'm pretty sure it should be working. Otherwise let me know, and I'll take a look at it.

http://search.cpan.org/~apersaud/Nmap-Parser-1.05/tools/nmap2sqlite.pl

Thanks,

Anthony Persaud
Write a response