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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24,900 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID80 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID80(OBD_Packet):
name = 'PID_80_PIDsSupported'
fields_desc = [FlagsField('supported_pids', 0, 32, ['PIDA0', 'PID9F', 'PID9E', 'PID9D', 'PID9C', 'PID9B', 'PID9A', ... |
class OBD_PID80(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 38 | 0 | 38 | 3 | 37 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,901 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID81 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID81(OBD_Packet):
name = 'PID_81_EngineRunTimeForAuxiliaryEmissionsControlDevice'
fields_desc = [BitField('reserved', 0, 3), BitField('total_run_time_with_ei_aecd5... |
class OBD_PID81(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 20 | 0 | 20 | 3 | 19 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,902 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID82 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID82(OBD_Packet):
name = 'PID_82_EngineRunTimeForAuxiliaryEmissionsControlDevice'
fields_desc = [BitField('reserved', 0, 3), BitField('total_run_time_with_ei_aecd1... |
class OBD_PID82(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 20 | 0 | 20 | 3 | 19 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,903 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID83 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID83(OBD_Packet):
name = 'PID_83_NOxSensor'
fields_desc = [BitField('reserved', 0, 6), BitField('nox_sensor_concentration_bank2_sensor1_supported', 0, 1), BitField... |
class OBD_PID83(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 11 | 0 | 11 | 3 | 10 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,904 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID84 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID84(OBD_Packet):
name = 'PID_84_ManifoldSurfaceTemperature'
fields_desc = [StrFixedLenField('data', b'', 1)] |
class OBD_PID84(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,905 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID85 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID85(OBD_Packet):
name = 'PID_85_NoxReagentSystem'
fields_desc = [StrFixedLenField('data', b'', 10)] |
class OBD_PID85(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,906 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID86 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID86(OBD_Packet):
name = 'PID_86_ParticulateMatterSensor'
fields_desc = [StrFixedLenField('data', b'', 5)] |
class OBD_PID86(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,907 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID87 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID87(OBD_Packet):
name = 'PID_87_IntakeManifoldAbsolutePressure'
fields_desc = [StrFixedLenField('data', b'', 5)] |
class OBD_PID87(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,908 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID88 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID88(OBD_Packet):
name = 'PID_88_ScrInduceSystem'
fields_desc = [StrFixedLenField('data', b'', 13)] |
class OBD_PID88(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,909 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID89 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID89(OBD_Packet):
name = 'PID_89_RunTimeForAecd'
fields_desc = [StrFixedLenField('data', b'', 41)] |
class OBD_PID89(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 6 | 0 | 5 | 3 | 4 | 1 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,910 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8A | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID8A(OBD_Packet):
name = 'PID_8A_RunTimeForAecd'
fields_desc = [StrFixedLenField('data', b'', 41)] |
class OBD_PID8A(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 6 | 0 | 5 | 3 | 4 | 1 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,911 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8B | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID8B(OBD_Packet):
name = 'PID_8B_DieselAftertreatment'
fields_desc = [StrFixedLenField('data', b'', 7)] |
class OBD_PID8B(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,912 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8C | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID8C(OBD_Packet):
name = 'PID_8C_O2Sensor'
fields_desc = [StrFixedLenField('data', b'', 16)] |
class OBD_PID8C(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,913 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8D | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID8D(OBD_Packet):
name = 'PID_8D_ThrottlePositionG'
fields_desc = [StrFixedLenField('data', b'', 1)] |
class OBD_PID8D(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,914 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8E | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID8E(OBD_Packet):
name = 'PID_8E_EngineFrictionPercentTorque'
fields_desc = [StrFixedLenField('data', b'', 1)] |
class OBD_PID8E(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,915 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID8F | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID8F(OBD_Packet):
name = 'PID_8F_PmSensorBank1And2'
fields_desc = [StrFixedLenField('data', b'', 5)] |
class OBD_PID8F(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,916 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID90 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID90(OBD_Packet):
name = 'PID_90_WwhObdVehicleObdSystemInformation'
fields_desc = [StrFixedLenField('data', b'', 3)] |
class OBD_PID90(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,917 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID91 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID91(OBD_Packet):
name = 'PID_91_WwhObdVehicleObdSystemInformation'
fields_desc = [StrFixedLenField('data', b'', 5)] |
class OBD_PID91(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,918 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID92 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID92(OBD_Packet):
name = 'PID_92_FuelSystemControl'
fields_desc = [StrFixedLenField('data', b'', 2)] |
class OBD_PID92(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,919 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID93 | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID93(OBD_Packet):
name = 'PID_93_WwhObdVehicleObdCountersSupport'
fields_desc = [StrFixedLenField('data', b'', 3)] |
class OBD_PID93(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,920 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID94 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID94(OBD_Packet):
name = 'PID_94_NoxWarningAndInducementSystem'
fields_desc = [StrFixedLenField('data', b'', 12)] |
class OBD_PID94(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,921 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID98 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID98(OBD_Packet):
name = 'PID_98_ExhaustGasTemperatureSensor'
fields_desc = [StrFixedLenField('data', b'', 9)] |
class OBD_PID98(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,922 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID99 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID99(OBD_Packet):
name = 'PID_99_ExhaustGasTemperatureSensor'
fields_desc = [StrFixedLenField('data', b'', 9)] |
class OBD_PID99(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,923 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9A | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID9A(OBD_Packet):
name = 'PID_9A_HybridEvVehicleSystemDataBatteryVoltage'
fields_desc = [StrFixedLenField('data', b'', 6)] |
class OBD_PID9A(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,924 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9B | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID9B(OBD_Packet):
name = 'PID_9B_DieselExhaustFluidSensorData'
fields_desc = [StrFixedLenField('data', b'', 4)] |
class OBD_PID9B(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,925 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9C | from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PID9C(OBD_Packet):
name = 'PID_9C_O2SensorData'
fields_desc = [StrFixedLenField('data', b'', 17)] |
class OBD_PID9C(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,926 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9D | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID9D(OBD_Packet):
name = 'PID_9D_EngineFuelRate'
fields_desc = [StrFixedLenField('data', b'', 4)] |
class OBD_PID9D(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,927 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9E | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID9E(OBD_Packet):
name = 'PID_9E_EngineExhaustFlowRate'
fields_desc = [StrFixedLenField('data', b'', 2)] |
class OBD_PID9E(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,928 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_80_9F.py | scapy.contrib.automotive.obd.pid.pids_80_9F.OBD_PID9F | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField, ScalingField, BitField
class OBD_PID9F(OBD_Packet):
name = 'PID_9F_FuelSystemPercentageUse'
fields_desc = [StrFixedLenField('data', b'', 9)] |
class OBD_PID9F(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,929 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA0 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA0(OBD_Packet):
name = 'PID_A0_PIDsSupported'
fields_desc = [FlagsField('supported_pids', 0, 32, ['PIDC0', 'PIDBF', 'PIDBE', 'PIDBD', 'PIDBC', 'PIDBB', 'PIDBA', 'PIDB9', 'PIDB8', 'PIDB7... |
class OBD_PIDA0(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 38 | 0 | 38 | 3 | 37 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,930 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA1 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA1(OBD_Packet):
name = 'PID_A1_NoxSensorCorrectedData'
fields_desc = [StrFixedLenField('data', b'', 9)] |
class OBD_PIDA1(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,931 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA2 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA2(OBD_Packet):
name = 'PID_A2_CylinderFuelRate'
fields_desc = [StrFixedLenField('data', b'', 2)] |
class OBD_PIDA2(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,932 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA3 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField
class OBD_PIDA3(OBD_Packet):
name = 'PID_A3_EvapSystemVaporPressure'
fields_desc = [StrFixedLenField('data', b'', 9)] |
class OBD_PIDA3(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,933 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA4 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA4(OBD_Packet):
name = 'PID_A4_TransmissionActualGear'
fields_desc = [StrFixedLenField('data', b'', 4)] |
class OBD_PIDA4(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,934 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA5 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA5(OBD_Packet):
name = 'PID_A5_DieselExhaustFluidDosing'
fields_desc = [StrFixedLenField('data', b'', 4)] |
class OBD_PIDA5(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,935 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDA6 | from scapy.fields import StrFixedLenField, FlagsField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_PIDA6(OBD_Packet):
name = 'PID_A6_Odometer'
fields_desc = [StrFixedLenField('data', b'', 4)] |
class OBD_PIDA6(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 3 | 4 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,936 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/pid/pids_A0_C0.py | scapy.contrib.automotive.obd.pid.pids_A0_C0.OBD_PIDC0 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import StrFixedLenField, FlagsField
class OBD_PIDC0(OBD_Packet):
name = 'PID_C0_PIDsSupported'
fields_desc = [FlagsField('supported_pids', 0, 32, ['PIDE0', 'PIDDF', 'PIDDE', 'PIDDD', 'PIDDC', 'PIDDB', 'PIDDA', 'PIDD9', 'PIDD8', 'PIDD7... |
class OBD_PIDC0(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 38 | 0 | 38 | 3 | 37 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,937 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_DTC_Enumerator | from scapy.config import conf
from scapy.themes import BlackAndWhite
class OBD_DTC_Enumerator(OBD_Enumerator):
@staticmethod
def print_payload(resp):
backup_ct = conf.color_theme
conf.color_theme = BlackAndWhite()
load = repr(resp.dtcs)
conf.color_theme = backup_ct
retu... |
class OBD_DTC_Enumerator(OBD_Enumerator):
@staticmethod
def print_payload(resp):
pass | 3 | 0 | 7 | 0 | 6 | 1 | 1 | 0.13 | 1 | 1 | 1 | 3 | 0 | 0 | 1 | 84 | 9 | 0 | 8 | 5 | 5 | 1 | 7 | 4 | 5 | 1 | 7 | 0 | 1 |
24,938 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_Enumerator | import copy
from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
from scapy.contrib.automotive.scanner.enumerator import ServiceEnumerator, _AutomotiveTestCaseScanResult, _AutomotiveTestCaseFilteredScanResult
class OBD_Enumerat... |
class OBD_Enumerator(ServiceEnumerator):
@staticmethod
def _get_negative_response_code(resp):
pass
@staticmethod
def _get_negative_response_desc(nrc):
pass
@staticmethod
def _get_negative_response_label(response):
pass
@property
def filtered_results(self):
... | 9 | 0 | 3 | 0 | 2 | 1 | 1 | 0.18 | 1 | 1 | 1 | 2 | 1 | 0 | 4 | 83 | 31 | 5 | 22 | 11 | 13 | 4 | 12 | 7 | 7 | 1 | 6 | 0 | 4 |
24,939 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S01_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S01_Enumerator(OBD_Service_Enumerator):
"""OBD_S01_Enumerator"""
_description = 'Available data in OBD service 01'
def _get_initial_requests(self, **kw... |
class OBD_S01_Enumerator(OBD_Service_Enumerator):
'''OBD_S01_Enumerator'''
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 1 | 5 | 0 | 4 | 1 | 2 | 0.36 | 1 | 3 | 2 | 0 | 3 | 0 | 3 | 90 | 22 | 4 | 14 | 7 | 10 | 5 | 12 | 7 | 8 | 3 | 8 | 1 | 5 |
24,940 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S02_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S02_Enumerator(OBD_Service_Enumerator):
_description = 'Available data in OBD service 02'
def _get_initial_requests(self, **kwargs):
scan_range = k... |
class OBD_S02_Enumerator(OBD_Service_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 0 | 5 | 0 | 4 | 1 | 2 | 0.27 | 1 | 4 | 3 | 0 | 3 | 0 | 3 | 90 | 21 | 3 | 15 | 7 | 11 | 4 | 12 | 7 | 8 | 3 | 8 | 1 | 5 |
24,941 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S03_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S03_Enumerator(OBD_DTC_Enumerator):
_description = 'Available DTCs in OBD service 03'
def _get_initial_requests(self, **kwargs):
return [OBD() / OB... |
class OBD_S03_Enumerator(OBD_DTC_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 0 | 4 | 0 | 3 | 1 | 2 | 0.25 | 1 | 2 | 2 | 0 | 3 | 0 | 3 | 87 | 18 | 3 | 12 | 6 | 8 | 3 | 11 | 6 | 7 | 3 | 8 | 1 | 5 |
24,942 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S06_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S06_Enumerator(OBD_Service_Enumerator):
_description = 'Available data in OBD service 06'
def _get_initial_requests(self, **kwargs):
scan_range = k... |
class OBD_S06_Enumerator(OBD_Service_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 0 | 6 | 0 | 5 | 1 | 2 | 0.24 | 1 | 3 | 2 | 0 | 3 | 0 | 3 | 90 | 23 | 3 | 17 | 8 | 13 | 4 | 13 | 8 | 9 | 3 | 8 | 1 | 5 |
24,943 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S07_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S07_Enumerator(OBD_DTC_Enumerator):
_description = 'Available DTCs in OBD service 07'
def _get_initial_requests(self, **kwargs):
return [OBD() / OB... |
class OBD_S07_Enumerator(OBD_DTC_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass | 3 | 0 | 3 | 0 | 2 | 1 | 1 | 0.33 | 1 | 2 | 2 | 0 | 2 | 0 | 2 | 86 | 10 | 2 | 6 | 4 | 3 | 2 | 6 | 4 | 3 | 1 | 8 | 0 | 2 |
24,944 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S08_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S08_Enumerator(OBD_Service_Enumerator):
_description = 'Available data in OBD service 08'
def _get_initial_requests(self, **kwargs):
scan_range = k... |
class OBD_S08_Enumerator(OBD_Service_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 0 | 5 | 0 | 4 | 1 | 2 | 0.29 | 1 | 3 | 2 | 0 | 3 | 0 | 3 | 90 | 20 | 3 | 14 | 7 | 10 | 4 | 12 | 7 | 8 | 3 | 8 | 1 | 5 |
24,945 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S09_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S09_Enumerator(OBD_Service_Enumerator):
_description = 'Available data in OBD service 09'
def _get_initial_requests(self, **kwargs):
scan_range = k... |
class OBD_S09_Enumerator(OBD_Service_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass
def _get_table_entry_y(self, tup):
pass | 4 | 0 | 5 | 0 | 4 | 1 | 2 | 0.27 | 1 | 3 | 2 | 0 | 3 | 0 | 3 | 90 | 21 | 3 | 15 | 7 | 11 | 4 | 12 | 7 | 8 | 3 | 8 | 1 | 5 |
24,946 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_S0A_Enumerator | from scapy.contrib.automotive.obd.obd import OBD, OBD_S03, OBD_S07, OBD_S0A, OBD_S01, OBD_S06, OBD_S08, OBD_S09, OBD_NR, OBD_S02, OBD_S02_Record
class OBD_S0A_Enumerator(OBD_DTC_Enumerator):
_description = 'Available DTCs in OBD service 10'
def _get_initial_requests(self, **kwargs):
return [OBD() / OB... |
class OBD_S0A_Enumerator(OBD_DTC_Enumerator):
def _get_initial_requests(self, **kwargs):
pass
def _get_table_entry_x(self, tup):
pass | 3 | 0 | 3 | 0 | 2 | 1 | 1 | 0.33 | 1 | 2 | 2 | 0 | 2 | 0 | 2 | 86 | 10 | 2 | 6 | 4 | 3 | 2 | 6 | 4 | 3 | 1 | 8 | 0 | 2 |
24,947 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_Scanner | from scapy.contrib.automotive.scanner.executor import AutomotiveTestCaseExecutor
class OBD_Scanner(AutomotiveTestCaseExecutor):
@property
def enumerators(self):
return self.configuration.test_cases
@property
def default_test_case_clss(self):
return [OBD_S01_Enumerator, OBD_S02_Enumera... |
class OBD_Scanner(AutomotiveTestCaseExecutor):
@property
def enumerators(self):
pass
@property
def default_test_case_clss(self):
pass | 5 | 0 | 4 | 0 | 3 | 1 | 1 | 0.22 | 1 | 8 | 8 | 0 | 2 | 0 | 2 | 46 | 12 | 1 | 9 | 5 | 4 | 2 | 5 | 3 | 2 | 1 | 4 | 0 | 2 |
24,948 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/scanner.py | scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator | from scapy.themes import BlackAndWhite
from scapy.config import conf
class OBD_Service_Enumerator(OBD_Enumerator):
"""
Base class for OBD_Service_Enumerators
"""
def get_supported(self, socket, state, **kwargs):
super(OBD_Service_Enumerator, self).execute(socket, state, scan_range=range(0, 255... |
class OBD_Service_Enumerator(OBD_Enumerator):
'''
Base class for OBD_Service_Enumerators
'''
def get_supported(self, socket, state, **kwargs):
pass
def execute(self, socket, state, **kwargs):
pass
@staticmethod
def print_payload(resp):
pass
def _get_table_... | 6 | 1 | 9 | 0 | 8 | 1 | 2 | 0.24 | 1 | 7 | 1 | 5 | 3 | 0 | 4 | 87 | 47 | 6 | 34 | 14 | 28 | 8 | 28 | 13 | 23 | 3 | 7 | 2 | 7 |
24,949 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_DTC | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
class OBD_DTC(OBD_Packet):
name = 'DiagnosticTroubleCode'
locations = {0: 'Powertrain', 1: 'Chassis', 2: 'Body', 3: ... |
class OBD_DTC(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 17 | 2 | 15 | 4 | 14 | 0 | 4 | 4 | 3 | 0 | 5 | 0 | 0 |
24,950 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_NR | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
from scapy.config import conf
class OBD_NR(Packet):
name = 'NegativeResponse'
responses = {16: 'generalReject', 17: 'serviceNotSupported', 18: ... |
class OBD_NR(Packet):
def answers(self, other):
pass | 2 | 0 | 4 | 0 | 4 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 120 | 21 | 3 | 18 | 5 | 16 | 0 | 6 | 5 | 4 | 1 | 4 | 0 | 1 |
24,951 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S01 | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S01(Packet):
name = 'S1_CurrentData'
fields_desc = [FieldListField('pid', [], XByteField('', 0))] |
class OBD_S01(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 |
24,952 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S02 | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S02(Packet):
name = 'S2_FreezeFrameData'
fields_desc = [PacketListField('requests', [], OBD_S02_Record)] |
class OBD_S02(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 |
24,953 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S02_Record | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class OBD_S02_Record(OBD_Packet):
fields_desc = [XByteField('pid', 0), ByteField('frame_no', 0)] |
class OBD_S02_Record(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 5 | 0 | 5 | 2 | 4 | 0 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
24,954 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S03 | from scapy.packet import Packet
class OBD_S03(Packet):
name = 'S3_RequestDTCs' |
class OBD_S03(Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 119 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
24,955 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S03_PR | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S03_PR(Packet):
name = 'S3_ResponseDTCs'
fields_desc = [FieldLenField('count', None, count_of='dtcs', fmt='B'), PacketListField('dtcs... |
class OBD_S03_PR(Packet):
def answers(self, other):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 120 | 9 | 1 | 8 | 4 | 6 | 0 | 5 | 4 | 3 | 1 | 4 | 0 | 1 |
24,956 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S04 | from scapy.packet import Packet
class OBD_S04(Packet):
name = 'S4_ClearDTCs' |
class OBD_S04(Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 119 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
24,957 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S04_PR | from scapy.packet import Packet
class OBD_S04_PR(Packet):
name = 'S4_ClearDTCsPositiveResponse'
def answers(self, other):
return isinstance(other, OBD_S04) |
class OBD_S04_PR(Packet):
def answers(self, other):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 120 | 5 | 1 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
24,958 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S06 | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S06(Packet):
name = 'S6_OnBoardDiagnosticMonitoring'
fields_desc = [FieldListField('mid', [], XByteField('', 0))] |
class OBD_S06(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 |
24,959 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S07 | from scapy.packet import Packet
class OBD_S07(Packet):
name = 'S7_RequestPendingDTCs' |
class OBD_S07(Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 119 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
24,960 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S07_PR | from scapy.packet import Packet
from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
class OBD_S07_PR(Packet):
name = 'S7_ResponsePendingDTCs'
fields_desc = [FieldLenField('count', None, count_of='dtcs', fmt='B'), PacketListFiel... |
class OBD_S07_PR(Packet):
def answers(self, other):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 120 | 9 | 1 | 8 | 4 | 6 | 0 | 5 | 4 | 3 | 1 | 4 | 0 | 1 |
24,961 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S08 | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S08(Packet):
name = 'S8_RequestControlOfSystem'
fields_desc = [FieldListField('tid', [], XByteField('', 0))] |
class OBD_S08(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 |
24,962 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S09 | from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
from scapy.packet import Packet
class OBD_S09(Packet):
name = 'S9_VehicleInformation'
fields_desc = [FieldListField('iid', [], XByteField('', 0))] |
class OBD_S09(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 |
24,963 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S0A | from scapy.packet import Packet
class OBD_S0A(Packet):
name = 'S0A_RequestPermanentDTCs' |
class OBD_S0A(Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 119 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
24,964 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/services.py | scapy.contrib.automotive.obd.services.OBD_S0A_PR | from scapy.packet import Packet
from scapy.fields import ByteField, XByteField, BitEnumField, PacketListField, XBitField, XByteEnumField, FieldListField, FieldLenField
class OBD_S0A_PR(Packet):
name = 'S0A_ResponsePermanentDTCs'
fields_desc = [FieldLenField('count', None, count_of='dtcs', fmt='B'), PacketListF... |
class OBD_S0A_PR(Packet):
def answers(self, other):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 120 | 9 | 1 | 8 | 4 | 6 | 0 | 5 | 4 | 3 | 1 | 4 | 0 | 1 |
24,965 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_S08_PR | from scapy.packet import bind_layers, Packet
from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
from scapy.contrib.automotive.obd.services import OBD_S08
class OBD_S08_PR(Packet):
name = 'Control Operation IDs'
fields_desc = [PacketListField('data_records', [], OBD_S08_PR_Record)]
... |
class OBD_S08_PR(Packet):
def answers(self, other):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 120 | 9 | 1 | 8 | 4 | 6 | 0 | 5 | 4 | 3 | 1 | 4 | 0 | 1 |
24,966 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_S08_PR_Record | from scapy.packet import bind_layers, Packet
from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
class OBD_S08_PR_Record(Packet):
name = 'Control Operation ID'
fields_desc = [ByteField('tid', 0)] |
class OBD_S08_PR_Record(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 |
24,967 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID00 | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
class OBD_TID00(OBD_Packet):
name = 'TID_00_Service8SupportedTestIdentifiers'
fields_desc = [FlagsField('supported_tids', 0, 32, ['TID20', 'TID1F', 'TID1E', 'TID1D', 'TID1C',... |
class OBD_TID00(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 38 | 0 | 38 | 3 | 37 | 0 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
24,968 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID01 | class OBD_TID01(_OBD_TID_Voltage):
name = 'TID_01_RichToLeanSensorThresholdVoltage' | class OBD_TID01(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,969 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID02 | class OBD_TID02(_OBD_TID_Voltage):
name = 'TID_02_LeanToRichSensorThresholdVoltage' | class OBD_TID02(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,970 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID03 | class OBD_TID03(_OBD_TID_Voltage):
name = 'TID_03_LowSensorVoltageForSwitchTimeCalculation' | class OBD_TID03(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,971 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID04 | class OBD_TID04(_OBD_TID_Voltage):
name = 'TID_04_HighSensorVoltageForSwitchTimeCalculation' | class OBD_TID04(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,972 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID05 | class OBD_TID05(_OBD_TID_Time):
name = 'TID_05_RichToLeanSensorSwitchTime' | class OBD_TID05(_OBD_TID_Time):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,973 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID06 | class OBD_TID06(_OBD_TID_Time):
name = 'TID_06_LeanToRichSensorSwitchTime' | class OBD_TID06(_OBD_TID_Time):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,974 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID07 | class OBD_TID07(_OBD_TID_Voltage):
name = 'TID_07_MinimumSensorVoltageForTestCycle' | class OBD_TID07(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,975 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID08 | class OBD_TID08(_OBD_TID_Voltage):
name = 'TID_08_MaximumSensorVoltageForTestCycle' | class OBD_TID08(_OBD_TID_Voltage):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,976 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID09 | class OBD_TID09(_OBD_TID_Period):
name = 'TID_09_TimeBetweenSensorTransitions' | class OBD_TID09(_OBD_TID_Period):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,977 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids.OBD_TID0A | class OBD_TID0A(_OBD_TID_Period):
name = 'TID_0A_SensorPeriod' | class OBD_TID0A(_OBD_TID_Period):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 6 | 0 | 0 |
24,978 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids._OBD_TID_Period | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
class _OBD_TID_Period(OBD_Packet):
fields_desc = [ScalingField('data_a', 0, 0.04, 's'), ScalingField('data_b', 0, 0.04, 's'), ScalingField('data_c', 0, 0.04, 's'), ScalingField('... |
class _OBD_TID_Period(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 120 | 8 | 0 | 8 | 2 | 7 | 0 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
24,979 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids._OBD_TID_Time | from scapy.contrib.automotive.obd.packet import OBD_Packet
from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
class _OBD_TID_Time(OBD_Packet):
fields_desc = [ScalingField('data_a', 0, 0.004, 's'), ScalingField('data_b', 0, 0.004, 's'), ScalingField('data_c', 0, 0.004, 's'), ScalingField(... |
class _OBD_TID_Time(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 120 | 8 | 0 | 8 | 2 | 7 | 0 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
24,980 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/obd/tid/tids.py | scapy.contrib.automotive.obd.tid.tids._OBD_TID_Voltage | from scapy.fields import FlagsField, ByteField, ScalingField, PacketListField
from scapy.contrib.automotive.obd.packet import OBD_Packet
class _OBD_TID_Voltage(OBD_Packet):
fields_desc = [ScalingField('data_a', 0, 0.005, 'V'), ScalingField('data_b', 0, 0.005, 'V'), ScalingField('data_c', 0, 0.005, 'V'), ScalingFie... |
class _OBD_TID_Voltage(OBD_Packet):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 | 0 | 0 | 0 | 120 | 8 | 0 | 8 | 2 | 7 | 0 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
24,981 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/scanner/enumerator.py | scapy.contrib.automotive.scanner.enumerator.ServiceEnumerator | from scapy.utils import make_lined_table, EDecimal, PeriodicSenderThread
from typing import Any, Union, List, Optional, Iterable, Dict, Tuple, Set, Callable, cast
from scapy.contrib.automotive.ecu import EcuState, EcuResponse
from scapy.error import Scapy_Exception
from scapy.compat import orb
from scapy.contrib.automo... |
class ServiceEnumerator(AutomotiveTestCase, metaclass=abc.ABCMeta):
'''
Base class for ServiceEnumerators of automotive diagnostic protocols
'''
def __init__(self):
pass
@staticmethod
@abc.abstractmethod
def _get_negative_response_code(resp):
pass
@staticmethod
... | 61 | 10 | 14 | 1 | 10 | 3 | 3 | 0.29 | 2 | 22 | 4 | 4 | 38 | 7 | 41 | 79 | 694 | 104 | 487 | 156 | 404 | 140 | 317 | 118 | 274 | 12 | 5 | 3 | 111 |
24,982 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/scanner/enumerator.py | scapy.contrib.automotive.scanner.enumerator.StateGeneratingServiceEnumerator | from typing import Any, Union, List, Optional, Iterable, Dict, Tuple, Set, Callable, cast
import abc
from scapy.contrib.automotive.ecu import EcuState, EcuResponse
from scapy.error import Scapy_Exception
from scapy.contrib.automotive.scanner.test_case import AutomotiveTestCase, StateGenerator, _SocketUnion, _Transition... |
class StateGeneratingServiceEnumerator(ServiceEnumerator, StateGenerator, metaclass=abc.ABCMeta):
def __init__(self):
pass
def get_new_edge(self, socket, config):
'''
Basic identification of a new edge. The last response is evaluated.
If this response packet can modify the sta... | 8 | 2 | 14 | 1 | 9 | 6 | 2 | 0.6 | 3 | 8 | 2 | 7 | 5 | 1 | 6 | 87 | 95 | 10 | 57 | 28 | 38 | 34 | 38 | 15 | 31 | 4 | 6 | 2 | 12 |
24,983 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/scanner/graph.py | scapy.contrib.automotive.scanner.graph.Graph | from collections import defaultdict
from scapy.contrib.automotive import log_automotive
class Graph(object):
"""
Helper object to store a directional Graph of EcuState objects. An edge in
this Graph is defined as Tuple of two EcuStates. A node is defined as
EcuState.
self.edges is a dict of all po... |
class Graph(object):
'''
Helper object to store a directional Graph of EcuState objects. An edge in
this Graph is defined as Tuple of two EcuStates. A node is defined as
EcuState.
self.edges is a dict of all possible next nodes
e.g. {'X': ['A', 'B', 'C', 'E'], ...}
self.__transition_functio... | 12 | 8 | 15 | 1 | 9 | 6 | 3 | 0.82 | 1 | 6 | 0 | 0 | 7 | 3 | 8 | 8 | 146 | 17 | 73 | 32 | 60 | 60 | 62 | 28 | 52 | 7 | 1 | 4 | 20 |
24,984 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SD | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SD(_SDPacketBase):
"""
SD Packet
... |
class SD(_SDPacketBase):
'''
SD Packet
NOTE : when adding 'entries' or 'options', do not use list.append()
method but create a new list
e.g. : p = SD()
p.option_array = [SDOption_Config(),SDOption_IP6_EndPoint()]
'''
def set_entryArray(self, entry_list):
pass
... | 3 | 1 | 5 | 0 | 5 | 0 | 2 | 0.21 | 1 | 1 | 0 | 0 | 2 | 2 | 2 | 122 | 45 | 4 | 34 | 15 | 31 | 7 | 19 | 15 | 16 | 2 | 5 | 1 | 4 |
24,985 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDEntry_EventGroup | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDEntry_EventGroup(_SDPacketBase):
name =... |
class SDEntry_EventGroup(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 9 | 0 | 9 | 3 | 8 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,986 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDEntry_Service | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDEntry_Service(_SDPacketBase):
name = 'S... |
class SDEntry_Service(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,987 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_Config | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
import struct
class SDOption_Config(_SDPacketBase):... |
class SDOption_Config(_SDPacketBase):
def post_build(self, pkt, pay):
pass
@staticmethod
def make_string(data):
pass | 4 | 0 | 16 | 2 | 7 | 9 | 2 | 0.89 | 1 | 1 | 0 | 0 | 1 | 0 | 2 | 122 | 40 | 5 | 19 | 7 | 15 | 17 | 16 | 6 | 13 | 2 | 5 | 1 | 4 |
24,988 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP4_EndPoint | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDOption_IP4_EndPoint(_SDPacketBase):
nam... |
class SDOption_IP4_EndPoint(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,989 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP4_Multicast | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDOption_IP4_Multicast(_SDPacketBase):
na... |
class SDOption_IP4_Multicast(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,990 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP4_SD_EndPoint | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDOption_IP4_SD_EndPoint(_SDPacketBase):
... |
class SDOption_IP4_SD_EndPoint(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,991 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP6_EndPoint | from scapy.layers.inet6 import IP6Field
class SDOption_IP6_EndPoint(_SDPacketBase):
name = 'IP6 EndPoint Option'
fields_desc = _MAKE_COMMON_SDOPTION_FIELDS_DESC(SDOPTION_IP6_ENDPOINT_TYPE, SDOPTION_IP6_ENDPOINT_LEN)
fields_desc += [IP6Field('addr', '::')] + _MAKE_COMMON_IP_SDOPTION_FIELDS_DESC() |
class SDOption_IP6_EndPoint(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,992 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP6_Multicast | from scapy.layers.inet6 import IP6Field
class SDOption_IP6_Multicast(_SDPacketBase):
name = 'IP6 Multicast Option'
fields_desc = _MAKE_COMMON_SDOPTION_FIELDS_DESC(SDOPTION_IP6_MCAST_TYPE, SDOPTION_IP6_MCAST_LEN)
fields_desc += [IP6Field('addr', '::')] + _MAKE_COMMON_IP_SDOPTION_FIELDS_DESC() |
class SDOption_IP6_Multicast(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,993 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_IP6_SD_EndPoint | from scapy.layers.inet6 import IP6Field
class SDOption_IP6_SD_EndPoint(_SDPacketBase):
name = 'IP6 SDEndPoint Option'
fields_desc = _MAKE_COMMON_SDOPTION_FIELDS_DESC(SDOPTION_IP6_SDENDPOINT_TYPE, SDOPTION_IP6_SDENDPOINT_LEN)
fields_desc += [IP6Field('addr', '::')] + _MAKE_COMMON_IP_SDOPTION_FIELDS_DESC() |
class SDOption_IP6_SD_EndPoint(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 7 | 0 | 7 | 3 | 6 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,994 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SDOption_LoadBalance | from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
class SDOption_LoadBalance(_SDPacketBase):
name... |
class SDOption_LoadBalance(_SDPacketBase):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 120 | 8 | 0 | 8 | 3 | 7 | 0 | 4 | 3 | 3 | 0 | 5 | 0 | 0 |
24,995 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip.SOMEIP | from scapy.compat import raw, orb
from scapy.fields import XShortField, ConditionalField, BitField, XBitField, XByteField, ByteEnumField, ShortField, X3BytesField, StrLenField, IPField, FieldLenField, PacketListField, XIntField, MultipleTypeField, FlagsField, XByteEnumField, BitScalingField, LenField
from scapy.config ... |
class SOMEIP(Packet):
''' SOME/IP Packet.'''
@staticmethod
def get_payload_cls_by_srv_id(pkt, lst, cur, remain):
pass
def post_build(self, pkt, pay):
pass
def answers(self, other):
pass
@staticmethod
def _is_tp(pkt):
'''Returns true if pkt is using SOMEIP-T... | 10 | 4 | 10 | 1 | 9 | 1 | 3 | 0.06 | 1 | 3 | 1 | 0 | 3 | 1 | 6 | 125 | 174 | 14 | 156 | 55 | 146 | 10 | 82 | 51 | 75 | 5 | 4 | 3 | 16 |
24,996 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/someip.py | scapy.contrib.automotive.someip._SDPacketBase | from scapy.packet import Packet, Raw, bind_top_down, bind_bottom_up, bind_layers
class _SDPacketBase(Packet):
""" base class to be used among all SD Packet definitions."""
def extract_padding(self, s):
return ('', s) |
class _SDPacketBase(Packet):
''' base class to be used among all SD Packet definitions.'''
def extract_padding(self, s):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.33 | 1 | 0 | 0 | 11 | 1 | 0 | 1 | 120 | 5 | 1 | 3 | 2 | 1 | 1 | 3 | 2 | 1 | 1 | 4 | 0 | 1 |
24,997 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/uds.py | scapy.contrib.automotive.uds.DTC | from scapy.packet import Packet, bind_layers, NoPayload, Raw
from scapy.fields import ByteEnumField, StrField, ConditionalField, BitEnumField, BitField, XByteField, FieldListField, XShortField, X3BytesField, XIntField, ByteField, ShortField, ObservableDict, XShortEnumField, XByteEnumField, StrLenField, FieldLenField, X... |
class DTC(Packet):
def extract_padding(self, s):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0.05 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 120 | 21 | 2 | 19 | 5 | 17 | 1 | 6 | 5 | 4 | 1 | 4 | 0 | 1 |
24,998 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/uds.py | scapy.contrib.automotive.uds.DTCAndStatusRecord | from scapy.packet import Packet, bind_layers, NoPayload, Raw
from scapy.fields import ByteEnumField, StrField, ConditionalField, BitEnumField, BitField, XByteField, FieldListField, XShortField, X3BytesField, XIntField, ByteField, ShortField, ObservableDict, XShortEnumField, XByteEnumField, StrLenField, FieldLenField, X... |
class DTCAndStatusRecord(Packet):
def extract_padding(self, s):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 120 | 9 | 1 | 8 | 4 | 6 | 0 | 5 | 4 | 3 | 1 | 4 | 0 | 1 |
24,999 | secdev/scapy | secdev_scapy/scapy/contrib/automotive/uds.py | scapy.contrib.automotive.uds.DTCExtendedData | from scapy.fields import ByteEnumField, StrField, ConditionalField, BitEnumField, BitField, XByteField, FieldListField, XShortField, X3BytesField, XIntField, ByteField, ShortField, ObservableDict, XShortEnumField, XByteEnumField, StrLenField, FieldLenField, XStrFixedLenField, XStrLenField, FlagsField, PacketListField, ... |
class DTCExtendedData(Packet):
def extract_padding(self, s):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 120 | 10 | 1 | 9 | 5 | 7 | 0 | 6 | 5 | 4 | 1 | 4 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.