permisi gan!
ane lagi coba2 bikin aplikasi php untuk md5 password checker dengan database file .txt
ane lom uji soal kecepatan nya, tp iseng2 ane numpang shere aja source cupu n sederhana nya...
yg udah master blh lanjut ke topic selanjutnya! atau ane minta kritik n saran nya yah! :D
Source:
Contoh:
http://md5check.co.cc
Password list:
http://md5check.co.cc/passwords.txt
http://md5check.co.cc/yahoovoice.txt
ane lagi coba2 bikin aplikasi php untuk md5 password checker dengan database file .txt
ane lom uji soal kecepatan nya, tp iseng2 ane numpang shere aja source cupu n sederhana nya...
yg udah master blh lanjut ke topic selanjutnya! atau ane minta kritik n saran nya yah! :D
Source:
<!DOCTYPE HTML> <head> <meta http-equiv="content-type" content="text/html" /> <meta name="author" content="bataman" /> <title>MD5Check.CO.CC by ^bataman^ | cupu banget dah... :p</title> <style type="text/css"> <!-- body { font-family: monospace; background-color: #000; color: #019C01; } input { background-color: #000; color: #019C01; border: 1px solid #015B01; padding: 3px; font-family: monospace; } p { font-weight: bold; } button { background-color: #000; color: #019C01; border: none; padding-top: 2px; width: 50px; font-family: monospace; cursor: pointer; } --> </style> </head> <body> <form name="hash" action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" autocomplete="0"> <input type="text" name="password" size="33" placeholder="password!" value="<?php echo @$_POST['password'] ?>" /> <button type="submit" name="submit">Enter!</button> </form> <?phpif(isset($_POST)){ if(isset($_POST["password"])) { $password = $_POST["password"]; $md5pass = md5($password); echo "<p>Your md5 Password: ".$md5pass."</p>"; } } ?> <br /> <form name="crack" action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" autocomplete="0"> <input type="text" name="md5pass" size="33" placeholder="md5 password!" value="<?php echo @$_POST['md5pass'] ?>" /> <button type="submit" name="submit">Enter!</button> </form> <?phpif(isset($_POST)){ if(isset($_POST["md5pass"])) { $md5pass = trim($_POST["md5pass"]); if(strlen($md5pass) < 31) { echo "<p>Invalid md5 password!</p>"; } else { $filepass=@fopen("passwords.txt","r"); $msg = "<p>Password not found!</p>"; while(!feof($filepass)){ $passlist = trim(@fgets($filepass)); $md5passlist = md5($passlist); if($md5pass == $md5passlist) { $msg = "<p style=\"text-decoration: blink;\">Password found!</p>"; $msg .= "<span style=\"color:#019C01;\">".$md5passlist."</span> => [<span style=\"color: #FF0000;\">".$passlist."</span>]<br />"; break; } } echo $msg; @fclose($filepass); } } }?> </body> </html> |
Contoh:
http://md5check.co.cc
Password list:
http://md5check.co.cc/passwords.txt
http://md5check.co.cc/yahoovoice.txt