Skip to content

Commit

Permalink
Merge pull request honze-net#3 from Kan1shka9/master
Browse files Browse the repository at this point in the history
formatted the README
  • Loading branch information
honze-net authored Sep 10, 2018
2 parents 0f45c1b + c8c00bc commit 670461e
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions README.md
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

![scanme screenshot 1](https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/scanme-screenshot1.png)

![scanme screenshot 2](https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/scanme-screenshot2.png)
![scanme screenshot 2](https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/scanme-screenshot3.png)

![scanme screenshot 2](https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/scanme-screenshot3.png)

## Demos

![HackTheBox - Poison on YouTube](https://www.youtube.com/watch?v=rs4zEwONzzk)
- [`HackTheBox - Poison on YouTube`](https://www.youtube.com/watch?v=rs4zEwONzzk&t=56s)

0 comments on commit 670461e

Please sign in to comment.