Skip to content

Commit

Permalink
use full binary path
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Feb 7, 2024
1 parent d9efdc6 commit d37c0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/modules/gowitness.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def setup(self):
for binary in ("chrome", "chromium", custom_chrome_path):
binary_path = self.helpers.which(binary)
if binary_path and Path(binary_path).is_file():
chrome_test_proc = await self.helpers.run([binary, "--version"])
chrome_test_proc = await self.helpers.run([binary_path, "--version"])
if getattr(chrome_test_proc, "returncode", 1) == 0:
self.verbose(f"Found chrome executable at {binary_path}")
chrome_test_pass = True
Expand Down

0 comments on commit d37c0a3

Please sign in to comment.