#!/usr/bin/python 
from scapy.all import *

packet = Ether(src='dc:99:14:01:a3:5e', dst='ff:ff:ff:ff:ff:ff', type=0x8100) / \
Dot1Q(vlan=1) / \
ARP(op="who-has", psrc='1.1.1.1', pdst='1.1.1.1')

sendp(packet, inter=0, count=10, iface='eth1')

 参考链接:https://scapy.readthedocs.io/en/latest/usage.html

相关文章:

  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-05-18
  • 2021-07-04
  • 2021-09-19
猜你喜欢
  • 2022-01-05
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
相关资源
相似解决方案