Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $en = "249ba36000029bbe9749";
- $t = file("corncob_lowercase.txt"); // third dictionary attack attempt, after Cain's wordlist and another English language dictionary
- foreach($t as $f)
- {
- /*$f = preg_replace("/\/[a-z]+/i","",$f); // originally needed this because my first wordlist had letters at the end preceeded by a / */
- $f = str_replace(array("\n","\r"),"",$f);
- $q = str_split(sha1($f),strlen(sha1($f))/2);
- if( $q[0] == $en )
- {
- echo "Match: " . $f . " | " . sha1($f) . "\n";
- break;
- } else {
- continue
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment