Skip to content

Commit

Permalink
docs for new output formats
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Mar 31, 2022
1 parent 98b4698 commit 87175ab
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ smap -iL targets.txt
1.1.1.1 // IPv4 address
example.com // hostname
178.23.56.0/8 // CIDR
1.1.1.12-87 // Range
```

### Output
Expand All @@ -69,12 +68,16 @@ If you want to print the output to terminal, use hyphen (`-`) as filename.

**Supported formats**
```
oX // xml
oG // greppable format
oN // nmap format
oA // output in all 3 formats at once
oX // nmap's xml format
oG // nmap's greppable format
oN // nmap's default format
oA // output in all 3 formats above at once
oP // IP:PORT pairs seperated by newlines
oS // custom smap format
```

> Note: Since Nmap doesn't scan/display vulnerabilities and tags, that data is not available in nmap's formats. Use `-oS` to view that info.
### Specifying ports
SMap scans these [1237 ports](https://api.shodan.io/shodan/ports) by default. If you want to display results for certain ports, use the `-p` option.

Expand Down

0 comments on commit 87175ab

Please sign in to comment.