Nmass is a python3 library that makes it easier for developers to use nmap and masscan. It translates many and complex arguments into idiomatic methods and wraps the scan results in well-defined pydantic models.
Docs: https://zrquan.github.io/nmass/
- Supports all scanning options for both nmap and masscan.
- Supports async execution.
- Complete documentation of each option.
- Convert nmap and masscan scan results into Pydantic Models.
- Convert results to JSON, CSV and HTML.
- Helpful enums and data classes. (timing templates, TCP flags, version info, etc)
- Ullaakut/nmap - Provided design inspiration.
- savon-noir/python-libnmap - Provided test data.