WWW.UNKNOWNS.RO
WWW.UNKNOWNS.RO
Lista Forumurilor Pe Tematici
WWW.UNKNOWNS.RO | Reguli | Inregistrare | Login

POZE WWW.UNKNOWNS.RO

Nu sunteti logat.
Nou pe simpatie:
cristina25 din Cluj
Femeie
24 ani
Cluj
cauta Barbat
24 - 58 ani
WWW.UNKNOWNS.RO / Php / PHP MD5 hash Cracker Moderat de florineatza, zpetry
Autor
Mesaj Pagini: 1
VIRUS
WWW.UNKNOWNS.RO

Din: WWW.UNKNOWNS.RO
Inregistrat: acum 18 ani
Postari: 3176


Code:

<?
$res="";
$has="";
function getdict(){
$dir="pass";
$hand=opendir($dir);
while($file=readdir($hand)) {
if ($file != '.' && $file != '..'){
echo "<option value=\"".$file."\">".$file."</option>";
}
}
closedir($hand);
}

function crack($dict,$hash){
$file=fopen("pass/".$dict,"r");
$res="Couldn't Crack with given dictionary!";
while(!feof($file))
{
$str=fgets($file);
$enstr=md5($str);
if($enstr==$hash){
$res=$str;
break;
}
}
fclose($file);
return $res;
}

if($_POST['sub']){
$hash=$_POST['hash'];
$dict=$_POST['dict'];
$has=$hash;
$res=crack($dict,$hash);
}

echo "<html><head>";
echo "<title>MD5 Hash Cracker </title>";
echo "<style type=\"text/css\">";
echo "HTML, body{
background-color: #000000;
color: #00ff00;
}";
echo "</style>";
echo "<SCRIPT LANGUAGE=\"JavaScript\">
<!-- //hide script
messageNum = 0;
setTimeout(\"messageChanger();\", 3000);
function messageChanger() {
if (messageNum ==0) {
defaultStatus = \"MD5 Hash Cracker\";
messageNum = 1;
} else {
defaultStatus=\"Programmed by: Darkvengance\";
messageNum=0;
}
setTimeout(\"messageChanger();\", 3000);
}
// --> </SCRIPT>";
echo "</head><body onload=\"messageChanger()\">";
echo "
<form action=\"\" method=\"POST\">
Dictionary: <select name=\"dict\">";

getdict();

echo "
</select><br />
MD5 Hash: <input type=\"text\" value=\"".$has."\" name=\"hash\" size=\"45\" /><br />
<input type=\"submit\" name=\"sub\" value=\"Crack!\">
</form><br /><br />
Output: <input type=\"text\" size=\"45\" value=\"".$res."\" readonly=\"readonly\"><br /><br />
<u>Usage</u><br /><br />
To use simply select the dictionary file you wish to<br />
use, paste the MD5 Hash into the box labeled \"MD5 Hash\"<br />
click on the \"Crack!\" button then site back and wait.";
echo "</body></html>";
?>



_______________________________________


pus acum 17 ani
   
Pagini: 1