MCPcopy Create free account
hub / github.com/fortra/impacket / getDPAPI_SYSTEM

Method getDPAPI_SYSTEM

examples/dpapi.py:73–79  ·  view source on GitHub ↗
(self,secretType, secret)

Source from the content-addressed store, hash-verified

71 pass
72
73 def getDPAPI_SYSTEM(self,secretType, secret):
74 if secret.startswith("dpapi_machinekey:"):
75 machineKey, userKey = secret.split('\n')
76 machineKey = machineKey.split(':')[1]
77 userKey = userKey.split(':')[1]
78 self.dpapiSystem['MachineKey'] = unhexlify(machineKey[2:])
79 self.dpapiSystem['UserKey'] = unhexlify(userKey[2:])
80
81 def getLSA(self):
82 localOperations = LocalOperations(self.options.system)

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected