I wrote this little NSE script that allows you to store the output of Nmap into a SQLite database: https://github.com/exitnode/nmap-sqlite-output<br />
This might come in handy when performing large inventory scans. The SQLite database can be queried and sorted easily or exported as a CSV file. This way you can, for example, easily generate tables for your assessment report.
$ nmap -sS -A -F --script sqlite-output scanme.nmap.org<br /> [...]<br /> $ sqlite3 scan.sqlite<br /> [...]<br /> sqlite> select * from scandata;<br /> scanme.nmap.org|188.8.131.52|22|tcp|ssh|open|OpenSSH5.3p1 Debian 3ubuntu7.1<br /> scanme.nmap.org|184.108.40.206|80|tcp|http|open|Apache httpd2.2.14