A simple command-line tool to extract host IP addresses and finding titles
from a .nessus scan file and export them to a clean, sorted CSV report.
- Extracts host IP and finding title (
pluginName) from.nessusXML files - Converts numeric severity codes (0–4) into readable labels (
Info,Low,Medium,High,Critical) - Excludes
Info-level findings from the output - Sorts results by risk, from
Criticaldown toLow - Zero external dependencies — pure Python standard library
- Python 3.6+
python3 nessus_to_csv.py input.nessus output.csvpython3 nessus_to_csv.py --helpusage: nessus_to_csv.py [-h] input.nessus output.csv
Extract host IP and finding title (pluginName) from a .nessus file and export them to CSV.
positional arguments:
input.nessus Path to the .nessus file to read
output.csv Path to the CSV file to create
options:
-h, --help show this help message and exit
Example: python3 nessus_to_csv.py scan.nessus results.csv
| IP | Title | Severity |
|---|---|---|
| 192.168.1.10 | Critical Issue | Critical |
| 192.168.1.10 | High Issue | High |
| 192.168.1.10 | Medium Issue | Medium |
| 192.168.1.10 | Low Issue | Low |
MIT