nmap tools update
December 22nd, 2008 Posted in Computers, Software, UnspecificI updated nmap-wrapper again, the pid file now works the way it is supposed to. There is a slight issue because of the way perl spawns a child process when using backticks, but it does what I needed. I also update nmap-search to work with the new output being used and fixed a couple of small issues. I don’t use it much, I do more with nmap-diff, and that will have updates very soon as well.
I also added in a blacklist feature on nmap-wrapper. The default location is /usr/local/etc/nmap/blacklist, and can be specified on the command line with -b. If it is there it uses it. It won’t error out if it does not exist, so get it right. Basically it is a file with 1 IP per line and if an IP appears in that file it will not be scanned by nmap-wrapper.
I wrote a small PHP script to use the pid file from wrapper to be able to stop a specific scan or all the scans. I used php because… ummm… I don’t remember why I used php. I’ll post it soon. I want to clean it up first.