Skip to content

Commit 09e763d

Browse files
Merge pull request #2457 from Giardi77/dev
Adding scope_distance config for hunt module
2 parents 912d836 + ea4b533 commit 09e763d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

bbot/modules/hunt.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,16 @@
5050
"cfg",
5151
"config",
5252
],
53-
"Directory Traversal": ["entry", "download", "attachment", "basepath", "path", "file", "source", "dest"],
53+
"Directory Traversal": [
54+
"entry",
55+
"download",
56+
"attachment",
57+
"basepath",
58+
"path",
59+
"file",
60+
"source",
61+
"dest",
62+
],
5463
"Local File Include": [
5564
"file",
5665
"document",
@@ -279,8 +288,6 @@ class hunt(BaseModule):
279288
"author": "@liquidsec",
280289
"created_date": "2022-07-20",
281290
}
282-
# accept all events regardless of scope distance
283-
scope_distance_modifier = None
284291

285292
async def handle_event(self, event):
286293
p = event.data["name"]

0 commit comments

Comments
 (0)