π Nmap-vulners: A Python Script To Automate Vulnerability Scanning and Reporting using Nmap Vulners Script
Nmap-vulners is a Python script helps to automates vulnerability scanning using Nmap's vulners script. This tool executes the scan, parses the results, and saves them into structured CSV files for easy analysis and reporting.
- Automated Nmap Scan: Runs Nmap with the vulners script enabled.
- Results Parsing: Extracts detailed vulnerability information from the scan results.
- CSV Reporting: Saves exploitable and non-exploitable vulnerabilities to separate CSV files.
- Complete Output Storage: Stores the full Nmap scan output in a CSV file.
-
Clone the Repository:
git clone https://github.com/sivasakthi037/nmap-vulners.git cd nmap-vulners
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Script:
python nmap_vulners.py
-
Enter the target IP address or hostname when prompted.
nmap_vulners.py
: Main script to run the Nmap scan and process results.requirements.txt
: Dependencies for the project.README.md
: Project overview and instructions.
-
Run the script:
python nmap_vulners.py
-
Enter the target IP address or hostname:
Enter the target IP address or hostname: 192.168.1.1
-
View the results in the generated CSV files:
Exploitable.csv
Non_Exploitable.csv
complete_results.csv
libnmap
: Library for parsing Nmap XML results.
π Happy Scanning!