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

Method post_build

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

Source from the content-addressed store, hash-verified

2229 ]
2230
2231 def post_build(self, pkt, pay):
2232 # type: (bytes, bytes) -> bytes
2233 return (
2234 _NTLM_post_build(
2235 self,
2236 pkt,
2237 64 + 36 + len(self.Dialects) * 2,
2238 {
2239 "NegotiateContexts": 28,
2240 },
2241 config=[
2242 ("BufferOffset", _NTLM_ENUM.OFFSET | _NTLM_ENUM.PAD8),
2243 ("Count", _NTLM_ENUM.COUNT),
2244 ],
2245 )
2246 + pay
2247 )
2248
2249
2250bind_top_down(

Callers

nothing calls this directly

Calls 1

_NTLM_post_buildFunction · 0.90

Tested by

no test coverage detected