Script reverse-index

Script types:
Categories: safe
Download: https://svn.nmap.org/nmap/scripts/reverse-index.nse

Script Summary

Creates a reverse index at the end of scan output showing which hosts run a particular service. This is in addition to Nmap's normal output listing the services on each host.

Script Arguments

reverse-index.mode

the output display mode, can be either horizontal or vertical (default: horizontal)

reverse-index.names

If set, index results by service name instead of port number. Unknown services will be listed by port number.

Example Usage

nmap --script reverse-index <hosts/networks>

Script Output

Post-scan script results:
| reverse-index:
|   22/tcp: 192.168.0.60
|   23/tcp: 192.168.0.100
|   80/tcp: 192.168.0.70
|   445/tcp: 192.168.0.1
|   53/udp: 192.168.0.1, 192.168.0.60, 192.168.0.70, 192.168.0.105
|_  5353/udp: 192.168.0.1, 192.168.0.60, 192.168.0.70, 192.168.0.105

Requires


Author:

  • Patrik Karlsson

License: Same as Nmap--See https://nmap.org/book/man-legal.html