-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Dec 18, 2024
1 parent
48c0859
commit 9a30d93
Showing
9 changed files
with
133 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
bbot/test/test_step_2/module_tests/test_module_secretsdb.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1240,3 +1240,17 @@ def check(self, module_test, events): | |
and Path(e.data["path"]).is_file() | ||
] | ||
), "Failed to find blacklanternsecurity postman workspace" | ||
|
||
|
||
class TestTrufflehog_HTTPResponse(ModuleTestBase): | ||
targets = ["http://127.0.0.1:8888"] | ||
modules_overrides = ["httpx", "trufflehog"] | ||
config_overrides = {"modules": {"trufflehog": {"only_verified": False}}} | ||
|
||
async def setup_before_prep(self, module_test): | ||
expect_args = {"method": "GET", "uri": "/"} | ||
respond_args = {"response_data": "https://admin:[email protected]"} | ||
module_test.set_expect_requests(expect_args=expect_args, respond_args=respond_args) | ||
|
||
def check(self, module_test, events): | ||
assert any(e.type == "FINDING" for e in events) |
Oops, something went wrong.