A simple MD5 cracker

Go down

A simple MD5 cracker

Post  cyberhunter on Sun May 25, 2008 10:37 pm

This one cracks using a wordlist. It loads the whole wordlist into memory first so that the pogram runs faster. So it is not suitable for larger wordlists.

   $wordlist = file_get_contents("password.lst");
   if(!$wordlist){echo "Error opening wordlist!!";exit;}
   $result = preg_match("/^[a-zA-Z0-9=]+$/i",$hash);
   if(strlen($hash)!=32 || $result==false ){echo "Invalid hash!!";exit;}
      $word = strtok("\n");
      echo "Hash cracked!!\nPassword : $word";
      echo "Hash not found!!";
<form action="md5crack.php" method="POST">
<legend>MD5 Hash Cracker</legend>
Hash to crack : <input type="edit" name="hash" />
<input type="hidden" name="crack" value="1" />
<input type="submit" value="Submit" />
Code by thomasantony :D
Info Cracker
Info Cracker

Posts : 201
Join date : 2008-03-12
Age : 34
Location : In your computer

View user profile http://www.infofreakz.co.cc

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum