###########################

# [php] MD5 Cracker

###########################

#!/usr/bin/php

<?php

if(!isset($argv[2])){
echo "
\033[1;34m[*]\033[0m MD5 Crack By MMxM
\033[1;34m[*]\033[0m Modo de uso: $argv[0] [hash-md5] [wordlist]

";
exit;
}
if(strlen($argv[1]) != 32){
echo "\n\033[1;31m[-]\033[0m INVALID MD5 HASH\n\n";
exit;
}

$wl = fopen ("$argv[2]","r");
if(!$wl){
die("\n\nFAILED TO OPEN $argv[2]\n\n");
}
while (!feof ($wl)) {
$pass = fgets($wl,4096);
$a = chop($pass);
if(md5($a) == $argv[1]){
echo "\n\033[0;32m[+]\033[0m Cracked!!! [$a]\n";
echo "\033[0;32m[+]\033[0m [$argv[1]] == [$a]\n\n";
exit;
} else{
echo "\033[1;34m[*]\033[0m ",md5($a),"\t == [$a]\n";
}

}
fclose ($wl);

echo "\033[1;31m[-]\033[0m No Password crackeds :/\n";
echo "\033[1;34m[*]\033[0m (100% complete)\n\n";
?>

###########################

# Iranian Exploit DataBase = http://IeDb.Ir [2016-12-17]

###########################