Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $accounts = "accounts.txt";
- $file = fopen($accounts, "r");
- $i=0;
- while(!feof($file)) {
- $line = fgets($file);
- $username = strtok($line, ":");
- $md5 = trim(strtok(":"));
- $email = strtok(":\r\n");
- if(empty($username) || empty($md5)) continue;
- echo "$md5<br />";
- $i++;
- if($i == 20) break;
- continue;
- $password = findMD5($md5);
- if($password == "invalid") continue; // if md5 hash has not been found : next!
- $pass = fopen("pass.txt", "w");
- fwrite($pass, $username.":".$password.":".$email."\n");
- fclose($pass);
- }
- fclose($file);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement