You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/auxiliary/scanner/smb/smb_login.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ def run_host(ip)
115
115
fail_with(Msf::Exploit::Failure::BadConfig,'The SMBDomain option is required when using Kerberos authentication.')ifdatastore['SMBDomain'].blank?
116
116
fail_with(Msf::Exploit::Failure::BadConfig,'The DomainControllerRhost is required when using Kerberos authentication.')ifdatastore['DomainControllerRhost'].blank?
117
117
118
-
if!datastore['PASSWORD']
118
+
ifdatastore['SMBPass'].blank?
119
119
# In case no password has been provided, we assume the user wants to use Kerberos tickets stored in cache
120
120
# Write mode is still enable in case new TGS tickets are retrieved.
0 commit comments