Yes this resolved the issue of 400 bad request but the openssl version
detection is still not happening.
I am using the default script "*gb_openssl_detect.nasl*" which comes with
greenbone-nvt-sync.
In the description of the script, it is mentioned that it detects version
of the openssl installed. But not working for me.

Please let me know how this script works? Does it provides openssl version
installed? And if yes, what will be the exact parameters that needs to be
provided?

I was following openvas-compendium-1.0.0, is there some better manual or
something which can help me for other such scripts.

Regards,
Nikita

On Mon, May 22, 2017 at 7:12 AM, Christian Kuersteiner <[email protected]>
wrote:

> 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
>



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

Reply via email to