Skip to content

Commit 4dfbce4

Browse files
committed
use vprintf...
1 parent c31fb06 commit 4dfbce4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/auxiliary/admin/smb/psexec_command.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,8 @@ def get_output(file)
120120

121121
# Report output
122122
print_good("#{peer} - Command completed successfuly!")
123-
if datastore['VERBOSE']
124-
print_status("Output for \"#{datastore['COMMAND']}\":")
125-
print_line("#{output}")
126-
end
123+
vprint_status("Output for \"#{datastore['COMMAND']}\":")
124+
vprint_line("#{output}")
127125

128126
report_note(
129127
:rhost => datastore['RHOSTS'],

0 commit comments

Comments
 (0)