Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Hostnames are not populated - xlsx and docx #3
Tried to go through some of the python code and figure out how the "Hostname" field was being populated.. but alas I am no expert
When exporting to xlsx, there is a Host name field on the vulnerability tabs.
Ask questions, and I will try and explain more if needed
This tool is to set up a listener that can automated reports that are sent after finishing a scan.
The code for creating the sheets for each discovered vulnerability can be found in export.py.
I copied the hostname part from cr0hn's Openvas2Report.
Thanks for your reply. I was unable to raise an issue directly on the OpenVAS Reporting package.
When exporting to CSV it correctly fills in the IP address and the Hostname field.
Is there any way we are able to use the CSV in your tool?
Currently the OpenVAS Reporting package/tool only supports importing XML and converting this to docx/xlsx/csv.
If you'd like to implement a CSV converter, you're free to create a pull request at the correct repo.
Should I find the time to do so myself, I may add this functionality later on.
EDIT: I've added you're idea to my TODO list