MCPcopy Create free account
hub / github.com/secdev/scapy / post_build

Method post_build

scapy/layers/smb.py:776–790  ·  view source on GitHub ↗
(self, pkt, pay)

Source from the content-addressed store, hash-verified

774 ]
775
776 def post_build(self, pkt, pay):
777 # type: (bytes, bytes) -> bytes
778 return (
779 _NTLM_post_build(
780 self,
781 pkt,
782 32 + 31 + len(self.Setup) * 2 + len(self.Name) + 1,
783 {
784 "Parameter": 19,
785 "Data": 23,
786 },
787 config=_SMB_CONFIG,
788 )
789 + pay
790 )
791
792 def mysummary(self):
793 if getattr(self, "Data", None) is not None:

Callers

nothing calls this directly

Calls 1

_NTLM_post_buildFunction · 0.90

Tested by

no test coverage detected