Python maskprocessor implementation which inspired by hashcat maskprocessor
pip install maskprocessor
Print help
maskprocessor --help # or -h
Via command line
$ maskprocessor '?d'
0
1
2
3
4
5
6
7
8
9
Import as python module
>>> from maskprocessor import maskprocessor as maskproc
>>> g = maskproc('?l')
>>> print(next(g))
a
>>> print(next(g))
b