Код:
<?php // // author sunjester // site http://mrsunjester.info/ // irc irc://irc.securitychat.org/hostile (#hostile) // contact tripmonster@gmail.com || mr.lerie@gmail.com // // how to use // 1. (textbox1) input the password you think it is // 2. (textbox2) input the salt of that password // 3. (textbox3) input the salt of the password you want to break // 4. (button) push button. // 5. click my ads. http://mrsunjester.info/ echo "<img src=http://i28.tinypic.com/mm2xyg.png><Br><br>\r\n"; function clean($string) { $string = htmlentities($string); return $string; } $check = $_GET[check]; if(!$check) { echo "<form method=post action=?check=1> <table> <tr> <td>what password do you think it is?</tD> <td><input type=text name=password></tD> </tr> <tr> <td>whats the salt?</tD> <td><input type=text name=salt></tD> </tr> <tr> <td>whats the hash?</tD> <td><input type=text name=hash></tD> </tr> <tr> <td> </tD> <td><input type=submit value='check this password'></tD> </tr> </table> </form>"; die("\r\n"); } $cleanpw = clean($_POST[password]); $salt = $_POST[salt]; $hash = MD5(MD5($_POST[password]).$salt); if($hash == $_POST[hash]) { echo "<b>$cleanpw</b> is the password"; } else { echo "<b>$cleanpw</b> is NOT the password"; } // seriosuly, how easy was that? should i go ahead and // add more features to it? shit, i could make one in // a couple different languages, gui, etc. but what // do i get? lol lazy bastards, do it yourself!
MD5(MD5($password.$salt))