Skip to content

Commit 279787d

Browse files
committed
Make this error less verbose too
1 parent 0906345 commit 279787d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/smb/smb_enumshares.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def run_host(ip)
401401
rescue ::Exception => e
402402
next if e.to_s =~ /execution expired/
403403
next if not shares.empty? and rport == 139
404-
print_error("#{ip}:#{rport} - Error: '#{ip}' '#{e.class}' '#{e.to_s}'")
404+
vprint_error("#{ip}:#{rport} - Error: '#{ip}' '#{e.class}' '#{e.to_s}'")
405405
ensure
406406
disconnect
407407
end

0 commit comments

Comments
 (0)