Therefore we can use the method packet.hasLayer(protocol) . For example, to process only DNS packets: from scapy.all import * # PcapReader ...
確定! 回上一頁