November 2017
Intermediate to advanced
226 pages
5h 59m
English
Let's try creating a fake SSID with the following steps:
from scapy.all import * import random
Here we use the scapy and random modules for creating random MAC IDs
ssid = "fakeap" iface = "en0"
dot11 = Dot11(type=0, subtype=8, addr1='ff:ff:ff:ff:ff:ff', addr2=str(RandMAC()), addr3=str(RandMAC()))
dot11beacon = Dot11Beacon(cap='ESS+privacy')
dot11essid = Dot11Elt(ID='SSID',info=ssid, len=len(ssid))
rsn = Dot11Elt(ID='RSNinfo', info=(
'\x01\x00' #For RSN Version 1
'\x00\x0f\xac\x02' ...Read now
Unlock full access