https://github.com/firefart/massnmap
Scans an internal network using massscan and nmap
https://github.com/firefart/massnmap
massscan nmap scan security
Last synced: about 1 year ago
JSON representation
Scans an internal network using massscan and nmap
- Host: GitHub
- URL: https://github.com/firefart/massnmap
- Owner: firefart
- License: mit
- Created: 2017-11-03T09:30:00.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T10:30:31.000Z (over 2 years ago)
- Last Synced: 2025-02-03T22:28:14.996Z (over 1 year ago)
- Topics: massscan, nmap, scan, security
- Language: Python
- Homepage:
- Size: 539 KB
- Stars: 20
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MASSNMAP
This little script gets all DNS A records for a given zone via zone transfer (your machine must be allowed for it),
gathers open ports via massscan and then fires up single nmap scans for version detection and scripts of the single hosts.
The ports to scan are determined via the nmap-services file.
The output is saved in various files and all NMAP xml outputs are stored in the results folder for further processing.
To configure the scan modify the provided `scan.cfg.example` and pass it via the `-c parameter`
## Requirements
- Python3
- massscan
- nmap
## Sample
```
./run.py -c scan.cfg
```
## Running as a service
```
sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip $(which nmap)
sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip $(which masscan)
```