Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # NOTE: remember to "airmon-ng start wlan0" before using this script
- # generate a random MAC address (iOS devices don't like multiple APs with same MAC)
- mac_addr=`openssl rand -hex 5 | sed 's/\(..\)/\1:/g; s/.$//' | sed 's/^/00:/g'`
- # create a fake AP with the passed in name (and a fake MAC address)
- airbase-ng -a $mac_addr --essid "${1}" -W 1 -I 1000 mon0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement