-->
Nmapgrapher: A Tool To Generate Graph As Well As Other Output From Nmap Xml Files.

Nmapgrapher: A Tool To Generate Graph As Well As Other Output From Nmap Xml Files.

Nmapgrapher: A Tool To Generate Graph As Well As Other Output From Nmap Xml Files.

NMAPgrapher tin endure constitute at https://github.com/attactics/NMAPgrapher

What is it?

H5N1 tool I created to assist me inward providing supplementary information alongside my penetration examination reports. I'm releasing it to the populace to practice every bit y'all want alongside it. The main role of this tool is to permit the user to speedily together with easily output exploratory information from NMAP XML files. The tool is capable of generating the following:
  • Most together with to the lowest degree mutual services
  • Most together with to the lowest degree mutual ports
  • Most together with to the lowest degree mutual operating systems
  • Hosts alongside well-nigh together with to the lowest degree release of opened upward ports
  • HTML document alongside tables including each host together with opened upward services / ports
Most of the information sets tin endure output to:
  • PNG
  • SVG
  • CSV
  • HTML
In gild to brand this tool to a greater extent than useful to others, I convey added the mightiness to peel the HTML output alongside CSS styles, constitute inward the css folder. In gild to generate the included template I used csstablegenerator. If y'all desire to practice your ain css styles, merely brand for certain to cite the css degree cite 'table'.

SVG together with PNG graphs tin endure styled past times modifying NMAPgrapher.py. I tried to work pygal's CSS styles together with convey a divide file for editing, yet cairosvg was non liking it.

Quick Primer on Use

While NMAPgrapher has a fairly extensive assist menu, hither is the full general usage structure:
NMAPgrapher.py [inputFile] [outputBaseName] [outputType]

where:
  • inputFile  is the NMAP XML file y'all want to process
  • outputBaseName is the base of operations cite of the output files. All output files volition endure placed inward a subfolder from where y'all ran NMAPgrapher
  • outputType is the type of output y'all desire (csv, png, html, svg)
The default remove is to create all possible outputs for the output type specified. Some outputs such every bit the host lost detailing all opened upward ports together with services is entirely output inward HTML for the fourth dimension being. This volition automatically endure output inward HTML regardless of the type y'all specify.
There are also a release of optional flags to entirely output for certain types of data, for to a greater extent than information on these delight invoke NMAPgrapher.py -h. They should endure pretty forthwith forward.

Dependencies

NMAPgrapher requires a release of libraries to operate. I recommend using pip to install them. You tin install them alongside pip similar so:
pip install pygal cairosvg cssselect tinycss lxml elementtree

Bugs together with Feature Requests

I'm non a python ninja (...yet?). I know the code is non the prettiest together with I volition run on refining it every bit fourth dimension allows. If at that spot are whatsoever bugs or characteristic requests, delight message me on twitter (@evasiv3) together with I'd endure glad to help.

Sample Graph together with Table Screenshots

The next are 2 illustration outputs from NMAPgrapher. The visuals are customizable.
Blogger
Disqus
Pilih Sistem Komentar

No comments

Advertiser