Last active
November 15, 2022 07:18
-
-
Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.
Guess the crypto WODL in 6 tries.
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
""" | |
Crypto WODL | |
Guess the crypto WODL in 6 tries. | |
""" | |
import argparse | |
FILES = ['1173652193564069797.txt', '6907048048270523401.txt', '7603521794355887959.txt'] | |
CHARACTERS = ['.', ',', '"', '’', '“', '”', '(', ')', '-'] | |
def guess_wodl(): | |
for file in FILES: | |
f = open(file, 'r', encoding='utf-8') | |
for x in f: | |
x = x.strip().split() | |
if len(x): | |
for i in x: | |
if len(i) == 7: | |
i = i.lower() | |
if 'e' in i and 'r' in i: | |
print(i) | |
if __name__ == '__main__': | |
guess_wodl() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment