George Stone <[EMAIL PROTECTED]> writes:

> > port = get_kb_item("Services/unknown");
> > if (! port) port = 36794;
> > # port = 36794;
> > if (known_service(port: port) exit(0);
> > ---------------------------------

> Wow!  I never thought of that.  Very nice.  I commend you.

I forgot one little thing. You have to change the security_warning
line too into: 
if (port == 36794) security_warning(port: port, data: msg);

Otherwise you'll get an alert on every open port!
-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.

Reply via email to