Skip to content

Commit 09d018c

Browse files
Merge pull request #2757 from TrebledJ/feat/download-flag-to-stable
feat: introduce new `download` flag to modules
2 parents 1ce5617 + 9257a48 commit 09d018c

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

bbot/core/flags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"cloud-enum": "Enumerates cloud resources",
77
"code-enum": "Find public code repositories and search them for secrets etc.",
88
"deadly": "Highly aggressive",
9+
"download": "Modules that download files, apps, or repositories",
910
"email-enum": "Enumerates email addresses",
1011
"iis-shortnames": "Scans for IIS Shortname vulnerability",
1112
"passive": "Never connects to target systems",

bbot/modules/apkpure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class apkpure(BaseModule):
77
watched_events = ["MOBILE_APP"]
88
produced_events = ["FILESYSTEM"]
9-
flags = ["passive", "safe", "code-enum"]
9+
flags = ["passive", "safe", "code-enum", "download"]
1010
meta = {
1111
"description": "Download android applications from apkpure.com",
1212
"created_date": "2024-10-11",

bbot/modules/docker_pull.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class docker_pull(BaseModule):
99
watched_events = ["CODE_REPOSITORY"]
1010
produced_events = ["FILESYSTEM"]
11-
flags = ["passive", "safe", "slow", "code-enum"]
11+
flags = ["passive", "safe", "slow", "code-enum", "download"]
1212
meta = {
1313
"description": "Download images from a docker repository",
1414
"created_date": "2024-03-24",

bbot/modules/filedownload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class filedownload(BaseModule):
1414

1515
watched_events = ["URL_UNVERIFIED", "HTTP_RESPONSE"]
1616
produced_events = ["FILESYSTEM"]
17-
flags = ["active", "safe", "web-basic"]
17+
flags = ["active", "safe", "web-basic", "download"]
1818
meta = {
1919
"description": "Download common filetypes such as PDF, DOCX, PPTX, etc.",
2020
"created_date": "2023-10-11",

bbot/modules/git_clone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class git_clone(github):
77
watched_events = ["CODE_REPOSITORY"]
88
produced_events = ["FILESYSTEM"]
9-
flags = ["passive", "safe", "slow", "code-enum"]
9+
flags = ["passive", "safe", "slow", "code-enum", "download"]
1010
meta = {
1111
"description": "Clone code github repositories",
1212
"created_date": "2024-03-08",

bbot/modules/gitdumper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class gitdumper(BaseModule):
88
watched_events = ["CODE_REPOSITORY"]
99
produced_events = ["FILESYSTEM"]
10-
flags = ["passive", "safe", "slow", "code-enum"]
10+
flags = ["passive", "safe", "slow", "code-enum", "download"]
1111
meta = {
1212
"description": "Download a leaked .git folder recursively or by fuzzing common names",
1313
"created_date": "2025-02-11",

bbot/modules/github_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class github_workflows(github):
99
watched_events = ["CODE_REPOSITORY"]
1010
produced_events = ["FILESYSTEM"]
11-
flags = ["passive", "safe", "code-enum"]
11+
flags = ["passive", "safe", "code-enum", "download"]
1212
meta = {
1313
"description": "Download a github repositories workflow logs and workflow artifacts",
1414
"created_date": "2024-04-29",

bbot/modules/postman_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class postman_download(postman):
88
watched_events = ["CODE_REPOSITORY"]
99
produced_events = ["FILESYSTEM"]
10-
flags = ["passive", "subdomain-enum", "safe", "code-enum"]
10+
flags = ["passive", "subdomain-enum", "safe", "code-enum", "download"]
1111
meta = {
1212
"description": "Download workspaces, collections, requests from Postman",
1313
"created_date": "2024-09-07",

0 commit comments

Comments
 (0)