When run against a host not listening on port 22,
ssh_detect.nasl exits without setting kbkey "SSH/banner"
causing a kb dependency failure in 11837and possibly others.
my KB shows:
Services/ssh=3222
source snip of ssh_detect.nasl
-------------
port = get_kb_item("Services/ssh");
if (!port) port = 22;
if (get_port_state(port))
{
soc = open_sock_tcp(22);
if ( ! soc ) exit(0);
-------------
should probably read:
-------------
port = get_kb_item("Services/ssh");
if (!port) port = 22;
if (get_port_state(port))
{
soc = open_sock_tcp(port);
if ( ! soc ) exit(0);
-------------
--anon
_______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
