blacklanternsecurity / bbot

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

Stdout dies mid-scan #1414

Closed TheTechromancer closed 1 month ago

TheTechromancer commented 1 month ago

During large scans, stdout sometimes stops working. Status messages are still printed via stderr, and output.txt continues to have events written to it. But no stdout is output to the console.

I was able to reliably reproduce this with the following command:

bbot -t ea.com -f safe passive -p spider subdomain-enum -em gowitness hunt

Stdout dies roughly thirty seconds into this scan.

TheTechromancer commented 1 month ago

Did some troubleshooting and found some even stranger behavior. Stdout doesn't die suddenly; it has "gaps" where twenty or thirty lines will mysteriously disappear into nowhere, and then it will resume again normally. This seems to happen several times, losing roughly half of the lines, before stdout completely dies.

Here's what I've tried so far:

TheTechromancer commented 1 month ago

It has to be a module, right?

TheTechromancer commented 1 month ago

@liquidsec you're in trouble 👀

TheTechromancer commented 1 month ago

Fixed in https://github.com/blacklanternsecurity/bbot/pull/1417.