Skip to content

Commit c1cb8bc

Browse files
author
Tod Beardsley
committed
Land rapid7#3918, bugfix on self.rhost mssql_login
2 parents 296a51f + 7163b8c commit c1cb8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/metasploit/framework/mssql/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def mssql_login(user='sa', pass='', db='', domain_name='')
173173
#Client time
174174
chall_MsvAvTimestamp = blob_data[:chall_MsvAvTimestamp] || ''
175175

176-
spnopt = {:use_spn => send_spn, :name => self.rhost}
176+
spnopt = {:use_spn => send_spn, :name => rhost}
177177

178178
resp_lm, resp_ntlm, client_challenge, ntlm_cli_challenge = NTLM_UTILS.create_lm_ntlm_responses(user, pass, challenge_key,
179179
domain_name, default_name, default_domain,

0 commit comments

Comments
 (0)