MCPcopy
hub / github.com/fortra/impacket / CredentialFile

Class CredentialFile

impacket/dpapi.py:532–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530 print()
531
532class CredentialFile(Structure):
533 structure = (
534 ('Version', '<L=0'),
535 ('Size', '<L=0'),
536 ('Unknown', '<L=0'),
537 ('_Data', '_-Data', 'self["Size"]'),
538 ('Data', ':'),
539 )
540 #def dump(self):
541 # print("[CREDENTIAL FILE]")
542 # print("Version : %8x (%d)" % (self['Version'], self['Version']))
543 # print("MachineKey : %s" % hexlify(self['MachineKey']))
544 # print("UserKey : %s" % hexlify(self['UserKey']))
545 # print("CryptAlgo : %.8x (%d) (%s)" % (self['CryptAlgo'], self['CryptAlgo'], ALGORITHMS(self['CryptAlgo']).name))
546 # print()
547
548
549class DPAPI_BLOB(Structure):

Callers 3

runMethod · 0.90
dumpMethod · 0.90

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…