Skip to content

Add module setup troubleshooting notes - #3228

Open
dashitongzhi wants to merge 1 commit into
blacklanternsecurity:devfrom
dashitongzhi:docs/bbot-troubleshooting-20260621090901
Open

Add module setup troubleshooting notes#3228
dashitongzhi wants to merge 1 commit into
blacklanternsecurity:devfrom
dashitongzhi:docs/bbot-troubleshooting-20260621090901

Conversation

@dashitongzhi

Copy link
Copy Markdown

Summary

  • Add troubleshooting steps for missing module dependencies, external commands, and API keys
  • Include commands to confirm BBOT version/path, reinstall managed dependencies, inspect module help, and test one affected module
  • Document where to place API keys and how to pass them with -c for a single run

Testing

  • Ran a markdown sanity check to confirm the new section exists and fenced code blocks are balanced

Copilot AI review requested due to automatic review settings June 21, 2026 01:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@liquidsec

Copy link
Copy Markdown
Collaborator

This is probably a good thing to have. However, we are currently in the process of updating the docs for 3.0 release so we will need to let those land first.

@liquidsec
liquidsec changed the base branch from stable to dev June 22, 2026 13:08

@singlerider singlerider left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dashitongzhi, @liquidsec asked you to wait for the 3.0 docs. They landed, so this needs a rebase and docs/troubleshooting.md now conflicts (DIRTY).

I ran every command in the diff against 3.0.1. Four don't do what the text says. Inline.

Comment thread docs/troubleshooting.md
which bbot

# reinstall module dependencies that BBOT manages
bbot --force-deps --help

@singlerider singlerider Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃敶 Blocking. --force-deps only sets deps.behavior = "force_install" (args.py:187); nothing installs until a scan runs. With --help it prints usage and exits. Line 60 already pairs --force-deps with a real scan. Drop this one.

Comment thread docs/troubleshooting.md
bbot --force-deps --help

# inspect the module's documented options and requirements
bbot -ml <module_name>

@singlerider singlerider Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃敶 Blocking. -ml is not a flag:

$ bbot -ml shodan_dns
bbot: error: unrecognized arguments: shodan_dns

Use -mh/--module-help (args.py:357), which prints the module's options including api_key.

Comment thread docs/troubleshooting.md

# inspect the module's documented options and requirements
bbot -ml <module_name>
bbot -m <module_name> --help

@singlerider singlerider Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃敶 Blocking. -m is ignored here; this prints the same global help as plain --help. Fold into -mh above.

Comment thread docs/troubleshooting.md
```yaml
modules:
shodan_dns:
api_key: "YOUR_API_KEY_HERE"

@singlerider singlerider Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃敶 Blocking. API keys go in ~/.config/bbot/secrets.yml, not bbot.yml (docs/scanning/configuration.md:5, and line 45 there has this exact snippet). Line 51 below repeats the error. Fix both, and label the fence yaml title="~/.config/bbot/secrets.yml" to match the other docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants