Nmap Development mailing list archives
Re: [nse] ssl-cert: add support for Google Certificate Catalog
From: Henri Doreau <henri.doreau () greenbone net>
Date: Fri, 16 Sep 2011 10:08:43 +0200
Hello Vasiliy, 2011/9/14 Vasiliy Kulikov <segooon () gmail com>:
Both ssl-cert.nse patch and ssl-google-cert-catalog.nse are attached.
Thanks for the script, and the little fixes.
I was not aware of this Google feature and that's a nice one!
The script looks good to me (I'd simply rename variables a, b, c, da
and db though), but I have a question about the call to dns.query():
"""
local status, decoded_response = dns.query(query, { dtype = "TXT" } )
if status then
local a, b, c = string.match(status, "(%d+) (%d+) (%d+)")
"""
decoded response is never used, and the reply is contained in status.
There seems to be a problem in either dns.lua or its documentation[1]
which states (if I understand correctly) that status should be true or
false and that the second returned value is the decoded response or
the error message.
Am I missing something or is there actually a problem there?
Regards.
[1] http://nmap.org/nsedoc/lib/dns.html#query
--
Henri
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- [nse] ssl-cert: add support for Google Certificate Catalog Vasiliy Kulikov (Sep 10)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Tom Sellers (Sep 10)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Fyodor (Sep 10)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Vasiliy Kulikov (Sep 11)
- Message not available
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Vasiliy Kulikov (Sep 14)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Henri Doreau (Sep 16)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Vasiliy Kulikov (Sep 16)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Henri Doreau (Sep 16)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Henri Doreau (Sep 22)
- Re: [nse] ssl-cert: add support for Google Certificate Catalog Vasiliy Kulikov (Sep 11)
