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

Method __UpdateConnectionPreAuthHash

impacket/smb3.py:339–344  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

337 print("%-40s : %s" % i)
338
339 def __UpdateConnectionPreAuthHash(self, data):
340 from Cryptodome.Hash import SHA512
341 calculatedHash = SHA512.new()
342 calculatedHash.update(self._Connection['PreauthIntegrityHashValue'])
343 calculatedHash.update(data)
344 self._Connection['PreauthIntegrityHashValue'] = calculatedHash.digest()
345
346 def __UpdatePreAuthHash(self, data):
347 from Cryptodome.Hash import SHA512

Callers 2

sendSMBMethod · 0.95
negotiateSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected