Skip to content

Instantly share code, notes, and snippets.

@paulyc
Forked from mkaminsky11/wl_monitor.sh
Created May 18, 2019 16:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulyc/427dde9ab35c2805ebdc98e64ab60c76 to your computer and use it in GitHub Desktop.
Save paulyc/427dde9ab35c2805ebdc98e64ab60c76 to your computer and use it in GitHub Desktop.
Enables monitor mode for wl driver(Broadcom)
#!/bin/sh
# so, by default, monitoring and injection cannot be used with Broadcom wl wifi drivers (such as those for Macs)
# this makes it impossible to do stuff like crack wifi passwords with aircrack-ng
# fortunately, there is a solution burried in https://www.broadcom.com/docs/linux_sta/README.txt
echo 1 > /proc/brcm_monitor0 #enables monitor mode. That's it!
# prism0 is now like "mon0" (monitor mode)
#IF YOU WANT TO USE airmod-ng
#==========================
# airmod-ng check kill
# airmod-ng start prism0
# airodump-ng prism0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment