Advertisement
Guest User

Untitled

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