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

Method post_build

scapy/layers/smb2.py:2641–2653  ·  view source on GitHub ↗
(self, pkt, pay)

Source from the content-addressed store, hash-verified

2639 return super(SMB2_Session_Setup_Response, self).setfieldval(attr, val)
2640
2641 def post_build(self, pkt, pay):
2642 # type: (bytes, bytes) -> bytes
2643 return (
2644 _SMB2_post_build(
2645 self,
2646 pkt,
2647 self.OFFSET,
2648 {
2649 "Security": 4,
2650 },
2651 )
2652 + pay
2653 )
2654
2655
2656bind_top_down(

Callers

nothing calls this directly

Calls 1

_SMB2_post_buildFunction · 0.85

Tested by

no test coverage detected