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

Method post_build

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

Source from the content-addressed store, hash-verified

3081 return conf.padding_layer
3082
3083 def post_build(self, pkt, pay):
3084 # type: (bytes, bytes) -> bytes
3085 return (
3086 _NTLM_post_build(
3087 self,
3088 pkt,
3089 self.OFFSET,
3090 {
3091 "Name": 4,
3092 "Data": 10,
3093 },
3094 config=[
3095 (
3096 "BufferOffset",
3097 {
3098 "Name": _NTLM_ENUM.OFFSET,
3099 "Data": _NTLM_ENUM.OFFSET | _NTLM_ENUM.PAD8,
3100 },
3101 ),
3102 ("Len", _NTLM_ENUM.LEN),
3103 ],
3104 )
3105 + pay
3106 )
3107
3108
3109# sect 2.2.13

Callers

nothing calls this directly

Calls 1

_NTLM_post_buildFunction · 0.90

Tested by

no test coverage detected