1
0

beacon.py 442 B

12345678910111213
  1. from scapy.all import Dot11,Dot11Beacon,Dot11Elt,RadioTap,sendp
  2. netSSID = 'FUZZ' #Network name here
  3. iface = 'wlan1mon' #Interface name here
  4. dot11 = Dot11(type=0, subtype=8, addr1='ff:ff:ff:ff:ff:ff',
  5. addr2='00:0a:eb:2d:72:55', addr3='00:0a:eb:2d:72:55')
  6. beacon = Dot11Beacon()
  7. ssid = Dot11Elt(ID='SSID',info=netSSID, len=len(netSSID))
  8. frame = RadioTap()/dot11/beacon/ssid
  9. sendp(frame, iface=iface, inter=0.100, loop=1)