Skip to content

Commit

Permalink
Merge pull request #498 from blacklanternsecurity/async-optimize
Browse files Browse the repository at this point in the history
missing await
  • Loading branch information
liquidsec authored Sep 30, 2024
2 parents d378e95 + a0332c4 commit 6c8762c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion baddns/modules/references.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async def process_cname_analysis(self, parsed_results):
"direct_mode": direct_mode,
}
cname_findings.append(finding)
cname_instance.cleanup()
await cname_instance.cleanup()
return cname_findings

async def dispatch(self):
Expand Down
4 changes: 2 additions & 2 deletions baddns/modules/txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def dispatch(self):
"trigger": self.target_dnsmanager.target,
}
)
cname_instance_direct.cleanup()
await cname_instance_direct.cleanup()

cname_instance = BadDNS_cname(
host,
Expand All @@ -79,7 +79,7 @@ async def dispatch(self):
"trigger": self.target_dnsmanager.target,
}
)
cname_instance.cleanup()
await cname_instance.cleanup()

return True

Expand Down

0 comments on commit 6c8762c

Please sign in to comment.