Skip to content

Commit

Permalink
style: Automatic code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 2, 2024
1 parent 852ba06 commit 693767b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/signatures/windows/lolbas.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def run(self):
cmdlines = self.results.get("behavior", {}).get("summary", {}).get("executed_commands", [])
for cmdline in cmdlines:
lower = cmdline.lower()
if ("conhost.exe" in lower and
any(process in lower for process in ("cmd /c", "powershell", "script", "mshta", "curl"))):
if "conhost.exe" in lower and any(process in lower for process in ("cmd /c", "powershell", "script", "mshta", "curl")):
self.data.append({"command": cmdline})
return True
return False
Expand Down

0 comments on commit 693767b

Please sign in to comment.