Brute force knowing some characters (but not their location)
#7
Lightbulb 
This code generate the masks I was looking for:

Code:
from itertools import permutations

perms = [''.join(p) for p in permutations('9AAAAAAA')]
perms = set(perms)

with open('masks.txt', 'w') as file:
    for perm in perms:
        print(perm)
        file.write(perm.replace("A", "?l") + "\n")
Reply


Messages In This Thread
RE: Brute force knowing some characters (but not their location) - by andreap - 02-20-2023, 06:33 PM