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 List interfaces

import scapy.all as scapy

interfaces = scapy.get_if_list()
print(interfaces)


['lo', 'enp0s31f6', 'wlp3s0', 'enx0050b6e59f0e']