| Category: | Utility Scripts |
| Author/Contact Info | Alien |
| Description: | Simple script if you have a md5 hash and want to crack it ! |
#!/usr/bin/perl
#attempts to crack a md5 hash using a dictionary file
#you run the program this way
# perl md5 hash_to_crack dictionary_file
use warnings;
use strict;
use Digest::MD5 qw(md5_hex);
my $hash=shift || die "Give me a hash to crack\n";
my $file=shift || die "Give me a dictionary file\n";
open(F,$file) || die "can't open the file\n";
while(<F>)
{
print "Processing $_";
chomp($_);
my $t=md5_hex($_);
print " $t\n";
die "Found it -> $_\n" if($t eq $hash);
}
|
|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MD5 Cracker
by Limbic~Region (Chancellor) on Nov 16, 2006 at 15:02 UTC | |
|
Re: MD5 Cracker
by geekphilosopher (Friar) on Dec 10, 2006 at 18:39 UTC | |
|
Re: MD5 Cracker
by parv (Parson) on Nov 16, 2006 at 05:48 UTC | |
by ikegami (Patriarch) on Dec 11, 2006 at 02:23 UTC | |
|
Re: MD5 Cracker
by fenLisesi (Priest) on Nov 16, 2006 at 10:53 UTC |