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 15f04ca commit a7d0927Copy full SHA for a7d0927
modules/auxiliary/gather/kerberoast.rb
@@ -66,6 +66,14 @@ def run
66
else
67
run_user
68
end
69
+ rescue Errno::ECONNRESET
70
+ fail_with(Failure::Disconnected, 'The connection was reset.')
71
+ rescue Rex::ConnectionError => e
72
+ fail_with(Failure::Unreachable, e.message)
73
+ rescue Rex::Proto::Kerberos::Model::Error::KerberosError => e
74
+ fail_with(Failure::NoAccess, e.message)
75
+ rescue Net::LDAP::Error => e
76
+ fail_with(Failure::Unknown, "#{e.class}: #{e.message}")
77
78
79
def run_user
0 commit comments