Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $a = array_slice(file('wordlist.txt',FILE_IGNORE_NEW_LINES),17212*$argv[1],17213);
- $b = $a;
- $time_start = time();
- $count = 0;
- $found = false;
- foreach ($a as $Akey => $Atext)
- {
- foreach ($b as $Bkey => $Btext)
- {
- $md5 = md5($Atext.$Btext);
- if($md5 == '081b4dda73669d3f75575032b2514ddf')
- {
- $found = true;
- // file_put_contents("test.txt",$Atext." ".$Btext." ".$md5."\n",FILE_APPEND);
- break 2;
- }
- //file_put_contents("test.txt",trim($Atext).' '.trim($Btext).' '.$md5."\n",FILE_APPEND);
- $count++;
- }
- echo "\033[A ".number_format($count)." combinations checked\n";
- }
- $time_end = time();
- $time = $time_end - $time_start;
- echo "Took $time seconds\n";
- if ($found)
- echo $Atext.' '.$Btext."\n";
- else
- echo "not found \n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement