
18.12.2008, 02:18
|
|
Постоянный
Регистрация: 24.12.2007
Сообщений: 574
С нами:
9674246
Репутация:
316
|
|
PHP код:
<?
echo '<form method = "POST" action="ИМЯ_ТВОЕГО_СКРИПТА">';
echo '<input type = "text" name = "hash" value = "">';
echo '<input type = "submit" value = "Crack">';
echo '</form>';
$world = file('world.txt');
if(isset($_POST['hash'])){
$hash = $_POST['hash'];
}
else{
exit();
}
foreach($world as $line){
$line = rtrim($line);
$brute = md5($line);
if($brute == $hash){
echo "Hash cracked! Password $brute";
}
}
?>
|
|
|