On Tue, Aug 27, 2002 at 09:45:38PM +0200, Hugo van der Kooij wrote:
> With SSL I get this on a plain request:
> 
> Trying 127.0.0.1...
[...]
> I have yet to do the SSL variant. (Can't think of the exact syntax 
> straight off for the SSL test.)

Do the following :

cat << EOF > ssl_connect.nasl
soc = open_sock_tcp(prompt("Port: "), transport:ENCAPS_SSLv23);
if(soc)
{
  send(socket:soc, data:http_get(item:"/", port:0));
  display(recv(socket:soc,  length:4096));
  close(soc);
}
EOF 
nasl -t ip.of.the.webmin ssl_connect.nasl
-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.

Reply via email to