Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev --> Stable (2.1.0) #1724

Merged
merged 367 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
367 commits
Select commit Hold shift + click to select a range
3f5cf30
Bump pydantic from 2.9.0 to 2.9.1
dependabot[bot] Sep 16, 2024
dc79b31
Merge pull request #1772 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 16, 2024
cc476a3
Merge pull request #1773 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 16, 2024
daa9955
Merge pull request #1774 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 16, 2024
d07fa56
Merge pull request #1776 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 16, 2024
023ae04
Merge pull request #1777 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 16, 2024
f0ba024
Bump urllib3 from 2.2.1 to 2.2.3
dependabot[bot] Sep 16, 2024
b77a022
baddns direct initial storage bucket / cloudflare
liquidsec Sep 16, 2024
8e1736b
Merge branch 'baddns-enhance' into baddns-direct
liquidsec Sep 16, 2024
f5f4cc3
Merge pull request #1778 from blacklanternsecurity/baddns-direct
liquidsec Sep 16, 2024
c82585a
adding direct to preset
liquidsec Sep 16, 2024
f6c19a0
flake8
liquidsec Sep 16, 2024
e725cec
missing return
liquidsec Sep 16, 2024
3a8636c
fix output_dir preset bug
invalid-email-address Sep 17, 2024
3f6051a
await canceled tasks
invalid-email-address Sep 17, 2024
4e92e29
fix tests
invalid-email-address Sep 17, 2024
b1bed05
Add a new module to download postman workspaces
domwhewell-sage Sep 18, 2024
e19416d
Add a description for the api_key
domwhewell-sage Sep 18, 2024
074cfa1
Merge pull request #1782 from domwhewell-sage/postman_download_module
TheTechromancer Sep 19, 2024
c8b15ff
add description
invalid-email-address Sep 19, 2024
447356d
fix tests
invalid-email-address Sep 20, 2024
85509bd
description
invalid-email-address Sep 20, 2024
46df97a
more test things
invalid-email-address Sep 20, 2024
a32e216
misc bugfixes
invalid-email-address Sep 20, 2024
803c114
Validate the workspace is in-scope first before downloading
domwhewell-sage Sep 20, 2024
581ceba
fix import error
invalid-email-address Sep 20, 2024
ef50e27
Remove if statement as postman download will validate before download…
domwhewell-sage Sep 20, 2024
4b79a63
Change logging types in docker_pull
domwhewell-sage Sep 20, 2024
5644bfa
fix dnsbrute tests
invalid-email-address Sep 20, 2024
058a816
add yara helper for extracting in-scope dns names
invalid-email-address Sep 20, 2024
298ff62
add helper for extracting in-scope hostnames
invalid-email-address Sep 21, 2024
126d317
work on tests
invalid-email-address Sep 21, 2024
c58cf71
more work on tests
invalid-email-address Sep 21, 2024
8e54790
better debugging for https://github.com/blacklanternsecurity/bbot/iss…
invalid-email-address Sep 21, 2024
9cb8981
Merge pull request #1775 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 21, 2024
0a85f35
bump version
invalid-email-address Sep 21, 2024
0880d48
Merge branch 'dev' into docker_pull_bug
domwhewell-sage Sep 22, 2024
367e970
Merge pull request #1788 from domwhewell-sage/docker_pull_bug
TheTechromancer Sep 22, 2024
83f47dc
Bump mkdocs-material from 9.5.34 to 9.5.36
dependabot[bot] Sep 23, 2024
57d0d0d
Bump mmh3 from 4.1.0 to 5.0.1
dependabot[bot] Sep 23, 2024
d36b2af
Bump pytest-env from 1.1.4 to 1.1.5
dependabot[bot] Sep 23, 2024
86417cd
Bump pydantic from 2.9.1 to 2.9.2
dependabot[bot] Sep 23, 2024
98fd3be
Merge pull request #1789 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 23, 2024
b96a0be
Merge pull request #1790 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 23, 2024
d326fc0
Merge pull request #1792 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 23, 2024
7468f4a
Merge pull request #1793 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 23, 2024
9c6a59c
Bump cloudcheck from 5.0.1.547 to 5.0.1.571
dependabot[bot] Sep 23, 2024
b2f4988
Merge pull request #1796 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 23, 2024
8a3916d
Merge pull request #1761 from blacklanternsecurity/scan-finish-event
TheTechromancer Sep 23, 2024
f388d1f
Merge pull request #1781 from blacklanternsecurity/misc-improvements
TheTechromancer Sep 23, 2024
4b0be8a
removing debugging
liquidsec Sep 23, 2024
d74e3df
flake
liquidsec Sep 23, 2024
d5f98c9
adding baddns direct initial test
liquidsec Sep 23, 2024
399e36b
black
liquidsec Sep 24, 2024
eaf95fb
Update trufflehog
web-flow Sep 25, 2024
0415e32
Merge pull request #1797 from blacklanternsecurity/update-trufflehog
TheTechromancer Sep 25, 2024
b44d6fc
Update trufflehog
web-flow Sep 26, 2024
e1ba4ca
Merge pull request #1799 from blacklanternsecurity/update-trufflehog
TheTechromancer Sep 26, 2024
290c716
update docstring
invalid-email-address Sep 26, 2024
b0472f6
Update nuclei
web-flow Sep 27, 2024
1c316f5
Update trufflehog
web-flow Sep 27, 2024
f02abc1
Merge pull request #1801 from blacklanternsecurity/update-trufflehog
TheTechromancer Sep 27, 2024
ee7d9bc
Merge pull request #1800 from blacklanternsecurity/update-nuclei
TheTechromancer Sep 27, 2024
df920ca
update docs
invalid-email-address Sep 27, 2024
e478c8c
update docs only on non-published branches
invalid-email-address Sep 27, 2024
a076f7c
Update nuclei
web-flow Sep 29, 2024
ae27e54
Merge pull request #1803 from blacklanternsecurity/update-nuclei
TheTechromancer Sep 29, 2024
71516f8
bump baddns version
liquidsec Sep 29, 2024
977be27
baddns presets adjust
liquidsec Sep 29, 2024
d2b3a47
Merge pull request #1798 from blacklanternsecurity/dns-regex-yara-helper
TheTechromancer Sep 29, 2024
61997ce
Merge branch 'dev' into baddns-enhance
liquidsec Sep 29, 2024
baefedb
Bump mkdocs-material from 9.5.36 to 9.5.39
dependabot[bot] Sep 30, 2024
3bbbb02
Merge branch 'dev' into postman_improve_scope_validation
domwhewell-sage Sep 30, 2024
64241b8
Added in scope validator using the helper & a workspace that is out-o…
domwhewell-sage Sep 30, 2024
fa9cf75
Merge pull request #1807 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Sep 30, 2024
b00c7d0
fix docs autopublish
invalid-email-address Sep 30, 2024
ebf9b74
Merge branch 'dev' into baddns-enhance
liquidsec Sep 30, 2024
3cd739c
Simplify entire workspace into single string
domwhewell-sage Sep 30, 2024
92a68f2
extract hostnames from whitelist only, not target
invalid-email-address Sep 30, 2024
78c2d1b
needs test
invalid-email-address Sep 30, 2024
525f63b
revise releases page
invalid-email-address Sep 30, 2024
d326413
Merge pull request #1809 from blacklanternsecurity/dns-extract-whitel…
TheTechromancer Sep 30, 2024
8d9479b
As in-scope hostnames only are returned change to if statement so the…
domwhewell-sage Sep 30, 2024
893a94b
Merge branch 'dev' into postman_improve_scope_validation
domwhewell-sage Sep 30, 2024
6233b5c
Merge pull request #1808 from blacklanternsecurity/fix-docs-autopublish
TheTechromancer Sep 30, 2024
2b935e5
adding cleanup calls
liquidsec Sep 30, 2024
c01f826
Merge branch 'baddns-enhance' of https://github.com/blacklanternsecur…
liquidsec Sep 30, 2024
7a021f9
more efficient task handling
liquidsec Sep 30, 2024
99d93c5
Change warning to verbose
domwhewell-sage Sep 30, 2024
3b52525
Merge pull request #1787 from domwhewell-sage/postman_improve_scope_v…
TheTechromancer Sep 30, 2024
4eb472e
Trufflehog now accepts postman workspaces
domwhewell-sage Oct 1, 2024
58486c5
support multiple API keys, WIP
invalid-email-address Sep 30, 2024
1e87e6d
fix conflict
invalid-email-address Oct 1, 2024
87fed35
log messages
invalid-email-address Sep 30, 2024
d953f70
fix race condition in tests
invalid-email-address Oct 1, 2024
39d9a07
bumping baddns version
liquidsec Oct 1, 2024
8a863a6
api page iter
invalid-email-address Oct 1, 2024
786105b
baddns_zone update version
liquidsec Oct 1, 2024
87e83c0
update poetry.lock
liquidsec Oct 1, 2024
e67b7b2
bumping baddns version (again)
liquidsec Oct 1, 2024
d66dd1a
fixing tests
invalid-email-address Oct 1, 2024
7b40b9c
adding more rubust test cleanup
liquidsec Oct 1, 2024
2280a86
black
liquidsec Oct 1, 2024
28770af
Revert "adding more rubust test cleanup"
liquidsec Oct 1, 2024
57acbe3
explicitly setting asyncio test mode to module
liquidsec Oct 1, 2024
b475562
explicitly setting asyncio test value..
liquidsec Oct 1, 2024
479ec7b
fix trickest tests
invalid-email-address Oct 1, 2024
dc25e10
switching to function mode
liquidsec Oct 1, 2024
b36e1e8
test abort threshold
invalid-email-address Oct 1, 2024
aa4a837
flaked
invalid-email-address Oct 1, 2024
aadbbe9
Merge pull request #1811 from domwhewell-sage/trufflehog-scan_postman
TheTechromancer Oct 1, 2024
e27ef6b
temporary test
liquidsec Oct 1, 2024
adcd558
temporary test 2
liquidsec Oct 1, 2024
6e77918
temporary test 3
liquidsec Oct 1, 2024
ce1fcd1
only patch requests once
invalid-email-address Oct 1, 2024
c1532c2
Revert "temporary test 3"
liquidsec Oct 1, 2024
4023f58
Revert "temporary test 2"
liquidsec Oct 1, 2024
3520b4e
Revert "temporary test"
liquidsec Oct 1, 2024
713dd21
banning .'s from vhost wordlists
liquidsec Oct 1, 2024
94afc7b
black
liquidsec Oct 1, 2024
fe6ad76
Merge pull request #1813 from blacklanternsecurity/vhost-repeat-bug
liquidsec Oct 2, 2024
f2479ba
more tests
invalid-email-address Oct 2, 2024
8a6ad3d
fix tests
invalid-email-address Oct 2, 2024
a2125c4
fix zoomeye
invalid-email-address Oct 2, 2024
41920b7
Merge pull request #1810 from blacklanternsecurity/multi-api-keys
liquidsec Oct 2, 2024
de4809e
Merge branch 'dev' into baddns-enhance
liquidsec Oct 2, 2024
d50def2
Merge branch 'dev' into sanitization-error-fix
TheTechromancer Oct 2, 2024
0d0a7f0
fixing bug with confirmation detection
liquidsec Oct 2, 2024
cef76c2
black
liquidsec Oct 2, 2024
a469c55
flake8
liquidsec Oct 2, 2024
4a5c0a8
black again
liquidsec Oct 2, 2024
f1a18ee
Merge pull request #1762 from blacklanternsecurity/baddns-enhance
TheTechromancer Oct 2, 2024
b713d85
improved yara full url regex
liquidsec Oct 2, 2024
c563314
Merge pull request #1814 from blacklanternsecurity/shortnames-falsepo…
liquidsec Oct 2, 2024
52a4cab
filedownload, http output module tweaks
invalid-email-address Oct 2, 2024
6744ddd
Merge pull request #1709 from blacklanternsecurity/sanitization-error…
liquidsec Oct 2, 2024
cf19f03
flaked
invalid-email-address Oct 2, 2024
66c4cfa
fix autopublish
invalid-email-address Oct 3, 2024
21fd6fe
merging author names
liquidsec Oct 3, 2024
b874032
names
liquidsec Oct 3, 2024
4e69080
Merge pull request #1818 from blacklanternsecurity/liquidsec-author
liquidsec Oct 3, 2024
a608f3e
names
invalid-email-address Oct 3, 2024
0aad57e
Merge pull request #1816 from blacklanternsecurity/misc-improvements
TheTechromancer Oct 3, 2024
09252f3
fix duplicate uuid for scan events
invalid-email-address Oct 4, 2024
5b17891
added tests
invalid-email-address Oct 4, 2024
80b466a
ensure status
invalid-email-address Oct 4, 2024
b4ec45a
fixing bug with parent_url when querystring is present
liquidsec Oct 4, 2024
23acdbf
black
liquidsec Oct 4, 2024
495a452
helper to test parent_url helper
liquidsec Oct 4, 2024
2054428
Merge pull request #1820 from blacklanternsecurity/parent-url-bug
liquidsec Oct 5, 2024
4a95c1e
Merge pull request #1819 from blacklanternsecurity/misc-small-bugfixes
TheTechromancer Oct 5, 2024
d0ab234
add subdomainradar.io module
invalid-email-address Oct 6, 2024
ce00470
fix trufflehog macos url
invalid-email-address Oct 6, 2024
c0a6bbb
Bump pycryptodome from 3.20.0 to 3.21.0
dependabot[bot] Oct 7, 2024
25c1d75
Bump pre-commit from 3.8.0 to 4.0.0
dependabot[bot] Oct 7, 2024
00ffd00
Bump dnspython from 2.6.1 to 2.7.0
dependabot[bot] Oct 7, 2024
889c7a3
Merge pull request #1826 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 7, 2024
88f549e
Merge pull request #1828 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 7, 2024
4a1f353
Merge pull request #1827 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 7, 2024
1ced3dc
Merge pull request #1825 from blacklanternsecurity/trufflehog-mac-fix
TheTechromancer Oct 7, 2024
e42e0e4
zesty
invalid-email-address Oct 7, 2024
95c0a9c
update description
invalid-email-address Oct 7, 2024
5329ed1
blacked
invalid-email-address Oct 7, 2024
fd835e6
Merge branch 'dev' into subdomainradar.io
TheTechromancer Oct 7, 2024
bfd4547
gracefully handle timeouts/finish
invalid-email-address Oct 7, 2024
80d6496
Update trufflehog
web-flow Oct 8, 2024
e91711c
Merge pull request #1829 from blacklanternsecurity/update-trufflehog
TheTechromancer Oct 8, 2024
5e6c433
general cleanup for ping() function
invalid-email-address Oct 8, 2024
a22c1c2
small cleanups
invalid-email-address Oct 8, 2024
2a4e88f
comments
invalid-email-address Oct 8, 2024
0711320
fix c99 ping
invalid-email-address Oct 8, 2024
469435f
Adding playstore module WIP
domwhewell-sage Oct 8, 2024
3e5c13b
added in filter event
domwhewell-sage Oct 8, 2024
469fbc6
trufflehog fix
domwhewell-sage Oct 9, 2024
d6200be
fix github_org api key bug
invalid-email-address Oct 9, 2024
1165460
Merge pull request #1824 from blacklanternsecurity/subdomainradar.io
TheTechromancer Oct 9, 2024
94f1c16
Move folder crawling to speculate
domwhewell-sage Oct 10, 2024
b4a343b
Remove unstructured from trufflehog test as not required & set gitclo…
domwhewell-sage Oct 10, 2024
f11a64b
Merge pull request #1836 from domwhewell-sage/folder_crawling
TheTechromancer Oct 10, 2024
ace8a7c
Merge branch 'dev' into trufflehog_accepting_parsed_files
domwhewell-sage Oct 10, 2024
4196b20
Merge pull request #1834 from domwhewell-sage/trufflehog_accepting_pa…
TheTechromancer Oct 10, 2024
fba30f6
Update trufflehog
web-flow Oct 11, 2024
b5587df
Merge pull request #1837 from blacklanternsecurity/update-trufflehog
TheTechromancer Oct 11, 2024
6f25268
Remove the `_data_validator` from `MOBILE_APP` event
domwhewell-sage Oct 11, 2024
be9ddad
Convert excavate to intercept module
invalid-email-address Oct 14, 2024
8642bc3
remove old login page helper
invalid-email-address Oct 14, 2024
ac983ec
flaked
invalid-email-address Oct 14, 2024
3fc0ef7
fix excavate tests
invalid-email-address Oct 14, 2024
1b039f5
Bump mkdocstrings-python from 1.11.1 to 1.12.0
dependabot[bot] Oct 14, 2024
8d9984b
Bump mkdocstrings from 0.26.1 to 0.26.2
dependabot[bot] Oct 14, 2024
0390043
Bump black from 24.8.0 to 24.10.0
dependabot[bot] Oct 14, 2024
0754577
Bump pre-commit from 4.0.0 to 4.0.1
dependabot[bot] Oct 14, 2024
ff6d47e
Bump cloudcheck from 5.0.1.571 to 5.0.1.595
dependabot[bot] Oct 14, 2024
2ba4d68
Bump mkdocs-material from 9.5.39 to 9.5.40
dependabot[bot] Oct 14, 2024
cfbe78a
Merge pull request #1845 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
e250b21
Merge pull request #1846 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
af83b2b
Merge pull request #1847 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
761a18c
Merge pull request #1848 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
29c5702
Merge pull request #1849 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
6f6b454
Merge pull request #1850 from blacklanternsecurity/dependabot/pip/dev…
TheTechromancer Oct 14, 2024
6211cd3
Change the validate function to use the async helpers
domwhewell-sage Oct 14, 2024
8d0add4
added new module
domwhewell-sage Oct 14, 2024
c59ab92
fix excavate tests
invalid-email-address Oct 15, 2024
d63ca27
replace beautifulsoup with regex helper
invalid-email-address Oct 15, 2024
f614557
fixing in-scope hostname extraction
invalid-email-address Oct 15, 2024
5ab09d1
fix stats tests
invalid-email-address Oct 15, 2024
8ed9153
Merge pull request #1831 from domwhewell-sage/google_playstore
TheTechromancer Oct 15, 2024
90d6799
Merge branch 'dev' into apkpure
domwhewell-sage Oct 15, 2024
cb21aeb
Added a mock apk file to the test
domwhewell-sage Oct 15, 2024
574e88f
Update trufflehog
web-flow Oct 16, 2024
8bccc77
Merge pull request #1855 from blacklanternsecurity/update-trufflehog
TheTechromancer Oct 16, 2024
8df7de0
Merge pull request #1851 from domwhewell-sage/apkpure
TheTechromancer Oct 16, 2024
e81a549
fix queue bug
invalid-email-address Oct 16, 2024
8c65e98
Merge pull request #1844 from blacklanternsecurity/excavate-intercept
TheTechromancer Oct 16, 2024
1a3510f
unify api_page_iter subdomain enum modules, paginate shodan dns
invalid-email-address Oct 11, 2024
0d9c301
fix netloc tests
invalid-email-address Oct 11, 2024
16237cc
netloc stuff
invalid-email-address Oct 11, 2024
c7416c4
fix builtwith test
invalid-email-address Oct 11, 2024
835cbb8
add .port field to JSON
invalid-email-address Oct 11, 2024
c0b6367
open port tweak
invalid-email-address Oct 11, 2024
856a362
consider .internal attribute in outgoing deduping
invalid-email-address Oct 13, 2024
f63e112
also consider always_emit
invalid-email-address Oct 13, 2024
bfb6799
fix hash
invalid-email-address Oct 13, 2024
dbca7ed
allow merging targets
invalid-email-address Oct 13, 2024
406a58c
don't make netlocs for ip networks
invalid-email-address Oct 13, 2024
fbb54fd
update scope tests
invalid-email-address Oct 14, 2024
7d6e25a
fixed excavate test
invalid-email-address Oct 14, 2024
0f7c266
resolve conflicts
invalid-email-address Oct 16, 2024
d7478cd
remove critical debug
invalid-email-address Oct 16, 2024
c16fd46
comment out clobbering API keys
invalid-email-address Oct 17, 2024
27c819e
fixing but with dnn installwizard detector
liquidsec Oct 17, 2024
3f1e574
better handling of custom secrets files
liquidsec Oct 17, 2024
b186634
Merge pull request #1857 from blacklanternsecurity/excavate-intercept
TheTechromancer Oct 17, 2024
652d08f
Merge pull request #1863 from blacklanternsecurity/dnn-installwizard-bug
liquidsec Oct 17, 2024
3ff9e8e
Merge pull request #1864 from blacklanternsecurity/badsecrets-customs…
liquidsec Oct 17, 2024
918f3b7
Update trufflehog
web-flow Oct 18, 2024
0a20c13
Merge pull request #1867 from blacklanternsecurity/update-trufflehog
TheTechromancer Oct 18, 2024
7d6a57e
handle bad chars in matched data
liquidsec Oct 18, 2024
7595ff7
black
liquidsec Oct 18, 2024
4bd16b7
fixing bugs with generic_ssrf
liquidsec Oct 18, 2024
e7e5c6a
Merge pull request #1868 from blacklanternsecurity/yara-handle-bad-chars
liquidsec Oct 18, 2024
481bd35
fix preset bug
invalid-email-address Oct 18, 2024
cc83d6c
blacked
invalid-email-address Oct 18, 2024
c6f445b
fix tests
invalid-email-address Oct 18, 2024
37ae382
Merge pull request #1840 from blacklanternsecurity/shodan-pagination
TheTechromancer Oct 18, 2024
80a65a1
rebase dev
invalid-email-address Oct 18, 2024
29206f0
evilcorp
invalid-email-address Oct 18, 2024
7bbc9e6
Merge pull request #1870 from blacklanternsecurity/generic-ssrf-fix
liquidsec Oct 18, 2024
a3f0bbe
Merge pull request #1872 from blacklanternsecurity/fix-preset-bug
TheTechromancer Oct 18, 2024
7716db3
Merge pull request #1871 from blacklanternsecurity/excavate-intercept
TheTechromancer Oct 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/docs_updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Daily Docs Update

