Skip to content

Something with UTF #2

@olympiador

Description

@olympiador

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions