Open Tendrid opened 7 years ago
I know this is a bit late, but I hit the same issue and submitted a pull request.
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
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)
can you help me with any possible solution?
https://github.com/golismero/openvas_lib/commit/e53f81bffb2a5ab072bf6b3be2d850b71f5d2af4#diff-6fe303a22197e4810951633f15c7bfc9
get_results expects self.__task_report_id to be set, but that doesnt happen unless you launch a scan (launch_scan)