Created
November 9, 2016 14:20
-
-
Save xermicus/0de6ddb30caf483627b8c64318d40858 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://crackmes.de/users/geyslan/crackme.02.32/ | |
import random | |
random.seed() | |
password = '' | |
secret = '\xf7\xf8\xf1\xf4\xf1\xf8\xb3\xfc\xfc' | |
for i in range(len(secret)): | |
candidates = '' | |
for c in range(0x20, 0x7e): | |
if c | 0x90 == ord(secret[i]): | |
candidates += chr(c) | |
password += candidates[random.randint(0, len(candidates)-1)] | |
print(password) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment