diff --git a/lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb b/lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb index cc31560d82..488a974e02 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb @@ -527,6 +527,7 @@ class Console::CommandDispatcher::Android dest = val when '-t' body = val + # Replace \n with a newline character to allow multi-line messages body.gsub!('\n',"\n") when '-r' dr = true