golismero / openvas_lib

OpenVAS connector for versions 6, 7, 8 and 9
BSD 3-Clause "New" or "Revised" License
80 stars 97 forks source link

Invalid OpenVAS version in remote server #4

Closed viettranquoc closed 8 years ago

viettranquoc commented 9 years ago

Hello golismero team, I'm creating a network security tool by using your lib, but when i'm connect to the server i got the error : "Invalid OpenVAS version in remote server". I'm installed OpenVAS 7, in ubuntu 14.04 Thanks you so much :D

wcc526 commented 9 years ago

recommend the openvas 6 and kali system. It has tested all is ok in the kali system and openvas 6.

aphillipo commented 9 years ago

I'm going to take a stab at getting something working with OpenVAS 7 and OMPv5 tonight.

cr0hn commented 9 years ago

Hi! Sorry about the delay. Currently the lib doesn't support OpenVas 7. We will add support for it, but I'm sorry to say that I don't know when.

aphillipo commented 9 years ago

If you check out my hacked together branch it should give you some details. I've removed quite a lot of the getters and setters from the underlying report models because I feel they aren't very pythonic and also a lot of the checks these things do that throw away info; I'd rather keep info that we don't understand than just message out that we are throwing it away.

My needs are probably different that the design of the library.

I've also made it so that creating a scan and launching one are separate commands, otherwise I can't see how to retrieve the task id (and therefore results) in the finish callback. All very hacky but it works with OV7.

aphillipo commented 9 years ago

Oh and OpenVAS 8 is out and uses a totally new protocol for controlling scanning. Ho hum.

cr0hn commented 8 years ago

The last should be added correctly support for OpenVAS 7 and 8 5a5c5c7cbda47f7e15ca316b0413261aed655c3d

This patch was not tested a lot. Please, check it and tell us.