Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benyissa committed Nov 15, 2023
1 parent 93cdf7d commit 4767122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/asteroid_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def process(self, message: m.Message) -> None:
definitions.Exploit
] = exploits_registry.ExploitsRegistry.values()
for exploit in exploits_list:
if exploit.accept(target) is None:
if exploit.accept(target) is False:
continue
vulnz = exploit.check(target)
for vulnerability in vulnz:
Expand Down

0 comments on commit 4767122

Please sign in to comment.