Re: [Plugins-writers] Plugin Order?

From: HObbES (hobbes@private)
Date: Wed May 17 2006 - 14:49:55 PDT


This one time, George A. Theall wrote:
> On Fri, May 12, 2006 at 12:02:26PM -0700, HObbES wrote:
> > The first plugin it picks is a PHP plugin, and it runs that even if a
> > host is dead.  Obviously, it shouldn't do that on a dead host because
> > the required service WWW is not enabled.
> You probably want to make sure that the port is open; eg,
> 
>   port = get_http_port(default:80);
>   if (!get_port_state(port)) exit(0);
> 
> You probably also want to add a dependency on http_version.nasl in this
> case.

Thanks, but that wasn't it. It turns out you need to have what ACT_* defined; otherwise, it defaults to a scanner.
--
It is proverbial that from   (\`--/') _ _______ .-r-.  
a hungry tiger and an         >.~.\ `` ` `,`,`. ,'_'~`.          
affectionate woman there is  (v_," ; `,-\ ; : ; \/,-~) \            
no escape. -Ernest Bramah     `--'_..),-/ ' ' '_.>-' )`.`.__.')   
hobbes at vaxer dot net      ((,((,__..'~~~~~~((,__..'  `-..-'fL    
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Wed May 17 2006 - 17:38:17 PDT