as seen in Nmap Network Scanning
the new Nmap book by Fyodor at Insecure.org.
These tools are designed to work all together. The way we use these tools is using nmap-wrapper to scan IPs, nmap-diff then generated reports on the new ports opened. We can then use nmap-search to search the logs, and nmap report can be used to generat lists of hosts with a specific port open, or groups of hosts with a port or all ports, which then can be piped into other tools, such as http-scan, portscan, or any one of the other tools.
nmap-search - search through grepable output, easily
Basically, this will allow you to search through a nmap -oG (grepable) file to look for specific things and reformat it for you. Allows for seachinf for specific OSs, open or closed ports, etc...nmap-report - Generate a list of IPs from your run of nmap
Specifying a specific port and or day, generate a report of the hosts or hosts and ports of open. The ouput can be piped into the vulnerability scanner below.nmap-diff - Diff on 2 days of nmap runs
cronned to run daily, the nmap-wrapper will generate files daily. This script will generate reports on changes.nmap-wrapper - nmap lots of hosts quickly.
This wrapper will run 1 nmap scan for each IP in a range, as specified via the command line or from a file. Use the tools above to find the resolts you need.
LicensingThese products are released under the following License.
Copyright (c) 2001-2002, MadHat (firstname.lastname@example.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of MadHat Productions nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.