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

Class _SMB2_IOCTL_Request_PacketLenField

scapy/layers/smb2.py:3619–3627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3617
3618
3619class _SMB2_IOCTL_Request_PacketLenField(PacketLenField):
3620 def m2i(self, pkt, m):
3621 if pkt.CtlCode == 0x00140204: # FSCTL_VALIDATE_NEGOTIATE_INFO
3622 return SMB2_IOCTL_Validate_Negotiate_Info_Request(m)
3623 elif pkt.CtlCode == 0x00060194: # FSCTL_DFS_GET_REFERRALS
3624 return SMB2_IOCTL_REQ_GET_DFS_Referral(m)
3625 elif pkt.CtlCode == 0x00094264: # FSCTL_OFFLOAD_READ
3626 return SMB2_IOCTL_OFFLOAD_READ_Request(m)
3627 return conf.raw_layer(m)
3628
3629
3630class SMB2_IOCTL_Request(_SMB2_Payload, _NTLMPayloadPacket):

Callers 1

SMB2_IOCTL_RequestClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…