id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
25,900
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ModulePIB
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class ModulePIB(Packet): ''' Simple Module PIB Decoder. /!/ A wrong slice would produce 'bad' results ''' def __init__(self, packet='', offset=0, length=1024): pass
2
1
4
0
4
0
1
0.49
1
1
0
0
1
2
1
120
424
1
419
7
417
205
8
7
6
1
4
0
1
25,901
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.NetworkInfoConfirmationV10
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class NetworkInfoConfirmationV10(Packet): ''' Network Information Confirmation following the MAC Management version 1.0 # noqa: E501 ''' pass
1
1
0
0
0
0
0
0.83
1
0
0
0
0
0
0
119
9
0
6
3
5
5
3
3
2
0
4
0
0
25,902
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.NetworkInfoConfirmationV11
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class NetworkInfoConfirmationV11(Packet): ''' Network Information Confirmation following the MAC Management version 1.1 # noqa: E501 This introduce few 'crazy' reserved bytes -> have fun! ''' pass
1
1
0
0
0
0
0
0.88
1
0
0
0
0
0
0
119
12
0
8
3
7
7
3
3
2
0
4
0
0
25,903
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.NetworkInfoV10
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class NetworkInfoV10(Packet): ''' Network Information Element ''' def extract_padding(self, p): pass
2
1
2
0
2
0
1
0.4
1
0
0
0
1
0
1
120
14
1
10
4
8
4
5
4
3
1
4
0
1
25,904
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.NetworkInfoV11
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class NetworkInfoV11(Packet): ''' Network Information Element ''' def extract_padding(self, p): pass
2
1
2
0
2
0
1
0.31
1
0
0
0
1
0
1
120
17
1
13
4
11
4
5
4
3
1
4
0
1
25,905
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.NetworkInformationRequest
from scapy.packet import Packet, bind_layers class NetworkInformationRequest(Packet): name = 'NetworkInformationRequest' fields_desc = []
class NetworkInformationRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,906
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.PeerNode
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class PeerNode(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
8
1
7
4
5
0
5
4
3
1
4
0
1
25,907
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.PrescalerValue
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class PrescalerValue(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
7
1
6
4
4
0
5
4
3
1
4
0
1
25,908
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.QUAResetFactoryConfirm
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class QUAResetFactoryConfirm(Packet): pass
1
0
0
0
0
0
0
0.33
1
0
0
0
0
0
0
119
3
0
3
3
2
1
3
3
2
0
4
0
0
25,909
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.RSVD_CustomAggregationParameter
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class RSVD_CustomAggregationParameter(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
7
1
6
4
4
0
5
4
3
1
4
0
1
25,910
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadConfBlockConfirmation
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class ReadConfBlockConfirmation(Packet): pass
1
0
0
0
0
0
0
0.4
1
0
0
0
0
0
0
119
5
0
5
3
4
2
3
3
2
0
4
0
0
25,911
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadConfBlockRequest
from scapy.packet import Packet, bind_layers class ReadConfBlockRequest(Packet): name = 'ReadConfBlockRequest' fields_desc = []
class ReadConfBlockRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,912
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadMACMemoryConfirmation
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class ReadMACMemoryConfirmation(Packet): pass
1
0
0
0
0
0
0
0.29
1
0
0
0
0
0
0
119
8
1
7
3
6
2
3
3
2
0
4
0
0
25,913
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadMACMemoryRequest
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class ReadMACMemoryRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
5
0
5
3
4
0
3
3
2
0
4
0
0
25,914
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadModuleDataConfirmation
import struct from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShor...
class ReadModuleDataConfirmation(Packet): def post_build(self, p, pay): pass
2
0
8
0
8
0
3
0.11
1
0
0
0
1
0
1
120
20
1
19
6
17
2
11
6
9
3
4
1
3
25,915
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReadModuleDataRequest
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class ReadModuleDataRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
6
0
6
3
5
0
3
3
2
0
4
0
0
25,916
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ReservedPercentageForCap
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class ReservedPercentageForCap(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
7
1
6
4
4
0
5
4
3
1
4
0
1
25,917
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ResetDeviceConfirmation
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class ResetDeviceConfirmation(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,918
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.ResetDeviceRequest
from scapy.packet import Packet, bind_layers class ResetDeviceRequest(Packet): name = 'ResetDeviceRequest' fields_desc = []
class ResetDeviceRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,919
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.SetEncryptionKeyConfirmation
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class SetEncryptionKeyConfirmation(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,920
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.SetEncryptionKeyRequest
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class SetEncryptionKeyRequest(Packet): pass
1
0
0
0
0
0
0
0.18
1
0
0
0
0
0
0
119
11
0
11
3
10
2
3
3
2
0
4
0
0
25,921
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.SnifferConfirmation
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class SnifferConfirmation(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,922
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.SnifferIndicate
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class SnifferIndicate(Packet): pass
1
0
0
0
0
0
0
0.03
1
0
0
0
0
0
0
119
34
0
33
3
32
1
3
3
2
0
4
0
0
25,923
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.SnifferRequest
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class SnifferRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,924
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.StartMACConfirmation
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class StartMACConfirmation(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
5
0
5
3
4
0
3
3
2
0
4
0
0
25,925
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.StartMACRequest
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class StartMACRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,926
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.StationInfoV10
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class StationInfoV10(Packet): ''' Station Information Element ''' def extract_padding(self, p): pass
2
1
2
0
2
0
1
0.33
1
0
0
0
1
0
1
120
13
1
9
4
7
3
5
4
3
1
4
0
1
25,927
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.StationInfoV11
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class StationInfoV11(Packet): ''' Station Information Element ''' def extract_padding(self, p): pass
2
1
2
0
2
0
1
0.21
1
0
0
0
1
0
1
120
18
1
14
4
12
3
5
4
3
1
4
0
1
25,928
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.VendorMME
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class VendorMME(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,929
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.WriteModuleData2NVMConfirmation
from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteField, XIntField, XLongField, XShortField from sc...
class WriteModuleData2NVMConfirmation(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
4
0
4
3
3
0
3
3
2
0
4
0
0
25,930
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.WriteModuleData2NVMRequest
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesField, XByteFiel...
class WriteModuleData2NVMRequest(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
3
0
3
3
2
0
3
3
2
0
4
0
0
25,931
secdev/scapy
secdev_scapy/scapy/contrib/homeplugav.py
scapy.contrib.homeplugav.WriteModuleDataRequest
from scapy.packet import Packet, bind_layers import struct from scapy.fields import BitField, ByteEnumField, ByteField, ConditionalField, EnumField, FieldLenField, IntField, LEIntField, LELongField, LEShortEnumField, LEShortField, MACField, OUIField, PacketListField, ShortField, StrFixedLenField, StrLenField, X3BytesFi...
class WriteModuleDataRequest(Packet): def post_build(self, p, pay): pass
2
0
8
0
8
0
3
0.12
1
0
0
0
1
0
1
120
18
1
17
6
15
2
11
6
9
3
4
1
3
25,932
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_ATTENUATION_CHARACTERISTICS_MME
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class CM_ATTENUATION_CHARACTERISTICS_MME(Packet): name = 'CM_ATTENUATION_CHARACTERISTICS_MME' fields_desc = [MACField('E...
class CM_ATTENUATION_CHARACTERISTICS_MME(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
8
0
8
3
7
0
3
3
2
0
4
0
0
25,933
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_ATTEN_CHAR_IND
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_ATTEN_CHAR_IND(Packet): name = 'CM_ATTEN_CHAR_IND' fields_desc = [ByteField('ApplicationType', 0), ByteField('S...
class CM_ATTEN_CHAR_IND(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
13
0
13
3
12
0
3
3
2
0
4
0
0
25,934
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_ATTEN_CHAR_RSP
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class CM_ATTEN_CHAR_RSP(Packet): name = 'CM_ATTEN_CHAR_RSP' fields_desc = [ByteField('ApplicationType', 0), ByteField('S...
class CM_ATTEN_CHAR_RSP(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,935
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_MNBC_SOUND_IND
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class CM_MNBC_SOUND_IND(Packet): name = 'CM_MNBC_SOUND_IND' fields_desc = [ByteField('ApplicationType', 0), ByteField('S...
class CM_MNBC_SOUND_IND(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,936
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SET_KEY_CNF
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_SET_KEY_CNF(Packet): name = 'CM_SET_KEY_CNF' fields_desc = [ByteEnumField('Result', 0, HPGP_codes), XIntField('...
class CM_SET_KEY_CNF(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,937
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SET_KEY_REQ
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_SET_KEY_REQ(Packet): name = 'CM_SET_KEY_REQ' fields_desc = [ByteEnumField('KeyType', 0, KeyType_list), XIntFiel...
class CM_SET_KEY_REQ(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
12
0
12
3
11
0
3
3
2
0
4
0
0
25,938
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SLAC_MATCH_CNF
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_SLAC_MATCH_CNF(Packet): name = 'CM_SLAC_MATCH_CNF' fields_desc = [ByteField('ApplicationType', 0), ByteField('S...
class CM_SLAC_MATCH_CNF(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,939
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SLAC_MATCH_REQ
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class CM_SLAC_MATCH_REQ(Packet): name = 'CM_SLAC_MATCH_REQ' fields_desc = [ByteField('ApplicationType', 0), ByteField('S...
class CM_SLAC_MATCH_REQ(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,940
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SLAC_PARM_CNF
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_SLAC_PARM_CNF(Packet): name = 'CM_SLAC_PARM_CNF' fields_desc = [MACField('MSoundTargetMAC', '00:00:00:00:00:00'...
class CM_SLAC_PARM_CNF(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
10
0
10
3
9
0
3
3
2
0
4
0
0
25,941
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_SLAC_PARM_REQ
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class CM_SLAC_PARM_REQ(Packet): name = 'CM_SLAC_PARM_REQ' fields_desc = [ByteField('ApplicationType', 0), ByteField('Sec...
class CM_SLAC_PARM_REQ(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
5
0
5
3
4
0
3
3
2
0
4
0
0
25,942
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.CM_START_ATTEN_CHAR_IND
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class CM_START_ATTEN_CHAR_IND(Packet): name = 'CM_START_ATTEN_CHAR_IND' fields_desc = [ByteField('ApplicationType', 0), ...
class CM_START_ATTEN_CHAR_IND(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,943
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.HPGP_GROUP
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class HPGP_GROUP(Packet): name = 'HPGP_GROUP' fields_desc = [ByteField('group', 0)] def extract_padding(self, p): ...
class HPGP_GROUP(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
6
1
5
4
3
0
5
4
3
1
4
0
1
25,944
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.SLAC_varfield
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class SLAC_varfield(Packet): name = 'SLAC_varfield' fields_desc = [StrFixedLenField('EVID', b'\x00' * 17, 17), MACField(...
class SLAC_varfield(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
8
0
8
3
7
0
3
3
2
0
4
0
0
25,945
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.SLAC_varfield_cnf
from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField from scapy.packet import Packet, bind_layers class SLAC_varfield_cnf(Packet): name = 'SLAC_varfield' fields_desc = [StrFixedLenField('EVID', b'\x00' * 17, 17), MACFi...
class SLAC_varfield_cnf(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
11
0
11
3
10
0
3
3
2
0
4
0
0
25,946
secdev/scapy
secdev_scapy/scapy/contrib/homepluggp.py
scapy.contrib.homepluggp.VS_ATTENUATION_CHARACTERISTICS_MME
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, FieldLenField, MACField, PacketListField, ShortField, StrFixedLenField, XIntField, PacketField class VS_ATTENUATION_CHARACTERISTICS_MME(Packet): name = 'VS_ATTENUATION_CHARACTERISTICS_MME' fields_desc = [MACField('E...
class VS_ATTENUATION_CHARACTERISTICS_MME(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
25,947
secdev/scapy
secdev_scapy/scapy/contrib/homeplugsg.py
scapy.contrib.homeplugsg.VS_UART_CMD_CNF
from scapy.fields import FieldLenField, StrFixedLenField, StrLenField from scapy.packet import Packet, bind_layers class VS_UART_CMD_CNF(Packet): name = 'VS_UART_CMD_CNF' fields_desc = [StrFixedLenField('reserved', b'\x00', 6), FieldLenField('UDataLen', None, count_of='UData', fmt='H'), StrLenField('UData', 'U...
class VS_UART_CMD_CNF(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
6
0
6
3
5
0
3
3
2
0
4
0
0
25,948
secdev/scapy
secdev_scapy/scapy/contrib/homeplugsg.py
scapy.contrib.homeplugsg.VS_UART_CMD_REQ
from scapy.packet import Packet, bind_layers from scapy.fields import FieldLenField, StrFixedLenField, StrLenField class VS_UART_CMD_REQ(Packet): name = 'VS_UART_CMD_REQ' fields_desc = [FieldLenField('UDataLen', None, count_of='UData', fmt='H'), StrLenField('UData', 'UartCommand\x00', length_from=lambda pkt: p...
class VS_UART_CMD_REQ(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
5
0
5
3
4
0
3
3
2
0
4
0
0
25,949
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.AbstractUVarIntField
from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode import scapy.error as error import scapy.fields as fields import scapy.volatile as volatile class AbstractUVarIntField(fields.Field): """AbstractUVarIntField represents an integer as defined in RFC7541 """ __slots__ = ['_max_value',...
class AbstractUVarIntField(fields.Field): '''AbstractUVarIntField represents an integer as defined in RFC7541 ''' def __init__(self, name, default, size): ''' :param str name: the name of this field instance :param int|None default: positive, null or None default value for this...
16
15
20
2
9
10
2
1.18
1
6
2
2
13
3
14
46
314
39
131
39
115
154
122
38
107
4
4
2
31
25,950
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.EOS
class EOS(object): """ Simple "marker" to designate the End Of String symbol in the huffman table """
class EOS(object): ''' Simple "marker" to designate the End Of String symbol in the huffman table ''' pass
1
1
0
0
0
0
0
2
1
0
0
0
0
0
0
0
3
0
1
1
0
2
1
1
0
0
1
0
0
25,951
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.FieldUVarLenField
import scapy.packet as packet class FieldUVarLenField(AbstractUVarIntField): __slots__ = ['_length_of', '_adjust'] def __init__(self, name, default, size, length_of, adjust=lambda x: x): """ Initializes a FieldUVarLenField :param str name: The name of this field instance. :param int|N...
class FieldUVarLenField(AbstractUVarIntField): def __init__(self, name, default, size, length_of, adjust=lambda x: x): ''' Initializes a FieldUVarLenField :param str name: The name of this field instance. :param int|None default: the default value of this field instance. :param int...
5
4
18
1
6
12
2
1.81
1
2
1
0
4
2
4
50
79
8
26
11
21
47
24
11
19
2
5
1
6
25,952
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2AbstractHeadersFrame
class H2AbstractHeadersFrame(H2FramePayload): """Superclass of all variants of HTTP/2 Header Frame Packets. May be used for type checking. """
class H2AbstractHeadersFrame(H2FramePayload): '''Superclass of all variants of HTTP/2 Header Frame Packets. May be used for type checking. ''' pass
1
1
0
0
0
0
0
3
1
0
0
4
0
0
0
119
4
0
1
1
0
3
1
1
0
0
5
0
0
25,953
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2ContinuationFrame
import scapy.fields as fields class H2ContinuationFrame(H2FramePayload): """ H2ContinuationFrame implements the RFC 7540 par6.10 """ type_id = 9 END_HEADERS_FLAG = 2 flags = {END_HEADERS_FLAG: fields.MultiFlagsEntry('EH', 'End Headers')} name = 'HTTP/2 Continuation Frame' fields_desc = [fie...
class H2ContinuationFrame(H2FramePayload): ''' H2ContinuationFrame implements the RFC 7540 par6.10 ''' pass
1
1
0
0
0
0
0
0.3
1
0
0
0
0
0
0
119
13
1
10
6
9
3
6
6
5
0
5
0
0
25,954
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2DataFrame
import scapy.fields as fields class H2DataFrame(H2FramePayload): """ H2DataFrame implements RFC7540 par6.1 This packet is the Data Frame to use when there is no padding. """ type_id = 0 END_STREAM_FLAG = 0 PADDED_FLAG = 3 flags = {END_STREAM_FLAG: fields.MultiFlagsEntry('ES', 'End Stream'),...
class H2DataFrame(H2FramePayload): ''' H2DataFrame implements RFC7540 par6.1 This packet is the Data Frame to use when there is no padding. ''' pass
1
1
0
0
0
0
0
0.42
1
0
0
1
0
0
0
119
16
1
12
7
11
5
7
7
6
0
5
0
0
25,955
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2ErrorCodes
class H2ErrorCodes(object): """ H2ErrorCodes is an enumeration of the error codes defined in RFC7540 par7. This enumeration is not part of any frame because the error codes are in common with H2ResetFrame and H2GoAwayFrame. """ NO_ERROR = 0 PROTOCOL_ERROR = 1 INTERNAL_ERROR = 2 FLOW_...
class H2ErrorCodes(object): ''' H2ErrorCodes is an enumeration of the error codes defined in RFC7540 par7. This enumeration is not part of any frame because the error codes are in common with H2ResetFrame and H2GoAwayFrame. ''' pass
1
1
0
0
0
0
0
0.16
1
0
0
0
0
0
0
0
38
2
31
16
30
5
16
16
15
0
1
0
0
25,956
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2Frame
import struct import scapy.config as config import scapy.fields as fields import scapy.packet as packet class H2Frame(packet.Packet): """ H2Frame implements the frame structure as defined in RFC 7540 par4.1 This packet may have a payload (one of the H2FramePayload) or none, in some rare cases such as sett...
class H2Frame(packet.Packet): ''' H2Frame implements the frame structure as defined in RFC 7540 par4.1 This packet may have a payload (one of the H2FramePayload) or none, in some rare cases such as settings acknowledgement) ''' def guess_payload_class(self, payload): ''' guess_payload_clas...
4
4
27
4
15
10
7
0.54
1
18
16
0
3
0
3
122
106
16
63
7
59
34
46
7
42
17
4
3
20
25,957
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2FramePayload
import scapy.packet as packet class H2FramePayload(packet.Packet): """ H2FramePayload is an empty class that is a super class of all Scapy HTTP/2 Frame Packets """
class H2FramePayload(packet.Packet): ''' H2FramePayload is an empty class that is a super class of all Scapy HTTP/2 Frame Packets ''' pass
1
1
0
0
0
0
0
3
1
0
0
10
0
0
0
119
4
0
1
1
0
3
1
1
0
0
4
0
0
25,958
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2GoAwayFrame
import scapy.fields as fields class H2GoAwayFrame(H2FramePayload): """ H2GoAwayFrame implements the RFC 7540 par6.8 """ type_id = 7 name = 'HTTP/2 Go Away Frame' fields_desc = [fields.BitField('reserved', 0, 1), fields.BitField('last_stream_id', 0, 31), fields.EnumField('error', 0, H2ErrorCodes.lit...
class H2GoAwayFrame(H2FramePayload): ''' H2GoAwayFrame implements the RFC 7540 par6.8 ''' pass
1
1
0
0
0
0
0
0.22
1
0
0
0
0
0
0
119
12
1
9
4
8
2
4
4
3
0
5
0
0
25,959
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2HeadersFrame
import scapy.fields as fields class H2HeadersFrame(H2AbstractHeadersFrame): """ H2HeadersFrame implements RFC 7540 par6.2 Headers Frame when there is no padding and no priority information The choice of decomposing into four classes is probably preferable to having # noqa: E501 numerous conditional f...
class H2HeadersFrame(H2AbstractHeadersFrame): ''' H2HeadersFrame implements RFC 7540 par6.2 Headers Frame when there is no padding and no priority information The choice of decomposing into four classes is probably preferable to having # noqa: E501 numerous conditional fields based on the underlayer :...
1
1
0
0
0
0
0
0.56
1
0
0
0
0
0
0
119
23
2
16
9
15
9
9
9
8
0
6
0
0
25,960
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PaddedDataFrame
import scapy.fields as fields class H2PaddedDataFrame(H2DataFrame): """ H2DataFrame implements RFC7540 par6.1 This packet is the Data Frame to use when there is padding. """ __slots__ = ['s_len'] name = 'HTTP/2 Padded Data Frame' fields_desc = [fields.FieldLenField('padlen', None, length_of='pa...
class H2PaddedDataFrame(H2DataFrame): ''' H2DataFrame implements RFC7540 par6.1 This packet is the Data Frame to use when there is padding. ''' def get_data_len(self): ''' get_data_len computes the length of the data field To do this computation, the length of the padlen field and the ...
3
3
14
1
5
8
1
0.86
1
0
0
0
2
1
2
121
46
5
22
11
19
19
14
11
11
1
6
0
2
25,961
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PaddedHeadersFrame
import scapy.fields as fields class H2PaddedHeadersFrame(H2AbstractHeadersFrame): """ H2PaddedHeadersFrame is the variant of H2HeadersFrame where padding flag is set and priority flag is cleared """ __slots__ = ['s_len'] name = 'HTTP/2 Headers Frame with Padding' fields_desc = [fields.FieldLenF...
class H2PaddedHeadersFrame(H2AbstractHeadersFrame): ''' H2PaddedHeadersFrame is the variant of H2HeadersFrame where padding flag is set and priority flag is cleared ''' def get_hdrs_len(self): ''' get_hdrs_len computes the length of the hdrs field To do this computation, the length of ...
3
3
14
1
5
8
1
0.86
1
0
0
0
2
1
2
121
46
5
22
11
19
19
14
11
11
1
6
0
2
25,962
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PaddedPriorityHeadersFrame
import scapy.fields as fields class H2PaddedPriorityHeadersFrame(H2AbstractHeadersFrame): """ H2PaddedPriorityHeadersFrame is the variant of H2HeadersFrame where both priority and padding flags are set """ __slots__ = ['s_len'] name = 'HTTP/2 Headers Frame with Padding and Priority' fields_desc...
class H2PaddedPriorityHeadersFrame(H2AbstractHeadersFrame): ''' H2PaddedPriorityHeadersFrame is the variant of H2HeadersFrame where both priority and padding flags are set ''' def get_hdrs_len(self): ''' get_hdrs_len computes the length of the hdrs field To do this computation, the len...
3
3
19
1
10
8
1
0.56
1
1
0
0
2
1
2
121
58
5
34
13
31
19
18
13
15
1
6
0
2
25,963
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PaddedPushPromiseFrame
import scapy.fields as fields class H2PaddedPushPromiseFrame(H2PushPromiseFrame): """ H2PaddedPushPromiseFrame implements RFC7540 par6.6. This packet is the variant to use when the underlayer padding flag is set """ __slots__ = ['s_len'] name = 'HTTP/2 Padded Push Promise Frame' fields_desc = [...
class H2PaddedPushPromiseFrame(H2PushPromiseFrame): ''' H2PaddedPushPromiseFrame implements RFC7540 par6.6. This packet is the variant to use when the underlayer padding flag is set ''' def get_hdrs_len(self): ''' get_hdrs_len computes the length of the hdrs field To do this computatio...
3
3
17
1
8
8
1
0.66
1
1
0
0
2
1
2
121
53
5
29
11
26
19
15
11
12
1
6
0
2
25,964
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PingFrame
import scapy.fields as fields class H2PingFrame(H2FramePayload): """ H2PingFrame implements the RFC 7540 par6.7 """ type_id = 6 ACK_FLAG = 0 flags = {ACK_FLAG: fields.MultiFlagsEntry('A', 'ACK')} name = 'HTTP/2 Ping Frame' fields_desc = [fields.LongField('opaque', 0)] def __init__(self...
class H2PingFrame(H2FramePayload): ''' H2PingFrame implements the RFC 7540 par6.7 ''' def __init__(self, *args, **kwargs): ''' :raises: AssertionError ''' pass
2
2
12
0
8
4
1
0.39
1
3
0
0
1
0
1
120
26
2
18
7
16
7
9
7
7
1
5
0
1
25,965
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PriorityFrame
import scapy.fields as fields class H2PriorityFrame(H2FramePayload): """ H2PriorityFrame implements RFC 7540 par6.3 """ type_id = 2 name = 'HTTP/2 Priority Frame' fields_desc = [fields.BitField('exclusive', 0, 1), fields.BitField('stream_dependency', 0, 31), fields.ByteField('weight', 0)]
class H2PriorityFrame(H2FramePayload): ''' H2PriorityFrame implements RFC 7540 par6.3 ''' pass
1
1
0
0
0
0
0
0.25
1
0
0
0
0
0
0
119
10
0
8
4
7
2
4
4
3
0
5
0
0
25,966
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PriorityHeadersFrame
import scapy.fields as fields class H2PriorityHeadersFrame(H2AbstractHeadersFrame): """ H2PriorityHeadersFrame is the variant of H2HeadersFrame where priority flag is set and padding flag is cleared """ __slots__ = ['s_len'] name = 'HTTP/2 Headers Frame with Priority' fields_desc = [fields.BitF...
class H2PriorityHeadersFrame(H2AbstractHeadersFrame): ''' H2PriorityHeadersFrame is the variant of H2HeadersFrame where priority flag is set and padding flag is cleared ''' pass
1
1
0
0
0
0
0
0.67
1
0
0
0
0
0
0
119
16
1
9
4
8
6
4
4
3
0
6
0
0
25,967
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2PushPromiseFrame
import scapy.fields as fields class H2PushPromiseFrame(H2FramePayload): """ H2PushPromiseFrame implements RFC7540 par6.6. This packet is the variant to use when the underlayer padding flag is cleared """ type_id = 5 END_HEADERS_FLAG = 2 PADDED_FLAG = 3 flags = {END_HEADERS_FLAG: fields.Mult...
class H2PushPromiseFrame(H2FramePayload): ''' H2PushPromiseFrame implements RFC7540 par6.6. This packet is the variant to use when the underlayer padding flag is cleared ''' pass
1
1
0
0
0
0
0
0.36
1
0
0
1
0
0
0
119
18
1
14
7
13
5
7
7
6
0
5
0
0
25,968
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2ResetFrame
import scapy.fields as fields class H2ResetFrame(H2FramePayload): """ H2ResetFrame implements RFC 7540 par6.4 """ type_id = 3 name = 'HTTP/2 Reset Frame' fields_desc = [fields.EnumField('error', 0, H2ErrorCodes.literal, fmt='!I')]
class H2ResetFrame(H2FramePayload): ''' H2ResetFrame implements RFC 7540 par6.4 ''' pass
1
1
0
0
0
0
0
0.33
1
0
0
0
0
0
0
119
8
0
6
4
5
2
4
4
3
0
5
0
0
25,969
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2Seq
import scapy.config as config import scapy.fields as fields import scapy.packet as packet class H2Seq(packet.Packet): """ H2Seq is a helper packet that contains several H2Frames and their payload. This packet can be used, for instance, while reading manually from a TCP socket. """ name = 'HTTP/2 Fr...
class H2Seq(packet.Packet): ''' H2Seq is a helper packet that contains several H2Frames and their payload. This packet can be used, for instance, while reading manually from a TCP socket. ''' def guess_payload_class(self, payload): pass
2
1
3
0
2
1
1
0.71
1
0
0
0
1
0
1
120
13
1
7
4
5
5
5
4
3
1
4
0
1
25,970
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2Setting
import scapy.config as config import scapy.packet as packet import scapy.fields as fields class H2Setting(packet.Packet): """ H2Setting implements a setting, as defined in RFC7540 par6.5.1 """ SETTINGS_HEADER_TABLE_SIZE = 1 SETTINGS_ENABLE_PUSH = 2 SETTINGS_MAX_CONCURRENT_STREAMS = 3 SETTINGS_I...
class H2Setting(packet.Packet): ''' H2Setting implements a setting, as defined in RFC7540 par6.5.1 ''' def guess_payload_class(self, payload): pass
2
1
3
0
2
1
1
0.14
1
0
0
0
1
0
1
120
26
2
21
10
19
3
11
10
9
1
4
0
1
25,971
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2SettingsFrame
import scapy.fields as fields class H2SettingsFrame(H2FramePayload): """ H2SettingsFrame implements RFC7540 par6.5 """ type_id = 4 ACK_FLAG = 0 flags = {ACK_FLAG: fields.MultiFlagsEntry('A', 'ACK')} name = 'HTTP/2 Settings Frame' fields_desc = [fields.PacketListField('settings', [], H2Setti...
class H2SettingsFrame(H2FramePayload): ''' H2SettingsFrame implements RFC7540 par6.5 ''' def __init__(self, *args, **kwargs): '''__init__ initializes this H2SettingsFrame If a _pkt arg is provided (by keyword), then this is an initialization from a string to dissect and therefore t...
2
2
20
2
8
10
1
0.72
1
2
0
0
1
0
1
120
34
4
18
7
16
13
9
7
7
1
5
0
1
25,972
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.H2WindowUpdateFrame
import scapy.fields as fields class H2WindowUpdateFrame(H2FramePayload): """ H2WindowUpdateFrame implements the RFC 7540 par6.9 """ type_id = 8 name = 'HTTP/2 Window Update Frame' fields_desc = [fields.BitField('reserved', 0, 1), fields.BitField('win_size_incr', 0, 31)] def __init__(self, *arg...
class H2WindowUpdateFrame(H2FramePayload): ''' H2WindowUpdateFrame implements the RFC 7540 par6.9 ''' def __init__(self, *args, **kwargs): ''' :raises: AssertionError ''' pass
2
2
12
0
8
4
1
0.4
1
3
0
0
1
0
1
120
23
2
15
5
13
6
7
5
5
1
5
0
1
25,973
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackDynamicSizeUpdate
class HPackDynamicSizeUpdate(HPackHeaders): """ HPackDynamicSizeUpdate implements RFC 7541 par6.3 """ name = 'HPack Dynamic Size Update' fields_desc = [HPackMagicBitField('magic', 1, 3), UVarIntField('max_size', 0, 5)]
class HPackDynamicSizeUpdate(HPackHeaders): ''' HPackDynamicSizeUpdate implements RFC 7541 par6.3 ''' pass
1
1
0
0
0
0
0
0.33
1
0
0
0
0
0
0
121
8
0
6
3
5
2
3
3
2
0
5
0
0
25,974
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackHdrEntry
from typing import Optional, List, Union, Callable, Any, Tuple, Sized, Pattern from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode class HPackHdrEntry(Sized): """ HPackHdrEntry is an entry of the HPackHdrTable helper Each HPackHdrEntry instance is a header line (name and value). Names a...
class HPackHdrEntry(Sized): ''' HPackHdrEntry is an entry of the HPackHdrTable helper Each HPackHdrEntry instance is a header line (name and value). Names are normalized (lowercase), according to RFC 7540 par8.1.2 ''' def __init__(self, name, value): ''' :raises: AssertionError ...
7
4
6
0
3
2
1
0.86
1
0
0
0
6
3
6
6
49
10
21
12
14
18
20
12
13
2
1
1
7
25,975
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackHdrString
import scapy.config as config import scapy.fields as fields import scapy.packet as packet class HPackHdrString(packet.Packet): """ HPackHdrString is a packet that that is serialized into a RFC7541 par5.2 string literal repr. """ name = 'HPack Header String' fields_desc = [fields.BitEnumField('type'...
class HPackHdrString(packet.Packet): ''' HPackHdrString is a packet that that is serialized into a RFC7541 par5.2 string literal repr. ''' def guess_payload_class(self, payload): pass def self_build(self, **kwargs): '''self_build is overridden because type and len are determined a...
3
2
7
0
3
5
2
0.71
1
2
1
0
2
1
2
121
30
2
17
6
14
12
9
6
6
3
4
1
4
25,976
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackHdrTable
import re from io import BytesIO from typing import Optional, List, Union, Callable, Any, Tuple, Sized, Pattern from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode class HPackHdrTable(Sized): """ HPackHdrTable is a helper class that implements some of the logic associated with indexing o...
class HPackHdrTable(Sized): ''' HPackHdrTable is a helper class that implements some of the logic associated with indexing of headers (read and write operations in this "registry". THe HPackHdrTable also implements convenience functions to easily # noqa: E501 convert to and from textual representation...
18
13
30
2
18
12
4
0.56
1
19
12
0
13
4
15
15
566
52
346
73
319
195
175
61
159
12
1
4
62
25,977
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackHeaders
from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode import scapy.packet as packet import scapy.config as config class HPackHeaders(packet.Packet): """HPackHeaders uses the "dispatch_hook" trick of Packet_metaclass to select the correct HPack header packet type. For this, the first byte o...
class HPackHeaders(packet.Packet): '''HPackHeaders uses the "dispatch_hook" trick of Packet_metaclass to select the correct HPack header packet type. For this, the first byte of the string # noqa: E501 to dissect is snooped on. ''' @classmethod def dispatch_hook(cls, s=None, *_args, **_kwds): ...
4
2
9
0
7
3
3
0.6
1
4
4
4
1
0
2
121
25
1
15
5
11
9
14
4
11
5
4
1
6
25,978
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackIndexedHdr
class HPackIndexedHdr(HPackHeaders): """ HPackIndexedHdr implements RFC 7541 par6.1 """ name = 'HPack Indexed Header Field' fields_desc = [HPackMagicBitField('magic', 1, 1), UVarIntField('index', 2, 7)]
class HPackIndexedHdr(HPackHeaders): ''' HPackIndexedHdr implements RFC 7541 par6.1 ''' pass
1
1
0
0
0
0
0
0.5
1
0
0
0
0
0
0
121
8
0
6
3
5
3
3
3
2
0
5
0
0
25,979
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackLitHdrFldWithIncrIndexing
import scapy.fields as fields class HPackLitHdrFldWithIncrIndexing(HPackHeaders): """ HPackLitHdrFldWithIncrIndexing implements RFC 7541 par6.2.1 """ name = 'HPack Literal Header With Incremental Indexing' fields_desc = [HPackMagicBitField('magic', 1, 2), UVarIntField('index', 0, 6), fields.Conditional...
class HPackLitHdrFldWithIncrIndexing(HPackHeaders): ''' HPackLitHdrFldWithIncrIndexing implements RFC 7541 par6.2.1 ''' pass
1
1
0
0
0
0
0
0.27
1
0
0
0
0
0
0
121
13
0
11
3
10
3
3
3
2
0
5
0
0
25,980
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackLitHdrFldWithoutIndexing
import scapy.fields as fields class HPackLitHdrFldWithoutIndexing(HPackHeaders): """ HPackLitHdrFldWithIncrIndexing implements RFC 7541 par6.2.2 and par6.2.3 """ name = 'HPack Literal Header Without Indexing (or Never Indexing)' fields_desc = [HPackMagicBitField('magic', 0, 3), fields.BitEnumField(...
class HPackLitHdrFldWithoutIndexing(HPackHeaders): ''' HPackLitHdrFldWithIncrIndexing implements RFC 7541 par6.2.2 and par6.2.3 ''' pass
1
1
0
0
0
0
0
0.27
1
0
0
0
0
0
0
121
18
0
15
3
14
4
3
3
2
0
5
0
0
25,981
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackLiteralString
from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode class HPackLiteralString(HPackStringsInterface): """ HPackLiteralString is a string. This class is used as a marker and implements an interface in common with HPackZString """ __slots__ = ['_s'] def __init__(self, s): ...
class HPackLiteralString(HPackStringsInterface): ''' HPackLiteralString is a string. This class is used as a marker and implements an interface in common with HPackZString ''' def __init__(self, s): pass def __str__(self): pass def origin(self): pass def __len__(...
5
1
3
0
2
1
1
0.7
1
0
0
0
4
1
4
28
21
4
10
7
5
7
10
7
5
1
4
0
4
25,982
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackMagicBitField
import scapy.fields as fields class HPackMagicBitField(fields.BitField): """ HPackMagicBitField is a BitField variant that cannot be assigned another value than the default one. This field must not be used where there is potential for fuzzing. OTOH, this field makes sense (for instance, if the magic bi...
class HPackMagicBitField(fields.BitField): ''' HPackMagicBitField is a BitField variant that cannot be assigned another value than the default one. This field must not be used where there is potential for fuzzing. OTOH, this field makes sense (for instance, if the magic bits are used by a dispatcher to...
9
9
12
0
5
9
1
1.92
1
3
0
0
8
1
8
45
115
9
39
13
30
75
31
13
22
1
6
0
8
25,983
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackStrLenField
import scapy.fields as fields import scapy.packet as packet from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode class HPackStrLenField(fields.Field): """ HPackStrLenField is a StrLenField variant specialized for HTTP/2 HPack This variant uses an internal representation that implements H...
class HPackStrLenField(fields.Field): ''' HPackStrLenField is a StrLenField variant specialized for HTTP/2 HPack This variant uses an internal representation that implements HPackStringsInterface. # noqa: E501 ''' def __init__(self, name, default, length_from, type_from): pass def addfie...
13
5
7
0
4
4
1
0.98
1
6
4
0
10
2
11
43
100
14
44
22
31
43
42
21
30
3
4
1
15
25,984
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackStringsInterface
from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode from typing import Optional, List, Union, Callable, Any, Tuple, Sized, Pattern import abc class HPackStringsInterface(Sized, metaclass=abc.ABCMeta): @abc.abstractmethod def __str__(self): pass def __bytes__(self): ...
class HPackStringsInterface(Sized, metaclass=abc.ABCMeta): @abc.abstractmethod def __str__(self): pass def __bytes__(self): pass @abc.abstractmethod def origin(self): pass @abc.abstractmethod def __len__(self): pass
8
0
2
0
2
0
1
0.08
2
0
0
2
4
0
4
24
16
3
13
9
5
1
10
6
5
1
3
0
4
25,985
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HPackZString
from scapy.compat import raw, plain_str, hex_bytes, orb, chb, bytes_encode class HPackZString(HPackStringsInterface): __slots__ = ['_s', '_encoded'] static_huffman_code = [(8184, 13), (8388568, 23), (268435426, 28), (268435427, 28), (268435428, 28), (268435429, 28), (268435430, 28), (268435431, 28), (268435432...
class HPackZString(HPackStringsInterface): @classmethod def _huffman_encode_char(cls, c): ''' huffman_encode_char assumes that the static_huffman_tree was previously initialized :param str|EOS c: a symbol to encode :return: (int, int): the bitstring of the symbol and its bitlen...
17
6
18
2
11
6
3
0.16
1
7
3
0
4
2
10
34
461
27
379
52
362
62
110
46
99
10
4
3
31
25,986
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.HuffmanNode
class HuffmanNode(object): """ HuffmanNode is an entry of the binary tree used for encoding/decoding HPack compressed HTTP/2 headers """ __slots__ = ['left', 'right'] '@var l: the left branch of this node\n @var r: the right branch of this Node\n\n These variables can value None (leaf node), a...
class HuffmanNode(object): ''' HuffmanNode is an entry of the binary tree used for encoding/decoding HPack compressed HTTP/2 headers ''' def __init__(self, left, right): pass def __getitem__(self, b): pass def __setitem__(self, b, val): pass def __str__(self): ...
6
1
4
0
3
1
1
0.88
1
0
0
0
5
2
5
5
37
7
16
9
10
14
15
9
9
2
1
1
7
25,987
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.InvalidEncodingException
class InvalidEncodingException(Exception): """ InvalidEncodingException is raised when a supposedly huffman-encoded string is decoded and a decoding error arises """
class InvalidEncodingException(Exception): ''' InvalidEncodingException is raised when a supposedly huffman-encoded string is decoded and a decoding error arises ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
10
4
0
1
1
0
3
1
1
0
0
3
0
0
25,988
secdev/scapy
secdev_scapy/scapy/contrib/http2.py
scapy.contrib.http2.UVarIntField
class UVarIntField(AbstractUVarIntField): def __init__(self, name, default, size): """ :param str name: the name of this field instance. :param default: the default value for this field instance. default must be positive or null. # noqa: E501 :raises: AssertionError """ ...
class UVarIntField(AbstractUVarIntField): def __init__(self, name, default, size): ''' :param str name: the name of this field instance. :param default: the default value for this field instance. default must be positive or null. # noqa: E501 :raises: AssertionError ''' ...
6
5
12
1
4
7
1
1.59
1
1
0
0
5
3
5
51
67
10
22
12
16
35
22
12
16
1
5
0
5
25,989
secdev/scapy
secdev_scapy/scapy/contrib/ibeacon.py
scapy.contrib.ibeacon.Apple_BLE_Frame
from scapy.packet import bind_layers, Packet from scapy.layers.bluetooth import EIR_Hdr, EIR_Manufacturer_Specific_Data, LowEnergyBeaconHelper from scapy.fields import ByteEnumField, ConditionalField, LenField, PacketListField, ShortField, SignedByteField, UUIDField class Apple_BLE_Frame(Packet, LowEnergyBeaconHelper)...
class Apple_BLE_Frame(Packet, LowEnergyBeaconHelper): ''' The wrapper for a BLE manufacturer-specific data advertisement from Apple devices. Each advertisement is composed of one or multiple submessages. The length of this field comes from the EIR_Hdr. ''' def build_eir(self): '''B...
2
2
6
1
4
1
1
0.78
2
2
2
0
1
0
1
123
20
4
9
4
7
7
5
4
3
1
4
0
1
25,990
secdev/scapy
secdev_scapy/scapy/contrib/ibeacon.py
scapy.contrib.ibeacon.Apple_BLE_Submessage
from scapy.fields import ByteEnumField, ConditionalField, LenField, PacketListField, ShortField, SignedByteField, UUIDField from scapy.layers.bluetooth import EIR_Hdr, EIR_Manufacturer_Specific_Data, LowEnergyBeaconHelper from scapy.packet import bind_layers, Packet class Apple_BLE_Submessage(Packet, LowEnergyBeaconHe...
class Apple_BLE_Submessage(Packet, LowEnergyBeaconHelper): ''' A basic Apple submessage. ''' def extract_padding(self, s): pass def build_frame(self): '''Wraps this submessage in a Apple_BLE_Frame.''' pass def build_eir(self): '''See Apple_BLE_Frame.build_eir....
4
3
4
0
3
1
1
0.38
2
1
1
0
3
0
3
125
40
4
26
6
22
10
11
6
7
2
4
1
4
25,991
secdev/scapy
secdev_scapy/scapy/contrib/ibeacon.py
scapy.contrib.ibeacon.IBeacon_Data
from scapy.fields import ByteEnumField, ConditionalField, LenField, PacketListField, ShortField, SignedByteField, UUIDField from scapy.packet import bind_layers, Packet class IBeacon_Data(Packet): """ iBeacon broadcast data frame. Composed on top of an Apple_BLE_Submessage. """ name = 'iBeacon data' ...
class IBeacon_Data(Packet): ''' iBeacon broadcast data frame. Composed on top of an Apple_BLE_Submessage. ''' pass
1
1
0
0
0
0
0
0.38
1
0
0
0
0
0
0
119
11
0
8
3
7
3
3
3
2
0
4
0
0
25,992
secdev/scapy
secdev_scapy/scapy/contrib/ife.py
scapy.contrib.ife.IFE
from scapy.packet import Packet, bind_layers from scapy.fields import FieldLenField, PacketListField, IntField, MultipleTypeField, ShortField, ShortEnumField, StrField, PadField class IFE(Packet): """ Main IFE Packet Class """ name = 'IFE' fields_desc = [FieldLenField('mdlen', None, length_of='tlvs...
class IFE(Packet): ''' Main IFE Packet Class ''' pass
1
1
0
0
0
0
0
0.43
1
0
0
0
0
0
0
119
11
1
7
3
6
3
3
3
2
0
4
0
0
25,993
secdev/scapy
secdev_scapy/scapy/contrib/ife.py
scapy.contrib.ife.IFETlv
from scapy.fields import FieldLenField, PacketListField, IntField, MultipleTypeField, ShortField, ShortEnumField, StrField, PadField from scapy.packet import Packet, bind_layers class IFETlv(Packet): """ Parent Class interhit by all ForCES TLV structures """ name = 'IFETlv' fields_desc = [ShortEnum...
class IFETlv(Packet): ''' Parent Class interhit by all ForCES TLV structures ''' def extract_padding(self, s): pass
2
1
2
0
2
0
1
0.17
1
0
0
1
1
0
1
120
23
2
18
4
16
3
5
4
3
1
4
0
1
25,994
secdev/scapy
secdev_scapy/scapy/contrib/ife.py
scapy.contrib.ife.IFETlvStr
from scapy.fields import FieldLenField, PacketListField, IntField, MultipleTypeField, ShortField, ShortEnumField, StrField, PadField class IFETlvStr(IFETlv): """ A IFE TLV with variable payload """ fields_desc = [ShortEnumField('type', 0, IFE_META_TYPES), FieldLenField('length', None, length_of='value'...
class IFETlvStr(IFETlv): ''' A IFE TLV with variable payload ''' pass
1
1
0
0
0
0
0
0.43
1
0
0
0
0
0
0
120
10
0
7
2
6
3
2
2
1
0
5
0
0
25,995
secdev/scapy
secdev_scapy/scapy/contrib/igmp.py
scapy.contrib.igmp.IGMP
from scapy.utils import atol, checksum from scapy.packet import bind_layers, Packet from scapy.compat import chb, orb from scapy.error import warning from scapy.fields import ByteEnumField, ByteField, IPField, XShortField from scapy.layers.inet import IP, IPOption_Router_Alert from scapy.layers.l2 import Ether, getmacb...
class IGMP(Packet): '''IGMP Message Class for v1 and v2. This class is derived from class Packet. You need call "igmpize()" so the packet is transformed according the RFC when sent. a=Ether(src="00:01:02:03:04:05") b=IP(src="1.2.3.4") c=IGMP(type=0x12, gaddr="224.2.3.4") x = a/b/c x[IG...
6
4
22
1
13
11
5
0.92
1
4
4
1
3
2
4
123
123
13
63
17
55
58
49
15
42
13
4
3
21
25,996
secdev/scapy
secdev_scapy/scapy/contrib/igmpv3.py
scapy.contrib.igmpv3.IGMPv3
from scapy.contrib.igmp import IGMP from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, FieldListField, IPField, PacketListField, ShortField, XShortField from scapy.layers.inet import IP from scapy.compat import orb class IGMPv3(IGMP): """IGMP Message Class for v3. This class is derive...
class IGMPv3(IGMP): '''IGMP Message Class for v3. This class is derived from class Packet. The fields defined below are a direct interpretation of the v3 Membership Query Message. Fields 'type' through 'qqic' are directly assignable. For 'numsrc', do not assign a value. Instead add to the ...
5
3
11
0
9
2
3
0.58
1
1
1
0
2
1
3
126
70
11
38
12
33
22
27
11
23
4
5
2
10
25,997
secdev/scapy
secdev_scapy/scapy/contrib/igmpv3.py
scapy.contrib.igmpv3.IGMPv3gr
from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, FieldListField, IPField, PacketListField, ShortField, XShortField from scapy.packet import Packet, bind_layers from scapy.config import conf class IGMPv3gr(Packet): """IGMP Group Record for IGMPv3 Membership Report This class is deriv...
class IGMPv3gr(Packet): '''IGMP Group Record for IGMPv3 Membership Report This class is derived from class Packet and should be added in the records of an instantiation of class IGMPv3mr. ''' def mysummary(self): '''Display a summary of the IGMPv3 group record.''' pass def...
3
2
3
0
2
1
1
0.41
1
0
0
0
2
0
2
121
26
4
17
6
14
7
8
6
5
1
4
0
2
25,998
secdev/scapy
secdev_scapy/scapy/contrib/igmpv3.py
scapy.contrib.igmpv3.IGMPv3mq
from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, FieldListField, IPField, PacketListField, ShortField, XShortField from scapy.packet import Packet, bind_layers class IGMPv3mq(Packet): """IGMPv3 Membership Query. Payload of IGMPv3 when type=0x11""" name = 'IGMPv3mq' fields_des...
class IGMPv3mq(Packet): '''IGMPv3 Membership Query. Payload of IGMPv3 when type=0x11''' pass
1
1
0
0
0
0
0
0.33
1
0
0
0
0
0
0
119
11
0
9
3
8
3
3
3
2
0
4
0
0
25,999
secdev/scapy
secdev_scapy/scapy/contrib/igmpv3.py
scapy.contrib.igmpv3.IGMPv3mr
from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, FieldListField, IPField, PacketListField, ShortField, XShortField from scapy.packet import Packet, bind_layers class IGMPv3mr(Packet): """IGMP Membership Report extension for IGMPv3. Payload of IGMPv3 when type=0x22""" name = 'IGMP...
class IGMPv3mr(Packet): '''IGMP Membership Report extension for IGMPv3. Payload of IGMPv3 when type=0x22''' pass
1
1
0
0
0
0
0
0.6
1
0
0
0
0
0
0
119
7
0
5
3
4
3
3
3
2
0
4
0
0