actually use the coerced values
parent
bbdf06af5d
commit
a597de516d
|
@ -97,7 +97,7 @@ module Metasploit
|
||||||
realm = credential.realm || ""
|
realm = credential.realm || ""
|
||||||
username = credential.public || ""
|
username = credential.public || ""
|
||||||
password = credential.private || ""
|
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
|
status_code = client.login
|
||||||
|
|
||||||
# Windows SMB will return an error code during Session
|
# Windows SMB will return an error code during Session
|
||||||
|
|
Loading…
Reference in New Issue