Skip to content

Commit

Permalink
Merge pull request #422 from timopollmeier/openvas-via-osp
Browse files Browse the repository at this point in the history
Run OpenVAS scans via OSP instead of OTP
  • Loading branch information
mattmundell authored Jun 7, 2019
2 parents ee8210d + 53836d1 commit d387c06
Show file tree
Hide file tree
Showing 4 changed files with 539 additions and 95 deletions.
3 changes: 2 additions & 1 deletion src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17177,7 +17177,8 @@ handle_get_scanners (gmp_parser_t *gmp_parser, GError **error)
cleanup_iterator (&tasks);
SEND_TO_CLIENT_OR_FAIL ("</tasks>");
}
if (scanner_iterator_type (&scanners) == SCANNER_TYPE_OSP
if ((scanner_iterator_type (&scanners) == SCANNER_TYPE_OSP
|| scanner_iterator_type (&scanners) == SCANNER_TYPE_OPENVAS)
&& get_scanners_data->get.details)
{
char *s_name = NULL, *s_ver = NULL;
Expand Down
Loading

0 comments on commit d387c06

Please sign in to comment.