Class: Exploit::Remote::Relay::NTLM::HashCapture::HashCaptureAuthenticator
- Inherits:
-
RubySMB::Gss::Provider::NTLM::Authenticator
- Object
- RubySMB::Gss::Provider::NTLM::Authenticator
- Exploit::Remote::Relay::NTLM::HashCapture::HashCaptureAuthenticator
- Defined in:
- lib/msf/core/exploit/remote/relay/ntlm/hash_capture.rb
Instance Method Summary collapse
Instance Method Details
#process_ntlm_type1(type1_msg) ⇒ Object
199 200 201 202 203 204 |
# File 'lib/msf/core/exploit/remote/relay/ntlm/hash_capture.rb', line 199 def process_ntlm_type1(type1_msg) @ntlm_type1 = type1_msg @ntlm_type2 = super @ntlm_type2 end |
#process_ntlm_type3(type3_msg) ⇒ Object
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/msf/core/exploit/remote/relay/ntlm/hash_capture.rb', line 206 def process_ntlm_type3(type3_msg) _, address = ::Socket.unpack_sockaddr_in(@server_client.getpeername) if @provider.listener @provider.listener.on_ntlm_type3( address: address, ntlm_type1: @ntlm_type1, ntlm_type2: @ntlm_type2, ntlm_type3: type3_msg, service_name: @provider.service_name ) end # allow the operation to be short circuited with a static NT Status response when it doesn't make sense to # proceed with authenticating the client return @provider.ntlm_type3_status unless @provider.ntlm_type3_status.nil? super end |