Normalize newlines in CommandShell#run_single
Lines from normal interaction will include a trailing newline, while lines from resource scripting will not.GSoC/Meterpreter_Web_Console
parent
f0aa002009
commit
c6f1c10737
|
@ -487,7 +487,7 @@ class CommandShell
|
|||
end
|
||||
|
||||
# User input is not a built-in command, write to socket directly
|
||||
shell_write(cmd + "\n")
|
||||
shell_write(cmd.chomp + "\n")
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue