Online MD5 password cracker

<?PHP
ob_start();
?>

<form action=”” method=”post”>
<input type=”text” name=”hash”><br>
<input type=”submit” name=”enter” value=”Crack”>
</form>

<?PHP
if(isset($_POST[‘enter’]))
{
$handle = fopen(“test.txt”, ‘r’);
while(! feof($handle))
{
$dic = fgets($handle);
$hash1 = md5($dic);
$hash2 = $_POST[‘hash’];
if($hash1 == $hash2)
{
echo ‘The password is: ‘.$dic;
}
}
}
fclose($handle);
ob_end_flush();

?>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s