Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 18, 2024
1 parent 9a30d93 commit 3407637
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/modules/dnsbrute_mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def add_mutation(m):
self._mutation_run_counter[domain] = mutation_run = 1
self._mutation_run_counter[domain] += 1
for hostname in results:
parent_event = self.get_parent_event(hostname)
parent_event = await self.get_parent_event(hostname)
mutation_run_ordinal = self.helpers.integer_to_ordinal(mutation_run)
await self.emit_event(
hostname,
Expand Down
3 changes: 3 additions & 0 deletions bbot/modules/trufflehog.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ async def handle_event(self, event):
module = "filesystem"
elif event.type == "HTTP_RESPONSE":
module = "filesystem"
# write the response to a tempfile
# this is necessary because trufflehog doesn't yet support reading from stdin
# https://github.com/trufflesecurity/trufflehog/issues/162
path = self.helpers.tempfile(event.raw_response, pipe=False)

if event.type == "CODE_REPOSITORY":
Expand Down

0 comments on commit 3407637

Please sign in to comment.