Closed hazcod closed 8 months ago
Using docker falkowich/gvm10:sqlite-latest
some of the commands used in 8 and 7 seems to be the same, I do not know what commands you need, you may fork the lib and fix the version check to 8, and compare the struct corresponding the command,
for version check, it is here https://github.com/qzyse2017/openvas-golang-lib/blob/master/omp.go#L69
and e.g if you need create_target
command, compare https://github.com/qzyse2017/openvas-golang-lib/blob/master/cmd_target.go#L48 with the OMP 8 docs(I did not find the OMP 8 docs here)
You could also call the CreateTarget function after New() in a uint test and verify if the program here is compatible, https://github.com/qzyse2017/openvas-golang-lib/blob/master/cmd_target_test.go#L10
@hazcod
https://docs.greenbone.net/API/OMP/omp-7.0.html I implement most of the methods from this doc
already reported the last comment, it is obviously a phishing message, do not click the link
Hi, GVM 10 & 11 use Protocol version 8 which is not supported by this library. Would it be possible to reproduce?