Created
April 9, 2018 15:57
-
-
Save aknik/f6073110ab7b9571714a9b0b0967bc0d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
netSSID = 'testSSID' #Network name here | |
iface = 'wlan0mon' #Interface name here | |
dot11 = Dot11(type=0, subtype=8, addr1='ff:ff:ff:ff:ff:ff', | |
addr2='22:22:22:22:22:22', addr3='33:33:33:33:33:33') | |
beacon = Dot11Beacon(cap='ESS+privacy') | |
essid = Dot11Elt(ID='SSID',info=netSSID, len=len(netSSID)) | |
rsn = Dot11Elt(ID='RSNinfo', info=( | |
'\x01\x00' | |
'\x00\x0f\xac\x02' | |
'\x02\x00' | |
'\x00\x0f\xac\x04' | |
'\x00\x0f\xac\x02' | |
'\x01\x00' | |
'\x00\x0f\xac\x02' | |
'\x00\x00')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wlan1nde.wordpress.com/2016/06/28/using-scapy-to-send-wlan-frames/