diff --git a/modules/auxiliary/admin/smb/psexec_command.rb b/modules/auxiliary/admin/smb/psexec_command.rb index a4d33a7476..ddf2f2dd61 100644 --- a/modules/auxiliary/admin/smb/psexec_command.rb +++ b/modules/auxiliary/admin/smb/psexec_command.rb @@ -120,10 +120,8 @@ class Metasploit3 < Msf::Auxiliary # Report output print_good("#{peer} - Command completed successfuly!") - if datastore['VERBOSE'] - print_status("Output for \"#{datastore['COMMAND']}\":") - print_line("#{output}") - end + vprint_status("Output for \"#{datastore['COMMAND']}\":") + vprint_line("#{output}") report_note( :rhost => datastore['RHOSTS'],