Revendor openvas omp, fix ruby deprecations when using the openvas plugin#13944
Revendor openvas omp, fix ruby deprecations when using the openvas plugin#13944busterb wants to merge 8 commits intorapid7:masterfrom
Conversation
e28f324 to
d649243
Compare
|
|
|
Cool, thanks! I'll take a look. |
|
I fixed a lot of bugs (there were many, from XML format detection to missing methods in the database itself). Question: this plugin seems to be confused about whether it wants to deal with integer indexes, or UUIDs. Which is better? Is it both? |
c3da9d6 to
937a4ad
Compare
:hooray:
Your guess is as good as mine. I don't use OpenVAS and the original posters are AWOL. |
|
Oh, I see what you mean now. I use the report UUID but for no good reason. That seems to work much better. It seems to be confused about the host IP address. Not sure why the host shows up as |
|
The IP address issue is actually a UUID bug. When you try to specify 'XML' as the format_id, currently the plugin tries to marshal that to an index, fails, it becomes '0', then 'Anonymous XML' gets selected. I think having to specify a format_id on import is dumb anyway, since why wouldn't you just want 'XML' all the time? Thinking of changing it to just work and removing format_id as an option. |
+1 |
|
Hi @adfoster-r7 I wanted to improve it a bit more since there are more things broken, but my OpenVAS installation went belly-up, and it seems every distro I tried has it broken as well, left a comment on #13797 with current notes. |
|
Thanks for your contribution to Metasploit Framework! We've looked at this pull request, and we agree that it seems like a good addition to Metasploit, but it looks like it is not quite ready to land. We've labeled it What does this generally mean? It could be one or more of several things:
We would love to land this pull request when it's ready. If you have a chance to address all comments, we would be happy to reopen and discuss how to merge this! |
|
Just doing a clear out of older PRs that are in limbo 👍 |
PR #7223 had good intentions that we'd see better support from the upstream vendor gem for openvas-omp, but unfortunately it hasn't been maintained in a while (see #13797 (comment) kost/openvas-omp-ruby#4, etc.). So this PR undoes #7223 and fixes the long-standing bug in using the deprecated
timeoutfunction.Fixes #13797 #12715 #12848
Verification
msfconsoleand use the openvas plugin, verify functionalityI'm relying on OpenVas users like @bcoles, @guarisma, and @KittyTechnoProgrammer to validate that this works as expected in their scenarios. Thanks in advance!