blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.61k stars 417 forks source link

Gowitness decode error #1071

Closed TheTechromancer closed 8 months ago

TheTechromancer commented 8 months ago
2024-02-06 18:37:44,260 [ERROR] bbot.scanner scanner.py:1059 Error in gowitness.handle_batch(): /root/bbot_dev/bbot/modules/gowitness.py:205:new_screenshots(): Could not decode to UTF-8 column 'title' with text '403 - Interdit�: acc�s refus�.'
2024-02-06 18:37:44,261 [TRACE] bbot.scanner scanner.py:1060 Traceback (most recent call last):
  File "/root/bbot_dev/bbot/scanner/scanner.py", line 1042, in _acatch
    yield
  File "/root/bbot_dev/bbot/modules/base.py", line 365, in _handle_batch
    await handle_batch_task
  File "/root/bbot_dev/bbot/modules/gowitness.py", line 142, in handle_batch
    for filename, screenshot in self.new_screenshots.items():
  File "/root/bbot_dev/bbot/modules/gowitness.py", line 205, in new_screenshots
    for row in res:
sqlite3.OperationalError: Could not decode to UTF-8 column 'title' with text '403 - Interdit�: acc�s refus�.'
TheTechromancer commented 8 months ago

Fixed in https://github.com/blacklanternsecurity/bbot/pull/1073. See https://stackoverflow.com/questions/22751363/sqlite3-operationalerror-could-not-decode-to-utf-8-column.