https://github.com/enenumxela/nmap-xml-utils
Utilities to process nmap XML output.
https://github.com/enenumxela/nmap-xml-utils
nmap nmap-xml nmap-xml-parse nmap-xml-parser
Last synced: 7 months ago
JSON representation
Utilities to process nmap XML output.
- Host: GitHub
- URL: https://github.com/enenumxela/nmap-xml-utils
- Owner: enenumxela
- Created: 2022-04-10T00:54:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-25T19:07:09.000Z (about 1 year ago)
- Last Synced: 2025-06-26T02:11:30.197Z (11 months ago)
- Topics: nmap, nmap-xml, nmap-xml-parse, nmap-xml-parser
- Language: Python
- Homepage: https://github.com/enenumxela/nmap-xml-utils.git
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# nmap-xml-utils
Utilities to process nmap XML output.
## Scripts
* [Merge nmap xml files](#merge-nmap-xml-files)
* [Parse nmap xml file](#parse-nmap-xml-file)
### [Merge nmap xml files](https://raw.githubusercontent.com/enenumxela/nmap-xml-utils/main/nmap-xml-merge.py)
Merge Multiple nmap xml output files into a single xml file.
#### Installation
```bash
curl -sL https://raw.githubusercontent.com/enenumxela/nmap-xml-utils/main/nmap-xml-merge.py > ~/.local/bin/nmap-xml-merge.py && chmod u+x ~/.local/bin/nmap-xml-merge.py
```
#### Uage
```bash
nmap-xml-merge.py -h
```
```text
usage: nmap-xml-merge [-h] [-f FILE] [-d DIR] [-q]
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE parse FILE
-d DIR, --dir DIR Parse all xml in directory
-q, --quiet don't print status messages to stdout
```
### [Parse nmap xml file](https://raw.githubusercontent.com/enenumxela/nmap-xml-utils/main/nmap-xml-parse.py)
Parse nmap xml output file to extract bits of information.
#### Installation
```bash
curl -sL https://raw.githubusercontent.com/enenumxela/nmap-xml-utils/main/nmap-xml-parse.py > ~/.local/bin/nmap-xml-parse.py && chmod u+x ~/.local/bin/nmap-xml-parse.py
```
#### Uage
```bash
nmap-xml-parse.py -h
```
```text
usage: nmap-xml-parse [-h] [-ips] [-ports] [-service SERVICE] [-service-prefix PREFIX] [-separator SEPARATOR] FILE
positional arguments:
FILE Nmap XML output file
optional arguments:
-h, --help show this help message and exit
-ips list of live ipv4s
-ports list open ports
-service SERVICE service to filter by
-service-prefix PREFIX
service prefix to filter by
-separator SEPARATOR output separator
```