File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ A tool that allows you to convert NMAP XML output to html/csv/json/markdown.
11
11
## Table of Contents
12
12
13
13
- [ NMAP-Formatter] ( #nmap-formatter )
14
- - [Table of Contents](#table-of-contents)
15
- - [Usage](#usage)
16
- - [Flags](#flags)
17
- - [Output Related Flags](#output-related-flags)
14
+ - [ Table of Contents] ( #table-of-contents )
15
+ - [ Usage] ( #usage )
16
+ - [ Flags] ( #flags )
17
+ - [ Output Related Flags] ( #output-related-flags )
18
18
- [Installation](#installation)
19
19
- [Using Go](#using-go)
20
- - [Download Binary](#download-binary)
21
- - [Compile](#compile)
22
- - [Example](#example)
20
+ - [Docker](#docker)
21
+ - [Download Binary](#download-binary)
22
+ - [Compile](#compile)
23
+ - [ Example] ( #example )
23
24
24
25
## Usage
25
26
@@ -118,12 +119,20 @@ nmap-formatter [nmap.xml] json | jq '.Host[]? | . as $host | .Ports?.Port[]? | s
118
119
go install github.com/vdjagilev/nmap-formatter@latest
119
120
```
120
121
122
+ ### Docker
123
+
124
+ No installation needed, just run ` docker run ` :
125
+
126
+ ```
127
+ docker run -v /path/to/xml/file.xml:/opt/file.xml ghcr.io/vdjagilev/nmap-formatter:latest /opt/file.xml json
128
+ ```
129
+
121
130
### Download Binary
122
131
123
132
Choose version from Release page and download it:
124
133
125
134
```
126
- curl https://github.com/vdjagilev/nmap-formatter/releases/download/v0.1 .0/nmap-formatter-linux-amd64.tar.gz --output nmap-formatter.tar.gz -L
135
+ curl https://github.com/vdjagilev/nmap-formatter/releases/download/v0.3 .0/nmap-formatter-linux-amd64.tar.gz --output nmap-formatter.tar.gz -L
127
136
tar -xzvf nmap-formatter.tar.gz
128
137
./nmap-formatter --help
129
138
```
You can’t perform that action at this time.
0 commit comments