Jump to content

MD5 cracker


slpctrl

Recommended Posts

I have used this before. it could help...

 

<?php
function md5_encrypt($plain_text, $password, $iv_len = 16)
{
    $plain_text .= "\x13";
    $n = strlen($plain_text);
    if ($n % 16) $plain_text .= str_repeat("\0", 16 - ($n % 16));
    $i = 0;
    $enc_text = get_rnd_iv($iv_len);
    $iv = substr($password ^ $enc_text, 0, 512);
    while ($i < $n) {
        $block = substr($plain_text, $i, 16) ^ pack('H*', md5($iv));
        $enc_text .= $block;
        $iv = substr($block . $iv, 0, 512) ^ $password;
        $i += 16;
    }
    return base64_encode($enc_text);
}

function md5_decrypt($enc_text, $password, $iv_len = 16)
{
    $enc_text = base64_decode($enc_text);
    $n = strlen($enc_text);
    $i = $iv_len;
    $plain_text = '';
    $iv = substr($password ^ substr($enc_text, 0, $iv_len), 0, 512);
    while ($i < $n) {
        $block = substr($enc_text, $i, 16);
        $plain_text .= $block ^ pack('H*', md5($iv));
        $iv = substr($block . $iv, 0, 512) ^ $password;
        $i += 16;
    }
    return preg_replace('/\\x13\\x00*$/', '', $plain_text);
}
?>

 

;) Enjoy!

Link to comment
https://forums.phpfreaks.com/topic/79874-md5-cracker/page/2/#findComment-404622
Share on other sites

Ok.. this is uncalled for..

 

my account (Wes1890) has been deleted.. what the hell? some mod is being a jackass

that md5 hash i said was my password actually was "did you think i was going to give you my password".. it wasnt my password

 

now some jackass mod is screwing around with me and its uncalled for..

Link to comment
https://forums.phpfreaks.com/topic/79874-md5-cracker/page/2/#findComment-404623
Share on other sites

Ok.. this is uncalled for..

 

my account (Wes1890) has been deleted.. what the hell? some mod is being a jackass

that md5 hash i said was my password actually was "did you think i was going to give you my password".. it wasnt my password

 

now some jackass mod is screwing around with me and its uncalled for..

 

NO WAI! You mean to tell me that wasn't your PHPSESSID? Which isn't your hashed password? Oh gee, I would have never guessed  :D

Link to comment
https://forums.phpfreaks.com/topic/79874-md5-cracker/page/2/#findComment-404679
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.