Last active
November 15, 2022 07:18
-
-
Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.
Revisions
-
0x2a94b5 renamed this gist
Nov 15, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
0x2a94b5 created this gist
Nov 15, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ """ 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()