actually use the coerced values

bug/bundler_fix
David Maloney 2017-04-17 11:24:57 -05:00
parent bbdf06af5d
commit a597de516d
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Metasploit
realm = credential.realm || ""
username = credential.public || ""
password = credential.private || ""
client = RubySMB::Client.new(self.dispatcher, username: credential.public, password: credential.private, domain: realm)
client = RubySMB::Client.new(self.dispatcher, username: username, password: password, domain: realm)
status_code = client.login
# Windows SMB will return an error code during Session