Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Scapy Layers

import scapy.all as scapy
import scapy.layers as layers
print(scapy.LayersList().layers()) # []

import scapy.config as config
print(config.LayersList().layers()) # []

print(dir(layers))
  • TODO: why are the lists empty?
  • TODO: how to get the list of available layers?