import scapy.all as scapy def scan(ip): arp_request = scapy.ARP(pdst=ip) print(arp_request.summary()) scapy.ls(arp_request) scan("10.0.2.0/24")
Это дает вывод
who has ?? says ??
вместо
who has 10.0.2.0/24 says 'myIp'