Iran
|
khalid 2013-8-27 22:51
Note : this site have database for decryption text
so if your text not from it database you will n ...
I find this code. If someone can show how to use it
http://www.yunsec.net/a/security/web/jbst/2012/0423/10544.html
http://www.myhack58.com/Article/html/3/68/2012/33733.htm
http://www.2cto.com/Article/201204/128589.html- 1. <?php
- 2. error_reporting(0);
- 3. if ($argc<2) {
- 4. print_r('
- 5. ----------------------------------------------------------------+
- 6. Usage: php '.$argv[0].' hash
- 7. Example:
- 8. php '.$argv[0].' cd1a0b2de38cc1d7d796b1d2ba6a954f:dc2bce
- 9. ----------------------------------------------------------------+
- 10. ');
- 11. die;
- 12. }
- 13. $fd=fopen("1.txt","rb");
- 14.
- 15. if(!$fd)
- 16. {
- 17. echo "[!] error: www.2cto.com 打开字典文件错误";
- 18. die;
- 19. }
- 20.
- 21. echo "\n[+] 破解中...";
- 22. echo "\r";
- 23.
- 24. while($buf=trim(fgets($fd)))
- 25. {
- 26. //echo $buf."\r\n";
- 27. $hash=$argv[1];
- 28. $hash2=substr($hash,0,32);
- 29. $salt=substr($hash,33,6);
- 30. $tmp=md5(md5($buf).$salt);
- 31.
- 32. $conn = strcmp($tmp,$hash2);
- 33. if($conn==0)
- 34. {
- 35.
- 36. echo "[+] 密码破解成功\n"."[+]密码为:".$buf."\r\n";
- 37. die;
- 38. }
- 39.
- 40. }
- 41.
- 42. if($conn!=0)
- 43. {
- 44. echo "你的字典不给力啊!快快扩充字典吧: ) \r\n";
- 45. }
- 46. fclose($fd);
- 47. ?>
Copy the Code |
|