-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Maybe something wrong with "example_check_connection.py" #7
Comments
Sorry, I wanna to know if the author had seen my issue? |
Hi, Not yet. Tomorrow I'll try to investigate the issue |
I have this kind of problem as well (type problems)
This has the following result:
I am using Python 2.7.11 with Openvas 8 |
Well, I guess the arthur may be so busy that he forget the issue... What a pity~~ But I still hope the arthur will solve the problem someday. Wish this good project be better in the future! |
I ended up creating my own parser in Java, this project is not compatible with OMP 6.0 |
The report instance actually has the attribute "find ",you can print(dir(report)),but report.find("report").text returns None,it causes the mistake.manager.get_report_html not work well,but get_report_xml seems to be fine |
Well, sir , sorry to bother you again, but maybe I got a bug here.
When I use the demo file:
https://github.com/golismero/openvas_lib/blob/master/example_check_connection.py
I can't get my scan report at last, in fact I had seen scan result on the web, actually the target had been listed some vulnerabilities by openvas(web).
Then it gave me this error infomation:
must be string or buffer, not None
I checked it, and I found something at function write_report:
report = manager.get_report_html(report_id)
The value report here is not str type , instead it's an element type, so when the script went to:
report.find("report").text
Now it gets error , I think 'element' type may not have "find" attribute?
As a result , I can't solve this issue.
I had changed some targets , unfortunately I got the same error.
Dear sir, could you give a solution for it, looking forward to your kind reply!
Thank you!!!
The text was updated successfully, but these errors were encountered: