Parse Nessus XML files and generate reports.
- Clone this repository to your local machine.
- Navigate to the repository directory.
- Python 3.x
You need to install the following Python libraries:
matplotlib
lxml
python-docx
You can install the required libraries using pip:
pip install matplotlib lxml python-docx
Run the script with the following command:
python nessus_report_generator.py <file_path> <option>
Replace <file_path> with the path to the Nessus XML file to parse, and with one of the following report options:
- '1': Full report
- '2': Overview
- '3': Per host
- '4': Remediations
Example:
python nessus_report_generator.py sample.nessus 1
The script generates a Word document report based on the specified options.
The script will create a Word document named Nessus_Report_.docx in the current directory. The pie chart and any temporary files created during the report generation process will be automatically removed. It's recommended to review and clean the input Nessus XML file before generating the report to ensure accurate results. For large Nessus XML files, the report generation process may take some time. Be patient while the script processes the data.
Contributions are welcome! If you have suggestions, improvements, or bug fixes, please open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
This script is intended for use with Nessus vulnerability assessment files. Nessus is a proprietary vulnerability scanner developed by Tenable, Inc. and is not open source. We thank Tenable for their tool and support.