KvasirSecurity / Kvasir

Kvasir: Penetration Test Data Management
Other
424 stars 85 forks source link

Report Traceback #148

Closed juushya closed 10 years ago

juushya commented 10 years ago

Hi Kurt,

I am not sure if this should be reported here, but it seems to be linked to Kvasir. I may be wrong though. When generating htmlreport, I am getting the following traceback:

htmlreport.py -C spa.conf -R spa-report-thumbs.xml -o htmlv01 --build=vulns -d
Warning: docutils (http://docutils.sf.net) does not exist. Textfile input for -T disabled
htmlreport.py: INFO: main: /opt/SPA/tools/reporting/bin/htmlreport.py invoked at Mon Oct 20 16:31:11 2014 in /home/juushya/projects/spa/cu/blah/reporting
htmlreport.py: INFO: main: Commandline was: /opt/SPA/tools/reporting/bin/htmlreport.py -C spa.conf -R spa-report-thumbs.xml -o htmlv01 --build=vulns -d
htmlreport.py: INFO: htmlreport: Filter enabled: None = None
htmlreport.py: INFO: htmlreport: Loading AutoSPAng Info from http://blah:blah@localhost:8000/blah/api/call/jsonrpc... please wait
...whoooaaaaaa, half way there......
htmlreport.py: INFO: htmlreport: Processing Vulnerabilities
htmlreport.py: INFO: htmlreport: vuln_list obtained in 102.434784 seconds
htmlreport.py: INFO: htmlreport: vuln_dict made in 0.000878 seconds
htmlreport.py: INFO: htmlreport: vuln service_list obtained in 149.586674 seconds
htmlreport.py: INFO: htmlreport: svc_vulns made in 0.020057 seconds
htmlreport.py: INFO: htmlreport: Processed Vulns in 252.043103 seconds
....WWHHHOOOOAAAAAA!!! LIVING ON A PRAYER!!!
Completed gather_data in 259.517494 seconds
htmlreport.py: INFO: htmlreport: Internal Network vulns:  810 pages
Internal Network vulns: _______________________________________________   0% /htmlreport.py: INFO: htmlreport: writing 'htmlv01/internal-Internal_Network/vulns/index.html'
 -htmlreport.py: INFO: htmlreport: writing 'htmlv01/internal-Internal_Network/vulns/aix-7.1-openssl_advisory9_3.html'
Traceback (most recent call last):
  File "/opt/SPA/tools/reporting/bin/htmlreport.py", line 924, in <module>
    main(options, params)
  File "/opt/SPA/tools/reporting/bin/htmlreport.py", line 910, in main
    report_obj.Save(html=1, verbose=options.verbose, complete=options.complete)
  File "/opt/SPA/tools/reporting/bin/htmlreport.py", line 424, in Save
    self._save_child_pages(tree, html, verbose, complete)
  File "/opt/SPA/tools/reporting/bin/htmlreport.py", line 471, in _save_child_pages
    self._save_page(content=page.html_page(toplevel_links=self.toplevel_links), filename=page_filename)
  File "/opt/SPA/tools/reporting/bin/../../lib/python/SpaHTML/Pages/SpaBasePage.py", line 154, in html_page
    return template.render(data=self.data_dictionary(toplevel_links))
  File "/opt/SPA/tools/reporting/bin/../../lib/python/SpaHTML/Pages/SpaBasePage.py", line 146, in data_dictionary
    for param, value in self.other_template_definitions():
  File "/opt/SPA/tools/reporting/bin/../../lib/python/SpaHTML/Pages/vulns.py", line 95, in other_template_definitions
    ('iplist', self.build_iplist()),
  File "/opt/SPA/tools/reporting/bin/../../lib/python/SpaHTML/Pages/vulns.py", line 73, in build_iplist
    ip[4],
IndexError: list index out of range
red@pill:reporting#                                   

Time crunch and toolset bugs. :(

Please take a look at this and the other issue #147 when you get a chance. Thanks.

grutz commented 10 years ago

Not a Kvasir issue.