Get the App
SLTechnology News&Howtos  ›  Network Security  › 

An example Analysis of using nmap-converter to convert nmap scan result XML into XLS

Shulou Source: shulou.com Published: 2022-05-31 17:07:19 10月01日 Update

This article mainly analyzes the relevant knowledge points of using nmap-converter to convert nmap scan results XML into XLS actual combat example analysis, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to take a look, and follow the editor to learn more about "using nmap-converter to transform the nmap scan result XML into an example analysis of XLS actual combat".

Use nmap-converter to convert nmap scan result XML into XLS actual combat

1. Preface

As a network security practitioner, it is sometimes necessary to use nmap, a sharp tool for port scanning, to scan a large number of ports, but the output result of Nmap is in .nmap, .xml and .gnmap formats, as well as a lot of unneeded information, which is very inconvenient to deal with, and the output result is converted into an Excel table, and the aspect handles the later output. As a result, Tech Bull shared the Python script for converting nmap reports into XLS.

2 、 nmap-converter

1) Project address: https://github.com/mrschyte/nmap-converter

2) Environmental requirements

(1) Python (python2.7 for this test)

(2) rely on python modules: python-libnmap, XlsxWriter, installation: pip install python-libnmap, pip install XlsxWriter

3) usage: nmap-converter.py [- h] [- o XLS] XML [XML.]

Example: nmap-converter.py-o test.xlsx test.xml

(test.xlsx is the converted Excel,test.xml and outputs the result in xml format for nmap)

3. Use actual combat

1) prepare the document

Put the python conversion script nmap-converter.py and the xml file test.xml output by nmap scan in the same directory

2) Open cmd and execute: nmap-converter.py-o test.xlsx test.xml

3) conversion result

After the conversion is complete, a test.xlsx file is generated in the directory and can be processed using Excel.

This article mainly analyzes the relevant knowledge points of using nmap-converter to convert nmap scan results XML into XLS actual combat example analysis, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to take a look, and follow the editor to learn more about "using nmap-converter to transform the nmap scan result XML into an example analysis of XLS actual combat".

Tags: Results actual combat analysis examples output knowledge follow file processing value interest content easy to understand format directory knowledge point port article detail script Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei NVidia OPPO Reno Docker Microsoft