juuso/BozoCrack — pull request #10 by tecknicaltom (2011-12-29 01:50:27+00:00)
Title: Two changes to improve the successrate of BozoCrack

This commit adds two changes to improve the successrate of BozoCrack:

1. If the old method didn't find the hash, split the Google results on non-alphanumeric characters. This will find the hashes on pages which contain text such as:

* md5(password) = 5f4dcc3b5aa765d61d8327deb882cf99
* md5("password") = 5f4dcc3b5aa765d61d8327deb882cf99
* password:5f4dcc3b5aa765d61d8327deb882cf99

2. If that still didn't find the hash, do another Google search for the hash and the word md5. This helps for hashes that may by luck appear in their hashed form frequently on the web. For instance, compare:
http://www.google.com/search?q=0e97d6e7124d6cc9623650201236cd52
and
http://www.google.com/search?q=md5+0e97d6e7124d6cc9623650201236cd52
At the time of implementing this change, the first Google results did
not contain the plaintext for this hash.