commit
202ae8797b
|
@ -135,7 +135,7 @@ class winrm(connection):
|
||||||
log.addFilter(SuppressFilter())
|
log.addFilter(SuppressFilter())
|
||||||
self.conn = Client(self.host,
|
self.conn = Client(self.host,
|
||||||
auth='ntlm',
|
auth='ntlm',
|
||||||
username=username,
|
username=u'{}\\{}'.format(domain, username),
|
||||||
password=password,
|
password=password,
|
||||||
ssl=False)
|
ssl=False)
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ class winrm(connection):
|
||||||
if nthash: self.nthash = nthash
|
if nthash: self.nthash = nthash
|
||||||
self.conn = Client(self.host,
|
self.conn = Client(self.host,
|
||||||
auth='ntlm',
|
auth='ntlm',
|
||||||
username=username,
|
username=u'{}\\{}'.format(domain, username),
|
||||||
password=ntlm_hash,
|
password=ntlm_hash,
|
||||||
ssl=False)
|
ssl=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue