Fixed credential parsing bug
parent
b2cca2f3fd
commit
32e95b4f93
|
@ -5,6 +5,7 @@
|
||||||
-Added /sids argument for credentials/mimikatz/golden_ticket
|
-Added /sids argument for credentials/mimikatz/golden_ticket
|
||||||
-Added credential parsing for dcsync output
|
-Added credential parsing for dcsync output
|
||||||
-updated links for PowerTools
|
-updated links for PowerTools
|
||||||
|
-Fixed bug in credential parsing with ":" inside of the password,username, or domain
|
||||||
|
|
||||||
8/20/2015
|
8/20/2015
|
||||||
---------
|
---------
|
||||||
|
|
|
@ -244,11 +244,12 @@ def parse_mimikatz(data):
|
||||||
for line in lines2:
|
for line in lines2:
|
||||||
try:
|
try:
|
||||||
if "Username" in line:
|
if "Username" in line:
|
||||||
username = line.split(":")[1].strip()
|
username = line.split(":",1)[1].strip()
|
||||||
elif "Domain" in line:
|
elif "Domain" in line:
|
||||||
domain = line.split(":")[1].strip()
|
domain = line.split(":",1)[1].strip()
|
||||||
elif "NTLM" in line or "Password" in line:
|
elif "NTLM" in line or "Password" in line:
|
||||||
password = line.split(":")[1].strip()
|
print line.split(":")
|
||||||
|
password = line.split(":",1)[1].strip()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue