forked from p34709852/monkey
Remove unnecessary apostrophes from commandline
This commit is contained in:
parent
097d8831c8
commit
ae414bcd13
|
@ -93,7 +93,7 @@ class CommunicateAsNewUser(PBA):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
linux_cmds = BackdoorUser.get_linux_commands_to_add_user(username)
|
linux_cmds = BackdoorUser.get_linux_commands_to_add_user(username)
|
||||||
commandline = "'ping -c 2 google.com'"
|
commandline = "ping -c 2 google.com"
|
||||||
linux_cmds.extend([";", "sudo", "-u", username, commandline])
|
linux_cmds.extend([";", "sudo", "-u", username, commandline])
|
||||||
final_command = ' '.join(linux_cmds)
|
final_command = ' '.join(linux_cmds)
|
||||||
logger.debug("Trying to execute these commands: {}".format(final_command))
|
logger.debug("Trying to execute these commands: {}".format(final_command))
|
||||||
|
|
Loading…
Reference in New Issue