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 28, 2024
1 parent a4bb26b commit 3427c26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions analyzer/windows/modules/auxiliary/disguise.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,8 @@ def randomizeUUID(self):
SetValueEx(key, "MachineGuid", 0, REG_SZ, createdUUID)

def add_persistent_route(self, gateway: str):
self.run_as_system(
["C:\\Windows\\System32\\ROUTE.exe", "-p", "add", "0.0.0.0", "mask", "0.0.0.0", gateway]
)
self.run_as_system(
["C:\\Windows\\System32\\ROUTE.exe", "-p", "change", "0.0.0.0", "mask", "0.0.0.0", gateway]
)
self.run_as_system(["C:\\Windows\\System32\\ROUTE.exe", "-p", "add", "0.0.0.0", "mask", "0.0.0.0", gateway])
self.run_as_system(["C:\\Windows\\System32\\ROUTE.exe", "-p", "change", "0.0.0.0", "mask", "0.0.0.0", gateway])

def start(self):
if self.config.windows_static_route:
Expand Down

0 comments on commit 3427c26

Please sign in to comment.