Re: Re: Nessus scripts and Moore's Law
Erik Stephens <[email protected]> Thu, 18 Nov 2004 11:14:51 -0700
| Newsgroups | gmane.comp.security.nessus.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 18, 2004, at 5:12 AM, Michel Arboi wrote:
> We need a collection part to debug the scripts: it is easier with the
> command line NASL. Maybe we should this kind of code so that it
> behaves differently when COMMAND_LINE is set.
> This kind of thing could be changed too, from:
> port = get_kb_item("Services/www");
> if (! port) port = 80;
> into:
> port get_kb_item("Services/www");
> if (! port) if (COMMAND_LINE) port = 80; else exit(0);
I like this idea a lot. How difficult would it be to better variablize
the port? What if I want to test against a non-standard port? Is the
answer to just modify the nasl script? Ideally, it could be passed in
on command line or nasl could accept the script on stdin so that I
could massage the script on-the-fly, put it in a pipe, and smoke it.
Best regards,
Erik Stephens www.edgeos.com
Managed Vulnerability Assessment Services
_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel