cr0hn / openvas_to_report

OpenVAS2Report: A set of tools to manager OpenVAS XML report files.
BSD 3-Clause "New" or "Revised" License
40 stars 23 forks source link

Invalid Excel Character #5

Closed ejshoemaker1650 closed 7 years ago

ejshoemaker1650 commented 7 years ago

invalid excel character

openvas_to_report -i /tmp/OpenVASReports/Report1.xml -o Report1.xlsx Traceback (most recent call last): File "/usr/local/bin/openvas_to_report", line 11, in load_entry_point('openvas-to-report==1.0.0', 'console_scripts', 'openvas_to_report')() File "/usr/local/lib/python2.7/dist-packages/openvas_to_report-1.0.0-py2.7.egg/openvas_to_report/openvas_to_document.py", line 65, in main convert(config) File "/usr/local/lib/python2.7/dist-packages/openvas_to_report-1.0.0-py2.7.egg/openvas_to_report/api.py", line 266, in convert export_to_excel(openvas_info, output_file, lang) File "/usr/local/lib/python2.7/dist-packages/openvas_to_report-1.0.0-py2.7.egg/openvas_to_report/libs/exporters/excel.py", line 76, in export_to_excel _export_generic_format(output_file_name, vuln_info, lang) File "/usr/local/lib/python2.7/dist-packages/openvas_to_report-1.0.0-py2.7.egg/openvas_to_report/libs/exporters/excel.py", line 232, in _export_generic_format w1 = workbook.add_worksheet(name) File "/usr/lib/python2.7/dist-packages/xlsxwriter/workbook.py", line 170, in add_worksheet return self._add_sheet(name, is_chartsheet=False) File "/usr/lib/python2.7/dist-packages/xlsxwriter/workbook.py", line 633, in _add_sheet name = self._check_sheetname(name, is_chartsheet) File "/usr/lib/python2.7/dist-packages/xlsxwriter/workbook.py", line 692, in _check_sheetname sheetname) Exception: Invalid Excel character '[]:*?/\' in sheetname 'SSL/TLS: Certificate Expired'

ejshoemaker1650 commented 7 years ago

I apologize. I checked and the Excel file was generated regardless of the error. Thank you for this tool!

cr0hn commented 7 years ago

It doesn't mind :) thx!