File "/opt/ntdsxtract/dsusers.py", line 446, in <module>
processUser(user)
File "/opt/ntdsxtract/dsusers.py", line 178, in processUser
creds.Print(" ")
File "/opt/ntdsxtract/ntds/dsobjects.py", line 506, in Print
print "{0}Password: {1}".format(indent, self.Password)
I personnaly resolved that bug by applying this modification in ntdsxtract/ntds/dsobjects.py:
def ParseUserProperty(self, text, offset):
[...]
elif Name == u"Primary:CLEARTEXT":
self.Password = text[offset:offset+ValueLength])
else:
print Name
return offset + ValueLength
As I just jumped into your code, I might not have a clean step back on what's really happening, so I let you consider if it is a viable fix.
It looks like there is a little problem while retrieving the Supplementary Credentials. in the
ntdsxtract/ntds/dsobjects.py
fileI get an encoding error because the value seems to already be an ascii String
which turns to be coming from there :
I personnaly resolved that bug by applying this modification in
ntdsxtract/ntds/dsobjects.py
:As I just jumped into your code, I might not have a clean step back on what's really happening, so I let you consider if it is a viable fix.
Take care ;)