forked from honze-net/nmap-bootstrap-xsl
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request honze-net#3 from Kan1shka9/master
formatted the README
- Loading branch information
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
# nmap-bootstrap-xsl | ||
|
||
A Nmap XSL implementation with Bootstrap. | ||
|
||
## How to use | ||
Add the nmap-bootstrap.xsl as stylesheet to your Nmap scan. For example: `nmap -sS -T4 -A -sC -oA scanme --stylesheet https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl scanme.nmap.org scanme2.nmap.org` | ||
Open the scanme.xml with your Webbrowser. It should look like the [scanme.html sample report](http://htmlpreview.github.io/?https://github.com/honze-net/nmap-bootstrap-xsl/blob/master/scanme.html). | ||
Alternatively you can transform the xml to html with `xsltproc -o scanme.html nmap-bootstrap.xsl scanme.xml`. You will need to download the nmap-bootstrap.xsl beforehand. | ||
## Old scans | ||
You can also format old scans with the xsl stylesheet. Insert | ||
```<?xml-stylesheet href="https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl" type="text/xsl"?>``` | ||
after `<!DOCTYPE nmaprun>`. | ||
|
||
- Add the `nmap-bootstrap.xsl` as stylesheet to your Nmap scan. | ||
- Example: | ||
|
||
```sh | ||
nmap -sS -T4 -A -sC -oA scanme --stylesheet https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl scanme.nmap.org scanme2.nmap.org | ||
``` | ||
|
||
- Open the scanme.xml with your Web browser. It should look like the [`scanme.html sample report`](http://htmlpreview.github.io/?https://github.com/honze-net/nmap-bootstrap-xsl/blob/master/scanme.html). | ||
- Alternatively you can transform the xml to html with | ||
|
||
```sh | ||
xsltproc -o scanme.html nmap-bootstrap.xsl scanme.xml | ||
``` | ||
|
||
- You will need to download the nmap-bootstrap.xsl beforehand. | ||
|
||
## Old scans | ||
|
||
- You can also format old scans with the xsl stylesheet. | ||
- Insert `<?xml-stylesheet href="https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl" type="text/xsl"?>` after `<!DOCTYPE nmaprun>`. | ||
|
||
## Screenshots | ||
|
||
 | ||
|
||
 | ||
 | ||
|
||
 | ||
|
||
## Demos | ||
|
||
 | ||
- [`HackTheBox - Poison on YouTube`](https://www.youtube.com/watch?v=rs4zEwONzzk&t=56s) |