2
2
3
3
require 'uri'
4
4
require 'digest'
5
- require 'rex/proto/ntlm/crypt'
6
- require 'rex/proto/ntlm/constants'
7
- require 'rex/proto/ntlm/utils'
8
- require 'rex/proto/ntlm/exceptions'
9
5
module Msf
10
6
11
7
###
@@ -16,15 +12,6 @@ module Msf
16
12
###
17
13
module Exploit ::Remote ::HttpClient
18
14
include Msf ::Auxiliary ::Report
19
- include Exploit ::Remote ::NTLM ::Client
20
-
21
- #
22
- # Constants
23
- #
24
- NTLM_CRYPT = Rex ::Proto ::NTLM ::Crypt
25
- NTLM_CONST = Rex ::Proto ::NTLM ::Constants
26
- NTLM_UTILS = Rex ::Proto ::NTLM ::Utils
27
- NTLM_XCEPT = Rex ::Proto ::NTLM ::Exceptions
28
15
29
16
#
30
17
# Initializes an exploit module that exploits a vulnerability in an HTTP
@@ -194,12 +181,6 @@ def connect(opts={})
194
181
'uri_fake_end' => datastore [ 'HTTP::uri_fake_end' ] ,
195
182
'uri_fake_params_start' => datastore [ 'HTTP::uri_fake_params_start' ] ,
196
183
'header_folding' => datastore [ 'HTTP::header_folding' ] ,
197
- 'usentlm2_session' => datastore [ 'NTLM::UseNTLM2_session' ] ,
198
- 'use_ntlmv2' => datastore [ 'NTLM::UseNTLMv2' ] ,
199
- 'send_lm' => datastore [ 'NTLM::SendLM' ] ,
200
- 'send_ntlm' => datastore [ 'NTLM::SendNTLM' ] ,
201
- 'SendSPN' => datastore [ 'NTLM::SendSPN' ] ,
202
- 'UseLMKey' => datastore [ 'NTLM::UseLMKey' ] ,
203
184
'domain' => datastore [ 'DOMAIN' ] ,
204
185
'DigestAuthIIS' => datastore [ 'DigestAuthIIS' ]
205
186
)
@@ -256,12 +237,6 @@ def configure_http_login_scanner(conf)
256
237
evade_uri_fake_end : datastore [ 'HTTP::uri_fake_end' ] ,
257
238
evade_uri_fake_params_start : datastore [ 'HTTP::uri_fake_params_start' ] ,
258
239
evade_header_folding : datastore [ 'HTTP::header_folding' ] ,
259
- ntlm_use_ntlmv2_session : datastore [ 'NTLM::UseNTLM2_session' ] ,
260
- ntlm_use_ntlmv2 : datastore [ 'NTLM::UseNTLMv2' ] ,
261
- ntlm_send_lm : datastore [ 'NTLM::SendLM' ] ,
262
- ntlm_send_ntlm : datastore [ 'NTLM::SendNTLM' ] ,
263
- ntlm_send_spn : datastore [ 'NTLM::SendSPN' ] ,
264
- ntlm_use_lm_key : datastore [ 'NTLM::UseLMKey' ] ,
265
240
ntlm_domain : datastore [ 'DOMAIN' ] ,
266
241
digest_auth_iis : datastore [ 'DigestAuthIIS' ]
267
242
} . merge ( conf )
0 commit comments