Skip to content

Instantly share code, notes, and snippets.

@0x2a94b5
Last active November 15, 2022 07:18
Show Gist options
  • Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.
Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.
Guess the crypto WODL in 6 tries.
"""
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