* [email protected] [24. May 2011]:
>    ssh_func.inc open the file and found that this is just to check include
>    SSH on port 22. In the case and could copy and rename to ssh_func.inc for
>    ssh_func_port_3333.inc (a port other than 3333 and reconfigured in some
>    other servers kept the port 22) and make the call in the NASL script that
>    I create?

That does not sound like a good idea.

What you you really want to use is the kb_ssh_transport() function to
determine the ssh port which was set through the OpenVAS Manager or
discovered by the port scanner.

Alternatively, consider making the port a preference of your NVT.

Regards,

Michael



-- 
Michael Wiegand |  Greenbone Networks GmbH  |  http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins

Reply via email to