on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC

jobs:
update_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }}
ref: dev # Checkout the dev branch
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Generate docs
run: |
poetry run bbot/scripts/docs.py
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: '["*.md", "docs/data/chord_graph/*.json"]'
author_name: "BBOT Docs Autopublish"
author_email: info@blacklanternsecurity.com
message: "Refresh module docs"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }}
branch: update-docs
base: dev
title: "Daily Docs Update"
body: "This is an automated pull request to update the documentation."
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
update_docs:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/stable')
if: github.event_name == 'push' && (github.ref != 'refs/heads/dev' && github.ref != 'refs/heads/stable')
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -83,11 +83,13 @@ jobs:
author_email: info@blacklanternsecurity.com
message: "Refresh module docs"
publish_docs:
needs: update_docs
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/dev')
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }}
- uses: actions/setup-python@v4
with:
python-version: "3.x"
Expand Down Expand Up @@ -125,7 +127,7 @@ jobs:
git switch gh-pages
git push
publish_code:
needs: update_docs
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/stable')
continue-on-error: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
update-nuclei-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: dev
fetch-depth: 0
token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }}
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -54,16 +55,17 @@ jobs:
# Release notes:
${{ env.release_notes }}
branch: "update-nuclei"
committer: GitHub <noreply@github.com>
author: GitHub <noreply@github.com>
committer: blsaccess <info@blacklanternsecurity.com>
author: blsaccess <info@blacklanternsecurity.com>
assignees: "TheTechromancer"
update-trufflehog-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: dev
fetch-depth: 0
token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }}
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -105,6 +107,6 @@ jobs:
# Release notes:
${{ env.release_notes }}
branch: "update-trufflehog"
committer: GitHub <noreply@github.com>
author: GitHub <noreply@github.com>
committer: blsaccess <info@blacklanternsecurity.com>
author: blsaccess <info@blacklanternsecurity.com>
assignees: "TheTechromancer"
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,17 @@ For more information, see [Targets](https://www.blacklanternsecurity.com/bbot/St

Similar to Amass or Subfinder, BBOT supports API keys for various third-party services such as SecurityTrails, etc.

The standard way to do this is to enter your API keys in **`~/.config/bbot/bbot.yml`**:
The standard way to do this is to enter your API keys in **`~/.config/bbot/bbot.yml`**. Note that multiple API keys are allowed:
```yaml
modules:
shodan_dns:
api_key: 4f41243847da693a4f356c0486114bc6
c99:
api_key: 21a270d5f59c9b05813a72bb41707266
# multiple API keys
api_key:
- 21a270d5f59c9b05813a72bb41707266
- ea8f243d9885cf8ce9876a580224fd3c
- 5bc6ed268ab6488270e496d3183a1a27
virustotal:
api_key: dd5f0eee2e4a99b71a939bded450b246
securitytrails:
Expand Down
2 changes: 0 additions & 2 deletions bbot/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def __init__(self):
self._logger = None
self._files_config = None

self.bbot_sudo_pass = None

self._config = None
self._custom_config = None

Expand Down
7 changes: 4 additions & 3 deletions bbot/core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ async def finished_tasks(self, tasks, timeout=None):
self.log.warning(f"{self.name}: Timeout after {timeout:,} seconds in finished_tasks({tasks})")
for task in tasks:
task.cancel()
self._await_cancelled_task(task)
else:
if not in_exception_chain(e, (KeyboardInterrupt, asyncio.CancelledError)):
self.log.error(f"{self.name}: Unhandled exception in finished_tasks({tasks}): {e}")
Expand All @@ -664,9 +665,9 @@ async def cancel_task(self, client_id):
child_task.cancel()

for task in [parent_task] + list(child_tasks):
await self._cancel_task(task)
await self._await_cancelled_task(task)

async def _cancel_task(self, task):
async def _await_cancelled_task(self, task):
try:
await asyncio.wait_for(task, timeout=10)
except (TimeoutError, asyncio.exceptions.TimeoutError):
Expand All @@ -683,4 +684,4 @@ async def cancel_all_tasks(self):
await self.cancel_task(client_id)
for client_id, tasks in self.child_tasks.items():
for task in tasks:
await self._cancel_task(task)
await self._await_cancelled_task(task)
Loading
Loading