Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int x = 0; x < hashes.Length; x++)
- {
- string name = hashes[x].Substring(0, hashes[x].IndexOf(" "));
- string curHash = hashes[x].Substring(hashes[x].IndexOf(" ") + 1);
- for (int y = 0; y < dictionary.Length; y++)
- {
- if (GenHash(dictionary[y]) == curHash)
- {
- Console.WriteLine("Password found for " + name + ", it is " + dictionary[x]);
- goto skip;
- }
- }
- Console.WriteLine("The password for " + name + " was not in the database");
- skip:
- Console.Write("");
- }
- Console.WriteLine("Could not find password in dictionary");
- Environment.Exit(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement