File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
- # nmap-utils
1
+ # nmap-xml-utilities
2
2
3
- Scripts to process nmap results .
3
+ Utilities to process nmap XML output .
4
4
5
5
## Scripts
6
6
7
- * [ Merge nmap xml files] ( #merge-nmap-xml-filesmerge-nmap -xml )
8
- * [ Parse nmap xml file] ( #parse-nmap-xml-fileparse-nmap -xml )
7
+ * [ Merge nmap xml files] ( #merge-nmap-xml-filesnmap-merge -xml )
8
+ * [ Parse nmap xml file] ( #parse-nmap-xml-filenmap-parse -xml )
9
9
10
- ### [ Merge nmap xml files] ( ./merge- nmap-xml )
10
+ ### [ Merge nmap xml files] ( ./nmap-merge -xml )
11
11
12
12
Merge Multiple nmap xml output files into a single xml file.
13
13
14
14
``` bash
15
- merge- nmap-xml -h
15
+ nmap-merge -xml -h
16
16
```
17
17
18
18
``` text
19
- usage: merge- nmap-xml [-h] [-f FILE] [-d DIR] [-q]
19
+ usage: nmap-merge -xml [-h] [-f FILE] [-d DIR] [-q]
20
20
21
21
optional arguments:
22
22
-h, --help show this help message and exit
@@ -25,16 +25,16 @@ optional arguments:
25
25
-q, --quiet don't print status messages to stdout
26
26
```
27
27
28
- ### [ Parse nmap xml file] ( ./parse- nmap-xml )
28
+ ### [ Parse nmap xml file] ( ./nmap-parse -xml )
29
29
30
30
Parse nmap xml output file to extract bits of information.
31
31
32
32
``` bash
33
- parse- nmap-xml -h
33
+ nmap-parse -xml -h
34
34
```
35
35
36
36
``` text
37
- usage: parse- nmap-xml [-h] [-ips] [-ports] [-service SERVICE] [-service-prefix PREFIX] [-separator SEPARATOR] FILE
37
+ usage: nmap-parse -xml [-h] [-ips] [-ports] [-service SERVICE] [-service-prefix PREFIX] [-separator SEPARATOR] FILE
38
38
39
39
positional arguments:
40
40
FILE Nmap XML output file
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ def addHeader(f):
24
24
nMap_Header = '<?xml version="1.0" encoding="UTF-8"?>'
25
25
nMap_Header += '<!DOCTYPE nmaprun>'
26
26
nMap_Header += '<?xml-stylesheet href="file:///usr/share/nmap/nmap.xsl" type="text/xsl"?>'
27
- nMap_Header += '<!-- Nmap Merged with https://github.com/enenumxela /nmap-utils/blob/main/merge- nmap-xml -->'
28
- nMap_Header += '<nmaprun scanner="nmap" args="nmap -iL hostList.txt" start="1" startstr="https://github.com/enenumxela /nmap-utils/blob/main/merge- nmap-xml" version="7.70" xmloutputversion="1.04">'
27
+ nMap_Header += '<!-- Nmap Merged with https://github.com/hueristiq /nmap-utils/blob/main/nmap-merge -xml -->'
28
+ nMap_Header += '<nmaprun scanner="nmap" args="nmap -iL hostList.txt" start="1" startstr="https://github.com/hueristiq /nmap-utils/blob/main/nmap-merge -xml" version="7.70" xmloutputversion="1.04">'
29
29
nMap_Header += '<scaninfo type="syn" protocol="tcp" numservices="1" services="1"/>'
30
30
nMap_Header += '<verbose level="0"/>'
31
31
nMap_Header += '<debugging level="0"/>'
File renamed without changes.
You can’t perform that action at this time.
0 commit comments