hashdig-resolve-sunsolve.pl - Resolve hashes against Sun's Solaris Fingerprint Database
hashdig-resolve-sunsolve.pl [-d dir] [-k count] [-w count] [-r block] [-s count] -f {file|-}
This utility resolves a list of hashes against Sun's Solaris Fingerprint Database. Input is expected to be plain text with one hash per line. Each line must match the following regular expression:
^[0-9a-fA-F]{32}$
Input that does not match this expression will cause the program to generate a warning. When the warning limit (see -w option) has been exceeded, the program will abort.
Output for each block of 256 hashes is written to a pair of files in dir. These files have the following naming convention:
hashdig-{getblock,sunsolve}.dddddd
where 'dddddd' is a decimal number that represents the request ID. The first file, hashdig-getblock.dddddd, contains the list of hashes submitted. The second file, hashdig-sunsolve.dddddd, contains the raw HTML output returned by Sun's website.
Under certain conditions (e.g., slow link, killed TCP sessions, too many kid processes, etc.), requests can fail without generating an error message. In these situations, output from the affected request is often invalid or incomplete. Currently, there is no mechanism to detect whether or not such is the case.
Klayton Monroe
hashdig-dump.pl, hashdig-harvest-sunsolve.pl
All HashDig documentation and code is distributed under same terms and conditions as FTimes.