The recursive internet scanner for hackers. 🧡
Python asmattack-surface-managementautomationbugbountyclieasmhackingneo4josintosint-frameworkpentestingpythonreconrecursionscannersubdomain-enumerationsubdomain-scannersubdomainsthreat-intelligencethreatintel
Add module setup troubleshooting notes (#3228)
Kral00f85bd8e53a
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.mdindex 2e620514b..8d6546ab7 100644--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@ -24,6 +24,47 @@ bbot --help## `ModuleNotFoundError`If you run into a `ModuleNotFoundError`, try running your `bbot` command again with `--force-deps`. This will repair your modules' Python dependencies.+## Missing module commands or API key warnings+Some BBOT modules need an external command-line tool, an API key, or both. If a scan warns that a module is not installed, cannot import a dependency, or is missing an API key, use this quick checklist before filing an issue:++```bash+# show the BBOT version and confirm the active executable+bbot --version+which bbot++# inspect the module's options and requirements, including any api_key+bbot -mh <module_name>+```++If the module requires an API key, put it in `secrets.yml` under the module's name:++```yaml title="~/.config/bbot/secrets.yml"+modules:+ shodan_dns:+ api_key: "YOUR_API_KEY_HERE"+```++You can also keep the key out of that file and pass it for a single run:++```bash+bbot -t example.com -m shodan_dns -c modules.shodan_dns.api_key=$SHODAN_API_KEY+```++After changing config, run a small scan with only the affected module so the error is easier to read. Dependencies install when a scan runs, so this is also what repairs them:++```bash+bbot -t example.com -m <module_name> --force-deps -v+```++For third-party command-line tools that BBOT does not install automatically, verify they are on your `PATH` from the same shell that runs BBOT:++```bash+command -v <tool_name>+<tool_name> --version+```++If the command works in your terminal but BBOT still cannot find it, check that your shell startup files and service environment export the same `PATH`.+## Clear BBOT CacheBBOT caches module data, wordlists, and other resources under `~/.bbot`. After an upgrade, stale cache files can sometimes cause unexpected errors. If you're seeing strange behavior after updating, try clearing it: