Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get all results of scan. ( Emtpy list ) #45

Open
serhattsnmz opened this issue Apr 3, 2020 · 1 comment
Open

Cannot get all results of scan. ( Emtpy list ) #45

serhattsnmz opened this issue Apr 3, 2020 · 1 comment

Comments

@serhattsnmz
Copy link

I run a scan on Openvas and it shows 38 results. But when I trying to get results via openvas_lib, it shows me empty list.

This is the codes:

>>> from openvas_lib import VulnscanManager
>>> scanner = VulnscanManager("back_openvas", "admin", "admin")
>>> scanner.get_results("e442ce2a-6bc5-4a13-b82c-d631694bdab6")
[]
>>> scanner.get_scan_status("e442ce2a-6bc5-4a13-b82c-d631694bdab6")
'Done'

This is the scan result on Openvas:
02

@imad777550
Copy link

imad777550 commented Jan 24, 2021

I run a scan on Openvas and it shows 38 results. But when I trying to get results via openvas_lib, it shows me empty list.

This is the codes:

>>> from openvas_lib import VulnscanManager
>>> scanner = VulnscanManager("back_openvas", "admin", "admin")
>>> scanner.get_results("e442ce2a-6bc5-4a13-b82c-d631694bdab6")
[]
>>> scanner.get_scan_status("e442ce2a-6bc5-4a13-b82c-d631694bdab6")
'Done'

This is the scan result on Openvas:
02

Hello @serhattsnmz, please can you tell me what is the python version and openvas version that you used to run this code
? Im using OPENVAS9 with python2 but when i'm running the same code it always gives me errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants