Hi Nikita,

On 05/22/2017 01:05 AM, Nikita Gupta wrote:
Thanks Christian, I tried your solution and it worked also. But I was trying on port 443 and wanted to retrieve openssl version installed. But on accessing method get_http_banner(443), it gives 400 bad request error and doesnt give any information about openssl version installed.

In this case you need

openvas-nasl -X scriptname.nasl --kb "Transports/TCP/443=2" --kb "Services/www=443"

Best regards,

Christian
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to