Nmap Manager

The Nmap manager script is designed to automate scans in a distributed fashion across a number of remote scanners. The idea is that this way there is one central system doling out the scans and the sensors can be stupid devices that can be old PCs or decomissioned hardware.

The script will also pull the results back to the console and will retain them in a central location. Support has been written to output into XML and grepable formats.

I wrote this in shellscript because it is what I am most familiar with, however if someone is willing to write this in another language, I would be very appreciative if they would allow me to host that script as well.

Requirements

  • Nmap Installed on all sensors
  • nmap shell account on all scanners for which to run the scans
  • All scanners need to trust the management console via SSH.
  • RSA Tokens seem to be the best bet here

Bugs and Notes

  • You must match the timezones in the Database file with that mentioned in the script
  • Scans are currently serialized. Plans are underway to allow for all of the scans to kick off at the same time and wait for the process to terminate. This script is simply a first run of the code.