From d29bc920c11ccf91c7b36745e9a73bdb937bb4d4 Mon Sep 17 00:00:00 2001 From: Auxilus Date: Fri, 27 Apr 2018 20:58:25 +0530 Subject: [PATCH] print o/p to new line --- modules/auxiliary/admin/smb/psexec_command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/admin/smb/psexec_command.rb b/modules/auxiliary/admin/smb/psexec_command.rb index ba86b1891a..7b08762c04 100644 --- a/modules/auxiliary/admin/smb/psexec_command.rb +++ b/modules/auxiliary/admin/smb/psexec_command.rb @@ -73,8 +73,8 @@ class MetasploitModule < Msf::Auxiliary unless output.nil? print_good("Command completed successfuly!") - print_status("Output for \"#{datastore['COMMAND']}\":") - print_line("#{output}") + print_status("Output for \"#{datastore['COMMAND']}\":\n") + print_line("#{output}\n") report_note( :rhost => datastore['RHOSTS'], :rport => datastore['RPORT'],