Jump to content
deserty

md5 decryption script

Recommended Posts

Posted

Acest script decodeaza mai multe md5-uri in acelasi timp.

Lista cu md5-uri trebuie sa fie in format .txt si sa arate in genul :


06709f6e49eb68dd97c9087a61f3252d
a709a02347a77a977feb2528c19b911f
e3fced4c8e7e561d58a46a29ac492749
609a8f6f218fdfe6f955e19f818ec050
15a957eec81cff8df3172257b813e2d3
30280560351c32bb4bf5b7236da3ef2f
d42c6d9a32e86010e6b992c811ed4be5
276e697e74e8b5264465139a480db556
1c038bf6447c593aeeec284a1b702274
abe30caa27e734c9bd0274c2c75e6766

sau


cristi@yahoo.com 06709f6e49eb68dd97c9087a61f3252d
ionut@yahoo.com a709a02347a77a977feb2528c19b911f
vasile@yahoo.com e3fced4c8e7e561d58a46a29ac492749
oana@yahoo.com 609a8f6f218fdfe6f955e19f818ec050
padure@yahoo.com 15a957eec81cff8df3172257b813e2d3
carton@yahoo.com 30280560351c32bb4bf5b7236da3ef2f
xxx@xxx.com d42c6d9a32e86010e6b992c811ed4be5
nimic@yahoo.com 276e697e74e8b5264465139a480db556
oaie@yahoo.com 1c038bf6447c593aeeec284a1b702274
salut@yahoo.com abe30caa27e734c9bd0274c2c75e6766

Scrieti tot codul in aceeasi pagina.


<script type='"text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script type="text/javascript">
$(document).ready(
function(){
$('input:submit').attr('disabled',true);
$('input:file').change(
function(){
if ($(this).val()){
$('input:submit').removeAttr('disabled');
}
else {
$('input:submit').attr('disabled',true);
}
});
});
</script>

<form method="post" enctype="multipart/form-data">
<input type="file" name="fisierul">
<input type="submit" value="submit" name="decode" />
</form>


<?php

if ($_POST["decode"])
{
move_uploaded_file($_FILES["fisierul"]["tmp_name"], $_FILES["fisierul"]["name"]);

$content=file($_FILES["fisierul"]["name"]);
$data=implode("<br/>",$content);
$data_nou=explode("<br/>",$data);

foreach($data_nou as $line)
{
$data_nou_2=explode(" ",$line);

if ($data_nou_2[1]=="")
{
$city = strtolower(trim($data_nou_2[0]));
$eroare="nu se poate decoda";
}

else

{
$city = strtolower(trim($data_nou_2[1]));
$eroare=$data_nou_2[1];
}



if(ereg("([0-9a-f]{32})", $city)) {
$urls = array(0 => ("http://md5.hashcracking.com/search.php?md5=" . $city),);

$params = array(0 => (null),);

$patterns = array(0 => ("/Cleartext of " . $city . " is (.*)/"),);

if((count($urls) !== count($params)) || (count($urls) !== count($patterns)) || (count($params) !== count($patterns))) { die("Error"); }

for($i = 0; $i < count($urls); $i++) {


$url = $urls[$i];
$param = $params[$i];
$pattern = $patterns[$i];

$message = ereg_replace("(http|https)://", null, $url);
$message = ereg_replace("/(.*)", null, $message);

$ch = curl_init();
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, "4");
if(!empty($param)) {
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $param);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_TIMEOUT, "4");
$result = @curl_exec($ch);
curl_close($ch);

if(!empty($result)) {
if(empty($pattern)) {
$final = $result;
} else {
preg_match($pattern, $result, $final);
$final = $final[1];
}
}


}
}


echo $data_nou_2[0]." - ";
echo (md5($final) === $city || md5(htmlentities($final)) === $city)?("" . htmlentities($final) . ""):("<font style='color:red'>(".$eroare.")</font>");
echo "<br/>\n";
}

}

?>

Daca lista cu md5-uri o aveti cu mai multe spatii intre user si parola, gen :


cristi@yahoo.com 06709f6e49eb68dd97c9087a61f3252d
ionut@yahoo.com a709a02347a77a977feb2528c19b911f
vasile@yahoo.com e3fced4c8e7e561d58a46a29ac492749
.........

Folositi Remove Extra Whitespace and Tab Space pentru ordonare

Sper sa va fie folositor.

Iar daca aveti o lista mare cu md5-uri, impartiti-o in mai multe fisiere tip .txt pentru ca altfel o sa va crape browserul datorita requesturilor facute catre md5.hashcracking.com

Posted (edited)

Spam topic ? Decodeaza pe fata lu basescu ... Daca le ia cu foreach, cum saracia poti spune "in acelasi timp ?"

Ce saracia atata chin


hp ~ # cat texte
[email]cristi@yahoo.com[/email] 06709f6e49eb68dd97c9087a61f3252d
[email]ionut@yahoo.com[/email] a709a02347a77a977feb2528c19b911f
[email]vasile@yahoo.com[/email] e3fced4c8e7e561d58a46a29ac492749
hp ~ # for i in `awk -F " " '{ print $2 }' texte`; do curl http://md5.hashcracking.com/search.php?md5=$i && echo "";done
No results returned.
Cleartext of a709a02347a77a977feb2528c19b911f is elefant
Cleartext of e3fced4c8e7e561d58a46a29ac492749 is elieli
hp ~ #

Edited by aelius
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...