
ハッカーのための再帰的インターネットスキャナー。🧡
https://github.com/blacklanternsecurity/bbot/assets/20261699/e539e89b-92ea-46fa-b893-9cde94eebf81
リアルタイムでの BBOT スキャン - VivaGraphJS による可視化
# stable version
pipx install bbot
# bleeding edge (dev branch)
pipx install --pip-args '\--pre' bbot
Docker を含むその他のインストール方法については、Getting Started を参照してください。
3.0 からのアップグレードですか? 既存のプリセット、設定、カスタムモジュール、出力に影響を与える可能性のある変更については、3.0 → 3.1 移行ガイド (ソース) を参照してください。
2.x からのアップグレードですか? BBOT 3.0 には、CLI、プリセット、モジュール、イベント、Python API に対する破壊的変更が含まれています。アップグレードする前に 2.x → 3.0 移行ガイド (ソース) を参照してください。
速度向上のヒント: BBOT の DNS リゾルバ (blastdns) は、
/etc/resolv.conf内のリゾルバごとに複数のスレッドを起動します。フィルタリングされていないリゾルバを追加すると、スキャンが劇的に高速化されます。詳細については、サンプル resolv.conf と Tips and Tricks を参照してください。
パッシブ API ソースに加え、ターゲット固有のサブドメインミューテーションを用いた再帰的な DNS ブルートフォースを実行します。
# find subdomains of evilcorp.com
bbot -t evilcorp.com -p subdomain-enum
# passive sources only
bbot -t evilcorp.com -p subdomain-enum -rf passive
subdomain-enum.ymldescription: Enumerate subdomains via APIs, brute-force
flags:
# enable every module with the subdomain-enum flag
- subdomain-enum
output_modules:
# output unique subdomains to TXT file
- subdomains
config:
dns:
brute_threads: 1000
# put your API keys here
# modules:
# github:
# api_key: ""
# chaos:
# api_key: ""
# securitytrails:
# api_key: ""
BBOT は他のツールよりも一貫して 20~50% 多くサブドメインを発見します。ドメインが大きくなるほど、その差は大きくなります。これがどのように可能なのかを知るには、How It Works を参照してください。

# crawl evilcorp.com, extracting emails and other goodies
bbot -t evilcorp.com -p spider
spider.ymldescription: Recursive web spider
modules:
- http
blacklist:
# Prevent spider from invalidating sessions by logging out
- "RE:/.*(sign|log)[_-]?out"
config:
web:
# how many links to follow in a row
spider_distance: 2
# don't follow links whose directory depth is higher than 4
spider_depth: 4
# maximum number of links to follow per page
spider_links_per_page: 25
# quick email enum with free APIs + scraping
bbot -t evilcorp.com -p email-enum
# pair with subdomain enum + web spider for maximum yield
bbot -t evilcorp.com -p email-enum subdomain-enum spider
email-enum.ymldescription: Enumerate email addresses from APIs, web crawling, etc.
flags:
- email-enum
output_modules:
- emails
# run a light web scan against www.evilcorp.com
bbot -t www.evilcorp.com -p web
# run a heavy web scan against www.evilcorp.com
bbot -t www.evilcorp.com -p web-heavy
web.ymldescription: Quick web scan
include:
- iis-shortnames
flags:
- web
web-heavy.ymldescription: Aggressive web scan
include:
# include the web preset
- web
flags:
- web-heavy
# everything everywhere all at once
bbot -t evilcorp.com -p kitchen-sink
# roughly equivalent to:
bbot -t evilcorp.com -p subdomain-enum cloud-enum code-enum email-enum spider web paramminer webbrute web-screenshots
kitchen-sink.ymldescription: Everything everywhere all at once
include:
- subdomain-enum
- cloud-enum
- code-enum
- email-enum
- spider
- web
- paramminer
- webbrute
- web-screenshots
- baddns-heavy
config:
modules:
dnsbrute:
recursive_mutations: true
dnscommonsrv:
recursive_mutations: true
webbrute:
avoid_wafs: False
wayback:
urls: True
parameters: True
archive: True
以下のグラフをクリックして、BBOT の内部動作を確認してください。