Everybody knows services like milw0rm.com‘s md5 cracking database, where you can submit a hash and get the plaintext password, if it is cracked. Today I discovered Digest::MD5::Reverse, a perl module to search several online MD5 hash databases.

So I whipped up a little script to lookup md5 hashes, to place in my ~/bin:
#!/usr/bin/perl
use strict;
use Digest::MD5::Reverse;

my $hash = shift || die ("Usage: lookup_md5.pl hash\n");
my $reversed = reverse_md5($hash);

if( defined $reversed) {
print $reversed . "\n";
} else {
exit 1;
}

Pretty simple, but I’m sure it will be a useful tool. :-)

Related posts:

Tags: , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.