-
-
Save DustinAlandzes/5ff173ff0a3c9517eb240c598773ceaf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This script generates high volume of 802.11 Probe Requests frames. | |
# Each frame have uniq random source MAC. | |
# It use Scapy http://www.secdev.org/projects/scapy/ for frames crafting. | |
# You need injection supported device. | |
import logging | |
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # Disable IPv6 warnings | |
from scapy.all import sendp,Dot11,RadioTap,RandMAC | |
# Injection device | |
device = 'mon0' | |
# Time betwen frames send. Set 0 to unlimited | |
interval = 0.5 | |
print 'Press CTRL+C to Abort' | |
sendp(RadioTap()/ | |
Dot11(type=0,subtype=4, | |
addr1="ff:ff:ff:ff:ff:ff", | |
addr2=RandMAC(), | |
addr3="ff:ff:ff:ff:ff:ff"), | |
iface="mon0",loop=1,inter=interval) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment