note 59810 deleted from function.md5 by dmytton
| From: | dmytton@php.net | Date: | Fri, 16 Dec 2005 07:49:36 +0000 |
| Subject: | note 59810 deleted from function.md5 by dmytton | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100286@lists.php.net to get a copy of this message | ||
Note Submitter: someguy at home dot com
Reason: useless
----
Here is a script that can crack md5;
<form method="post" enctype="multipart/form-data">
Hash: <input type="text" name="md5"><input type="submit"
value="Crack"><br>
Max length is 9<br>
<?php
set_time_limit(0);
$md5 = $_POST['md5'];
if ($md5) {
$i=1;
while ($i>0) {
$hash = md5($i);
if ($hash == $md5) {
die("$md5: $i");
}
$i++;
}
}
?>