Skip to content

Commit f0bb125

Browse files
committed
Should be print_error
1 parent 52bcade commit f0bb125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/smb/smb_enumusers_domain.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ def run_host(ip)
186186
end
187187

188188
rescue ::Rex::Proto::SMB::Exceptions::ErrorCode => e
189-
print_line("UUID #{uuid[0]} #{uuid[1]} ERROR 0x%.8x" % e.error_code)
189+
print_error("UUID #{uuid[0]} #{uuid[1]} ERROR 0x%.8x" % e.error_code)
190190
#puts e
191191
#return
192192
rescue ::Exception => e
193-
print_line("UUID #{uuid[0]} #{uuid[1]} ERROR #{$!}")
193+
print_error("UUID #{uuid[0]} #{uuid[1]} ERROR #{$!}")
194194
#puts e
195195
#return
196196
end

0 commit comments

Comments
 (0)