Codec 'utf-8' cant decode byte "0xf1" in position 923: Error using rockyou.txt
Jul10l1r4 opened this issue · comments
Machine: Wifislax (Slackware likely)
Traceback (most recent call last):
File "SSHBruteForce.py", line 282, in <module>
sshBruteForce.startUp()
File "SSHBruteForce.py", line 82, in startUp
self.singleTarget(options)
File "SSHBruteForce.py", line 119, in singleTarget
self.passwords = Util.fileContentsToList(options.passwordsFile)
File "/root/SSH-Brute-Forcer/src/Util.py", line 20, in fileContentsToList
for line in fileParser.readlines():
File "/usr/lib64/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 923: invalid continuation byte
How was this solved?