forked from p34709852/monkey
Change file locations
This commit is contained in:
parent
6d98f95d4c
commit
60207e3a79
|
@ -1,6 +1,6 @@
|
||||||
from infection_monkey.utils.linux.shell_startup_files_modification import\
|
from infection_monkey.post_breach.shell_startup_files.linux.shell_startup_files_modification import\
|
||||||
get_linux_commands_to_modify_shell_startup_files
|
get_linux_commands_to_modify_shell_startup_files
|
||||||
from infection_monkey.utils.windows.shell_startup_files_modification import\
|
from infection_monkey.post_breach.shell_startup_files.windows.shell_startup_files_modification import\
|
||||||
get_windows_commands_to_modify_shell_startup_files
|
get_windows_commands_to_modify_shell_startup_files
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,4 @@ def get_windows_commands_to_modify_shell_startup_files():
|
||||||
'cat {0} | Select -last 1 ;'.format(SHELL_STARTUP_FILE), # print last line of $profile
|
'cat {0} | Select -last 1 ;'.format(SHELL_STARTUP_FILE), # print last line of $profile
|
||||||
'$OldProfile = cat {0} | Select -skiplast 1 ;'.format(SHELL_STARTUP_FILE),
|
'$OldProfile = cat {0} | Select -skiplast 1 ;'.format(SHELL_STARTUP_FILE),
|
||||||
'Set-Content {0} -Value $OldProfile ;'.format(SHELL_STARTUP_FILE) # remove last line of $profile
|
'Set-Content {0} -Value $OldProfile ;'.format(SHELL_STARTUP_FILE) # remove last line of $profile
|
||||||
]
|
]
|
Loading…
Reference in New Issue