No matter which encoding I choose in a file it always throws an error on me. I've tried UTF-8 with BOM and without it, ASCII, Windows-1250. Every time it ends with an error:
root@kali:~/Documents/wordlist# python mask_finder.py -f pass.txt -o output.txt
[*] Processing pass.txt
Traceback (most recent call last):
File "mask_finder.py", line 207, in
main()
File "mask_finder.py", line 93, in main
words = open(filename, encoding="utf8", errors='ignore').read().splitlines()
TypeError: 'errors' is an invalid keyword argument for this function
No matter which encoding I choose in a file it always throws an error on me. I've tried UTF-8 with BOM and without it, ASCII, Windows-1250. Every time it ends with an error:
root@kali:~/Documents/wordlist# python mask_finder.py -f pass.txt -o output.txt
[*] Processing pass.txt
Traceback (most recent call last):
File "mask_finder.py", line 207, in
main()
File "mask_finder.py", line 93, in main
words = open(filename, encoding="utf8", errors='ignore').read().splitlines()
TypeError: 'errors' is an invalid keyword argument for this function