Digest-MD5-Reverse
view release on metacpan or search on metacpan
lib/Digest/MD5/Reverse.pm view on Meta::CPAN
package Digest::MD5::Reverse;
use warnings;
use strict;
use Socket;
use Exporter;
=head1 NAME
Digest::MD5::Reverse - MD5 Reverse Lookup
=cut
our $VERSION = "1.3";
our @ISA = qw(Exporter);
our @EXPORT = qw(&reverse_md5);
=head1 VERSION
Version 1.3
=head1 SYNOPSIS
use Digest::MD5::Reverse;
my $plaintext = reverse_md5($md5);
=head1 DESCRIPTION
MD5 sums (see RFC 1321 - The MD5 Message-Digest Algorithm) are used as a one-way
hash of data. Due to the nature of the formula used, it is impossible to reverse
it.
This module provides functions to search several online MD5 hashes database and
return the results (or return undefined if no match found).
We are not breaking security. We are however making it easier to lookup the
source of a MD5 sum.
=head1 EXAMPLES
use Digest::MD5::Reverse;
print "Data is ".reverse_md5("acbd18db4cc2f85cedef654fccc4a4d8")."\n";
# Data is foo
=head1 DATABASE
=over 4
=item * milw0rm.com
=item * gdataonline.com
=item * hashreverse.com
=item * us.md5.crysm.net
=item * nz.md5.crysm.net
=item * ice.breaker.free.fr
=item * hashchecker.com
=item * md5.rednoize.com
=item * md5.xpzone.de
=item * md5encryption.com
=back
=cut
our $DATABASE = [
{
host => "milw0rm.com",
path => "/cracker/search.php",
meth => "POST",
content => "hash=%value%&Submit=Submit",
mreg => qr{
<TR\sclass="submit">
<TD\salign="middle"\snowrap="nowrap"\swidth=90>md5<\/TD>
<TD\salign="middle"\snowrap="nowrap"\swidth=250>\w{32}<\/TD>
<TD\salign="middle"\snowrap="nowrap"\swidth=90>(.+?)<\/TD>
<TD\salign="middle"\snowrap="nowrap"\swidth=90>cracked<\/TD>
<\/TR>
}x
},
{
host => "gdataonline.com",
path => "/qkhash.php?mode=xml&hash=%value%",
( run in 1.251 second using v1.01-cache-2.11-cpan-39bf76dae61 )