Skip to content

Instantly share code, notes, and snippets.

@0x2a94b5
Last active November 15, 2022 07:18
Show Gist options
  • Select an option

  • Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.

Select an option

Save 0x2a94b5/5b35a60eca6deae645087509a6e3e5ec to your computer and use it in GitHub Desktop.

Revisions

  1. 0x2a94b5 renamed this gist Nov 15, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. 0x2a94b5 created this gist Nov 15, 2022.
    25 changes: 25 additions & 0 deletions find_wodl.py
    Original 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()