We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b5c5a commit cd45ed0Copy full SHA for cd45ed0
modules/auxiliary/admin/smb/check_dir_file.rb
@@ -97,6 +97,8 @@ def run_host(ip)
97
print_error("Host #{rhost} login error.")
98
rescue ::Rex::ConnectionRefused
99
print_error "Host #{rhost} unable to connect - connection refused"
100
+ rescue ::Rex::Proto::SMB::Exceptions::ErrorCode
101
+ print_error "Host #{rhost} unable to connect to share #{datastore['SMBSHARE']}"
102
end # end begin
103
end # end def
104
end
0 commit comments