https://github.com/echo-devim/nmap-inventory
Nmap network inventory with excel report
https://github.com/echo-devim/nmap-inventory
excel it-management network-inventory nmap nmap-report security
Last synced: 3 months ago
JSON representation
Nmap network inventory with excel report
- Host: GitHub
- URL: https://github.com/echo-devim/nmap-inventory
- Owner: echo-devim
- License: mit
- Created: 2025-01-15T09:00:50.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T13:38:39.000Z (5 months ago)
- Last Synced: 2025-01-22T14:30:54.521Z (5 months ago)
- Topics: excel, it-management, network-inventory, nmap, nmap-report, security
- Language: Lua
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NMAP Network Inventory
Nmap is a great open-source tool to perform a network inventory, it lacks only a user-friendly scan report.
This repo contains a simple script to convert the xml report produced by nmap into the more readable format xlsx (Excel).
I developed also a custom NSE script called `default-creds.nse` to test specific default credentials based on operating system type for the following protocols: ssh, smb, telnet and ftp. The goal is to perform a non-invasive test (just one or two attempts in order to not trigger alarms).## Example Usage
1. Run nmap:
```sh
$ sudo nmap -sV --script=http-title --script=banner --system-dns -vv --script=smb-os-discovery --script=rdp-ntlm-info --script=./default-creds.nse --script-args default-creds.csv=./default_creds.csv -O --osscan-limit --max-os-tries 2 --scan-delay 100ms --max-scan-delay 300ms 10.20.30.0/24 20.30.40.0/24 -oX /tmp/scan.xml
```2. Run this tool:
```sh
$ python3 nmapreport.py /tmp/scan.xml out.xlsx
```you'll get a excel file with a summary, worksheet for each subnet, any info about hosts and services, discovered credentials, domains, etc.