Giter VIP home page Giter VIP logo

nmap-bootstrap-xsl's Introduction

nmap-bootstrap-xsl

An Nmap XSL implementation with Bootstrap.
Allows Nmap XML port scan results to be converted into beautiful HTML reports.

> Demo HTML Report <



Buy Me A Coffee

๐Ÿ”ฅ Features

  • Bootstrap Datatable filters and search bars
  • Export functionality like Copy, CSV, Excel and PDF
  • Automatic classification of web network services to a separate audit space with clickable HTTP/HTTPS URLs
  • Nmap CLI flag explanation via https://explainshell.com
  • Dynamic keyword highlighting via JS (e.g. keywords like password, login, insecure)
  • Quick glance at HTTP titles and SSL certificate information (CN, Expiry etc.)
  • Hostname and IP address listing of scan targets
  • Indication for encrypted network services (plaintext vs. SSL/STARTTLS)
  • Links to 3rd party services such as a CVE database by Pentest Factory, an SSL scan service by Qualys and an HTTP security header scan service by securityheaders.com

โœจ Requirements

  • xsltproc โ€” command line xslt processor
sudo apt install xsltproc

๐ŸŽ“ Usage

Converting Nmap XML

You can convert an already existing Nmap XML file into a nicely formatted HTML report by executing the following commands:

# download the nmap bootstrap xsl
wget https://raw.githubusercontent.com/Haxxnet/nmap-bootstrap-xsl/main/nmap-bootstrap.xsl

# convert your nmap xml file into html
xsltproc -o report.html nmap-bootstrap.xsl <nmap.xml>

The resulting Nmap HTML report report.html can be directly opened with any web browser of your choice.

Applying XSL in advance

If you have not yet started your Nmap port scan, you can also apply the bootstrap XSL in your Nmap CLI command as follows:

nmap -sS -Pn --stylesheet https://raw.githubusercontent.com/Haxxnet/nmap-bootstrap-xsl/main/nmap-bootstrap.xsl scanme.nmap.org

The resulting Nmap XML file can be directly opened with a supported web browser. The bootstrap XSL will already be applied.

Note: Nonetheless, it is recommended to convert the XML file into an HTML report. This ensures that the final Nmap bootstrap report is supported by all web browsers and that clients, to which you'll hopefully send your port scanning results, can easily categorize and open the file with the default OS application - a web browser.

๐Ÿ’Ž Acknowledgment & Credits

Many thanks to the following individuals:

nmap-bootstrap-xsl's People

Contributors

l4rm4nd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nmap-bootstrap-xsl's Issues

Fix host address sorting (put .2 above .11)

First, this is an awesome project, so many <3s. That said, there is an issue with host IP sorting. I am happy to do some of the lifting here, but definitely need to make Host - Address sorts go in proper order (.x.2 should be above .x.11, .2.x should be above .11.x, etc.). I'll start poking, but if you can give me a pointer of where to look that would be awesome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.