You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
did anyone resolved this issue? @LavernaSec i tried your forked version and did easy_install. I'm facing issue as below:
Traceback (most recent call last):
File "/Users/sabinranjit/PycharmProjects/openvas-stuffs/scanopenvas.py", line 45, in
generate_report(scan_id)
File "/Users/sabinranjit/PycharmProjects/openvas-stuffs/scanopenvas.py", line 37, in generate_report
openvas_results = scanner.get_results(scan_id)
File "build/bdist.macosx-10.6-intel/egg/openvas_lib/init.py", line 961, in get_results
File "build/bdist.macosx-10.6-intel/egg/openvas_lib/init.py", line 90, in report_parser_from_text
TypeError: Expected str, got '<type 'unicode'>' instead
my test code is a follow: def generate_report(scan_id): try: print(scan_id) scanner = VulnscanManager(HOST, USER, PASSWORD) openvas_results = scanner.get_results(scan_id) print(openvas_results) except VulnscanException as e: print("Error:") print(e)
e53f81b#diff-6fe303a22197e4810951633f15c7bfc9
get_results expects self.__task_report_id to be set, but that doesnt happen unless you launch a scan (launch_scan)
The text was updated successfully, but these errors were encountered: