Nmap/Regression testing

From SecWiki
Jump to: navigation, search

Sample report

Sample report (in an .eml file form) can be found here: https://svn.nmap.org/nmap-exp/d33tah/uploads/r33583-nmap-portscan-tests-sample-report.eml

Running nmap-portscan-tests

Tested on CentOS 7.

yum install gnuplot subversion gcc-c++ autoconf
svn co 'https://svn.nmap.org/nmap-exp/d33tah/nmap-portscan-tests'
cd nmap-portscan-tests

Now, edit tester.py, changing EMAIL_SENDER, EMAIL_TO, SMTP_SERVER, SMTP_PORT, SMTP_SSL and SMTP_TLS. Once you're done, just run:


The testing includes building nmap and scanning an external host, so time it takes to generate a report varies depending on the CPU and network speed. It takes a few minutes on my cable link under a VM.