Skip to content

Commit a597de5

Browse files
David MaloneyDavid Maloney
authored andcommitted
actually use the coerced values
1 parent bbdf06a commit a597de5

File tree

1 file changed

+1
-1
lines changed
  • lib/metasploit/framework/login_scanner

1 file changed

+1
-1
lines changed

lib/metasploit/framework/login_scanner/smb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def attempt_login(credential)
9797
realm = credential.realm || ""
9898
username = credential.public || ""
9999
password = credential.private || ""
100-
client = RubySMB::Client.new(self.dispatcher, username: credential.public, password: credential.private, domain: realm)
100+
client = RubySMB::Client.new(self.dispatcher, username: username, password: password, domain: realm)
101101
status_code = client.login
102102

103103
# Windows SMB will return an error code during Session

0 commit comments

Comments
 (0)