forked from p34709852/monkey
Pass empty string to linux_cmds if OS is windows
This commit is contained in:
parent
dfa34e602f
commit
3fe4dd679b
|
@ -20,7 +20,7 @@ class ModifyShellStartupFiles(PBA):
|
||||||
|
|
||||||
if is_windows_os():
|
if is_windows_os():
|
||||||
super(ModifyShellStartupFiles, self).__init__(name=POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION,
|
super(ModifyShellStartupFiles, self).__init__(name=POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION,
|
||||||
linux_cmd=' '.join(linux_cmds),
|
linux_cmd='', # windows so won't matter
|
||||||
windows_cmd=windows_cmds)
|
windows_cmd=windows_cmds)
|
||||||
super(ModifyShellStartupFiles, self).run()
|
super(ModifyShellStartupFiles, self).run()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue