You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid output
Traceback (most recent call last):
File "Malwares/malwares.py", line 163, in
MalwaresAnalyzer().run()
File "Malwares/malwares.py", line 146, in run
hash = hashlib.sha256(open(filepath, 'r').read()).hexdigest();
TypeError: Unicode-objects must be encoded before hashing
The text was updated successfully, but these errors were encountered:
_File "Malwares/malwares.py", line 163, in
MalwaresAnalyzer().run()
File "Malwares/malwares.py", line 146, in run
hash = hashlib.sha256(open(filepath, 'r').read()).hexdigest();
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self.buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte
Invalid output
Traceback (most recent call last):
File "Malwares/malwares.py", line 163, in
MalwaresAnalyzer().run()
File "Malwares/malwares.py", line 146, in run
hash = hashlib.sha256(open(filepath, 'r').read()).hexdigest();
TypeError: Unicode-objects must be encoded before hashing
The text was updated successfully, but these errors were encountered: