esp32_bluetooth_classic_sni.../libs/scapy/layers/gprs.py
Matheus Eduardo Garbelini 86890704fd initial commit
todo: add documentation & wireshark dissector
2021-08-31 19:51:03 +08:00

22 lines
558 B
Python
Executable file

# This file is part of Scapy
# See http://www.secdev.org/projects/scapy for more information
# Copyright (C) Philippe Biondi <phil@secdev.org>
# This program is published under a GPLv2 license
"""
GPRS (General Packet Radio Service) for mobile data communication.
"""
from scapy.fields import StrStopField
from scapy.packet import Packet, bind_layers
from scapy.layers.inet import IP
class GPRS(Packet):
name = "GPRSdummy"
fields_desc = [
StrStopField("dummy", "", b"\x65\x00\x00", 1)
]
bind_layers(GPRS, IP,)