search
HomeOperation and MaintenanceSafetyExample analysis of using nmap-converter to convert nmap scan result XML into XLS

Use nmap-converter to convert the nmap scan result XML into XLS practice

1. Foreword

As a network security practitioner, sometimes you need to use the port scanning tool nmap to perform large-volume port scanning , but the output results of Nmap are in three formats: .nmap, .xml and .gnmap, and contain a lot of unnecessary information, which is very inconvenient to process. The output results are converted into Excel tables to process the later output. A technical expert shared a Python script to convert nmap reports to XLS, so today we can use this script to convert nmap reports to XLS files.

2. nmap-converter

The address of this project is: https://github.com/mrschyte/nmap-converter

2) Environmental requirements

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

(2) Depends 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 is the nmap output xml format result)

3. Use actual combat

1) Prepare the file

Place the python conversion script nmap-converter.py and the xml file test.xml scanned by nmap in the same directory.

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

3) Conversion results

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

The above is the detailed content of Example analysis of using nmap-converter to convert nmap scan result XML into XLS. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:亿速云. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools