Minggu, 09 Januari 2011

Joomla Password Cracker!

<?php

print "[+] --------------------------------------------------------------------------\n";
print "[+] Joomla Password Cracker, created by Ahlspiess.\n";
print "[+] Contoh:\n";
print "[+] Joomla password yang diencrypt:\n";
print "[+]          eb1ba1ca399c58075540078149d56d7f:lNEz0eTNvrdrxJz9XZXGUiCOW7yf2gIr\n";
print "[+]\n";
print "[+] Md5 hash: eb1ba1ca399c58075540078149d56d7f\n";
print "[+] Salt: lNEz0eTNvrdrxJz9XZXGUiCOW7yf2gIr\n";
print "[+] --------------------------------------------------------------------------\n";
print "[+] --------------------------------------------------------------------------\n";

fwrite(STDOUT, "[+] Md5 Hash: ");
$hash = trim(fgets(STDIN));
fwrite(STDOUT, "[+] Salt: ");
$salt = trim(fgets(STDIN));
fwrite(STDOUT, "[+] Wordlist: ");
$wordlist = trim(fgets(STDIN));
print "[+] --------------------------------------------------------------------------\n";

if(empty($hash) or empty($salt) or empty($wordlist))
    {
        print "[+] Semak balik, ada yang tertinggal tu\n";
        print "[+] --------------------------------------------------------------------------\n";
        exit;
    }
if(!@file_exists($wordlist))
    {
        print "[+] File wordlist tidak dijumpai.\n";
        print "[+] --------------------------------------------------------------------------\n";
        exit;
    }

$buka = @file_get_contents($wordlist);
$pecah = explode("\n", $buka);
$kira = count($pecah);
print "[+] ".$kira." Didalam file wordlist!\n";
print "[+] --------------------------------------------------------------------------\n";
foreach($pecah as $wordz)
    {
        $wordz = str_replace(array("\n", "\r"), "", $wordz);
        BuatHash($hash, $salt, $wordz);
    }

function BuatHash($target, $salt, $word) {
$genhash = md5($word.$salt);
if($genhash == $target)
    {
        print "[+] --------------------------------------------------------------------------\n";
        print "[+] Found Password: ".$word."\n";
        print "[+] --------------------------------------------------------------------------\n";
        exit;
    }
    else
    {
        print "[+] Testing: ".$word.":".$genhash."\n";
    }
}
?>

Tidak ada komentar:

Posting Komentar

Free Download 4shared Premium Gratis

http://bengkelweb.co.de/4shared/

Valid CSS!

LinuxHQ LinuxHQ
Free Automatic Backlink Religion (Islam) - TOP.ORG Religion blogs powered by PRBbutton Religion Blogs - Blog Rankings rantop.com Saung Link SEO-Supreme Professional search tools for free Get Freebl Religion Blogs