Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] SSL Fingerprint Matching
From: Mak Kolybabi <mak () kolybabi com>
Date: Sun, 20 Mar 2011 22:13:40 -0500

On 2011-02-22 13:24, David Fifield wrote:
To save space, how about storing hashes in the database without colons
separating bytes? They can continue to be shown in output.

The script now has a function that adds the colons back in when the file is read

The output looks like this:

      |_ssl-known-key: 00:28:E7:D4:9C:FA:4A:A5:98:4F:E4:97:EB:73:48:56:07:87:E4:96 is in the database with reason 
Little Black Box 0.1.

Please change it to be

      |_ssl-known-key: Found in Little Black Box 0.1 - http://code.google.com/p/littleblackbox/ (certificate hash: 

This will give users a little more context if they don't know what the
script is for.

The script output has been flipped around to match the second format.

Related to that, it would be nice if the description string didn't have to be
repeated for hashes with the same description. Could the data file be reworked
into something like this:

[Little Black Box 0.1 - http://code.google.com/p/littleblackbox/]

The script has been changed to accept sections in square brackets. Any
fingerprint before the first section is ignored and a warning is printed.

Sorry it took so long for me to respond to this.

Mak Kolybabi
<mak () kolybabi com>

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

Attachment: ssl-known-key.nse

Attachment: ssl-fingerprints

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]