scapy.contrib.exposure_notification¶
Apple/Google Exposure Notification System (ENS), formerly known as Privacy-Preserving Contact Tracing Project.
This module parses the Bluetooth Low Energy beacon payloads used by the system. This does not yet implement any cryptographic functionality.
More info:
Bluetooth protocol specifications:
-
class
scapy.contrib.exposure_notification.Exposure_Notification_Frame(*args, **kargs)¶ Bases:
scapy.packet.Packet,scapy.layers.bluetooth.LowEnergyBeaconHelperApple/Google BLE Exposure Notification broadcast frame.
-
aliastypes¶
-
build_eir()¶ Builds a list of EIR messages to wrap this frame.
-
fields_desc¶ Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IDENTIFIER | METADATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Exposure_Notification_FrameExposure_Notification_Frame fields¶ identifier
Nonemetadata
None
-