forked from p15670423/monkey
Agent: Pass None to telemetry_messenger arg in nested PBA classes
This is not the most ideal way but it gets the job done without the unnecessary complexity of passing the telemetry messenger through different classes and functions when it's not needed.
This commit is contained in:
parent
3f01b9bcac
commit
ca0972f847
|
@ -47,7 +47,7 @@ class ClearCommandHistory(PBA):
|
|||
class ClearCommandHistoryFile(PBA):
|
||||
def __init__(self, linux_cmds):
|
||||
super().__init__(
|
||||
self.telemetry_messenger,
|
||||
telemetry_messenger=None,
|
||||
name=POST_BREACH_CLEAR_CMD_HISTORY,
|
||||
linux_cmd=linux_cmds,
|
||||
)
|
||||
|
|
|
@ -64,7 +64,7 @@ class ModifyShellStartupFiles(PBA):
|
|||
class ModifyShellStartupFile(PBA):
|
||||
def __init__(self, linux_cmds, windows_cmds):
|
||||
super().__init__(
|
||||
self.telemetry_messenger,
|
||||
telemetry_messenger=None,
|
||||
name=POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION,
|
||||
linux_cmd=linux_cmds,
|
||||
windows_cmd=windows_cmds,
|
||||
|
|
Loading…
Reference in New Issue