Code Monkey home page Code Monkey logo

nmap-bootstrap-xsl's Introduction

nmap-bootstrap-xsl

Have a nice interface for checking the result of your Nmap scans. This software must not be used by military or secret service organisations.

How to use

1. New Nmap scan

  • Add the nmap-bootstrap.xsl as stylesheet to your Nmap scan with the --stylesheet argument :

    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
  • Direclty open the file scanme.xml with your web browser, it will be formatted correctly. It should look like the scanme.html sample report.

2. With a previously-run scan (with XML output)

If you have a nmap scan already run, with its output as XML, you can apply the formatting template to it.

You'll have 2 options :

  • convert this XML to a HTML file
  • keep the XML but apply the stylesheet to it

Build an HTML file for sharing

You have thus to transform the XML to HTML with the following command :

xsltproc -o scanme.html nmap-bootstrap.xsl scanme.xml

You will need to download the nmap-bootstrap.xslstylesheet beforehand.

Add the stylesheet to the XML file

Insert

<?xml-stylesheet href="https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl" type="text/xsl"?>

after <!DOCTYPE nmaprun> inside the XML file.

Screenshots

Scan report

scanme screenshot 1

Detailed overview

scanme screenshot 2

Summary table

scanme screenshot 2

Demos

nmap-bootstrap-xsl's People

Contributors

0xairhead avatar 3isenheim avatar anthirian avatar honze-net avatar sven-ernw avatar svento avatar yoke88 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

nmap-bootstrap-xsl's Issues

Modify pagination to show all elements of a table

Hi,
Thanks for this, I'm using it as part of my https://github.com/3isenHeiM/MassVulScan project ! ;)

Just a question : is it possible to modify the pagniation to have like Show 10,25,100,All entries ?
I'd find it nice to be able to disable the pagination and display everything on a single page.

By searching a bit, this is set by the jquery.dataTables.min.js here :

aLengthMenu: [10, 25, 50, 100],

Given the documentation here, we should be able to mention the All.
However, since this file is CDN-hosted I don't know how/where I've to put the modification.

I hope it helps !

Thanks !

Darkmode

Requesting Darkmode for this nmap bootstrap :)

Jumbled Output in Firefox

when running the command nmap -sS -T4 -A -sC -oA scanme --stylesheet /root/nmap-bootstrap-xsl/nmap-bootstrap.xsl , and then opening the file xml file in firefox I get,

cpe:/a:openbsd:openssh:7.2p2cpe:/o:linux:linux_kernel
c4f8ade8f80477decf150d630a187e49
2048.0
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQD8ArTOHWzqhwcyAZWc2CmxfLmVVTwfLZf0zhCBREGCpS2WC3NhAKQ2zefCHCU8XTC8hY9ta5ocU+p7S52OGHlaG7HuA5Xlnihl1INNsMX7gpNcfQEYnyby+hjHWPLo4++fAyO/lB8NammyA13MzvJy8pxvB9gmCJhVPaFzG5yX6Ly8OIsvVDk+qVa5eLCIua1E7WGACUlmkEGljDvzOaBdogMQZ8TGBTqNZbShnFH1WsUxBtJNRtYfeeGjztKTQqqj4WD5atU8dqV/iwmTylpE7wdHZ+38ckuYL9dmUPLh4Li2ZgdY6XniVOBGthY5a2uJ2OFp2xe1WS9KvbYjJ/tH


228fb197bf0f1708fc7e2c8fe9773a48
256
ecdsa-sha2-nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPiFJd2F35NPKIQxKMHrgPzVzoNHOJtTtM+zlwVfxzvcXPFFuQrOL7X6Mi9YQF9QRVJpwtmV9KAtWltmk3qm4oc=


e6ac27a3b5a9f1123c34a55d5beb3de9
256
ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIC/RjKhT/2YPlCgFQLx+gOXhC6W3A3raTzjlXQMT8Msk


cpe:/a:apache:http_server:2.4.18Apache/2.4.18 (Ubuntu)






cpe:/o:linux:linux_kernel:3.12


cpe:/o:linux:linux_kernel:3.13


cpe:/o:linux:linux_kernel:3
cpe:/o:linux:linux_kernel:4


cpe:/o:linux:linux_kernel:3


cpe:/o:linux:linux_kernel:4.8


cpe:/o:linux:linux_kernel:4.4


cpe:/o:linux:linux_kernel:3.16


cpe:/o:linux:linux_kernel:3.18


cpe:/o:linux:linux_kernel:4.2


cpe:/h:asus:rt-n56u
cpe:/o:linux:linux_kernel:3.4

When I try and run the original command ( nmap -sS -T4 -A -sC -oA scanme --stylesheet https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl 10.10.10.75) given in the readme I get an error

Error loading stylesheet: An unknown error has occurred (805303f4)https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl

Do you know what I am doing wrong?

Only viewable in Firefox

after a successful scan, i am only able to open the xml file in firefox. on any other browser a blank screen appears. is this a known issue?

Too slow when looking at a /16 in Firefox

I scanned a /16 network.

  • 112 hosts up.
  • 65424 hosts down.

I am not really interested in the hosts that are down. But they are really slowing down the page.

Would you accept a pull request that doesn't display hosts that are down? Or doesn't display them if the amount of 'down' hosts is over a certain tress hold in order to keep the page responsive?

Or maybe there are better ways to optimize this. I haven't played with it yet. I'd rather get @honze-net's opinion first on this.

Visual Glitch

Hi,

Appreciate sharing this stylesheet with us.

I am encountering a visual error. As you can see 2 ports are open, however they are not reported in the summary table.

Screenshot 2021-11-11 at 15 14 16

Also for some reason the IP is reported multiple times.

Can you advise?

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.