Skip to content

Commit

Permalink
Merge pull request #2063 from blacklanternsecurity/fix-extractous
Browse files Browse the repository at this point in the history
Fix extractous decoding bug
  • Loading branch information
TheTechromancer authored Dec 9, 2024
2 parents 4d18c8c + c56645e commit 6e38ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/modules/extractous.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def extract_text(file_path):
result = ""
buffer = reader.read(4096)
while len(buffer) > 0:
result += buffer.decode("utf-8")
result += buffer.decode("utf-8", errors="ignore")
buffer = reader.read(4096)

return result.strip()
Expand Down

0 comments on commit 6e38ca7

Please sign in to comment.