Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enenumxela/nmap-xml-utilities
Utilities to process nmap XML output.
https://github.com/enenumxela/nmap-xml-utilities
nmap nmap-xml nmap-xml-parse nmap-xml-parser
Last synced: about 2 months ago
JSON representation
Utilities to process nmap XML output.
- Host: GitHub
- URL: https://github.com/enenumxela/nmap-xml-utilities
- Owner: enenumxela
- Created: 2022-04-10T00:54:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T15:22:37.000Z (10 months ago)
- Last Synced: 2024-05-02T03:11:55.195Z (8 months ago)
- Topics: nmap, nmap-xml, nmap-xml-parse, nmap-xml-parser
- Language: Python
- Homepage: https://github.com/enenumxela/nmap-xml-utilities
- Size: 9.77 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-utilities
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-utilities/main/merge-nmap-xml.py)
Merge Multiple nmap xml output files into a single xml file.
#### Installation
```bash
curl -sL https://raw.githubusercontent.com/enenumxela/nmap-xml-utilities/main/merge-nmap-xml.py > ~/.local/bin/merge-nmap-xml.py && chmod u+x ~/.local/bin/merge-nmap-xml.py
```#### Uage
```bash
merge-nmap-xml.py -h
``````text
usage: merge-nmap-xml [-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-utilities/main/parse-nmap-xml.py)
Parse nmap xml output file to extract bits of information.
#### Installation
```bash
curl -sL https://raw.githubusercontent.com/enenumxela/nmap-xml-utilities/main/parse-nmap-xml.py > ~/.local/bin/parse-nmap-xml.py && chmod u+x ~/.local/bin/parse-nmap-xml.py
```#### Uage
```bash
parse-nmap-xml.py -h
``````text
usage: parse-nmap-xml [-h] [-ips] [-ports] [-service SERVICE] [-service-prefix PREFIX] [-separator SEPARATOR] FILEpositional arguments:
FILE Nmap XML output fileoptional 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
```