nessus at the-jedi
Jan 6, 2009, 7:25 AM
Post #3 of 5
Renaud Deraison wrote:
> On Jan 6, 2009, at 12:41 AM, Simon John wrote:
>> Anyway, rather than having a security note for each plugin that fails,
>> is there a way I can stop the scan (or just skip my plugins but
>> continue vulns/ports) after one plugin failure?
>> I guess I could set a kb_item and check it in every plugin and
>> silently fail after the first one.
> Basically, the way you'd do this would be by using the
> script_require_keys() functions / script_exclude_keys() in your plugins.
> With the first one, your scripts will only run if a given KB item is
> set, with the second one they will be skipped if a given kb item is
> So adding script_exclude_keys("HostLevelChecks/failure") would do the
Lovely thanks, I thought there had to be a way.
So I've just got to set that key and produce a security_note for the
first occurance, then check for it and silently fail the rest.
nessus at the-jedi.co.uk
Plugins-writers mailing list
Plugins-writers [at] list