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

Method dump

impacket/dpapi.py:275–283  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273 self.decryptedKey = None
274
275 def dump(self):
276 print("[MASTERKEY]")
277 print("Version : %8x (%d)" % (self['Version'], self['Version']))
278 print("Salt : %s" % hexlify(self['Salt']))
279 print("Rounds : %8x (%d)" % (self['MasterKeyIterationCount'], self['MasterKeyIterationCount']))
280 print("HashAlgo : %.8x (%d) (%s)" % (self['HashAlgo'], self['HashAlgo'], ALGORITHMS(self['HashAlgo']).name))
281 print("CryptAlgo : %.8x (%d) (%s)" % (self['CryptAlgo'], self['CryptAlgo'], ALGORITHMS(self['CryptAlgo']).name))
282 print("data : %s" % (hexlify(self['data'])))
283 print()
284
285 def deriveKey(self, passphrase, salt, keylen, count, hashFunction):
286 keyMaterial = b""

Callers 3

runMethod · 0.95

Calls 1

ALGORITHMSClass · 0.85

Tested by 2