Skip to content

Instantly share code, notes, and snippets.

Last active December 1, 2023 17:59
  • Star 16 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Enables monitor mode for wl driver(Broadcom)
# 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
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
Copy link

thanks it worked for me now i have solved my all problems

Copy link

dmknght commented Mar 30, 2018

This script makes no scene. Broadcom's wl monitor mode is enabled by airmon-ng start wlan0, not prism0. Monitoring on boradcom hardware works fine. There is a list for hardware supporting on aircrack-ng homepage.

Copy link

ghost commented Feb 8, 2019

If your chipset is Broadcom bcm43602 and not bcm4360 , this method is not for you . Because bcm43602 use the driver brcmfmac not brcm(s)mac.

Copy link

ghost commented Mar 13, 2020

is this works with BCM43228

Copy link

keeps saying permission denied, even with sudo.

Copy link

keeps saying permission denied, even with sudo.

Try running adding the syntax sh -c after sudo to make sure the whole thing is routed as sudo.

sudo sh -c "echo 1 > /proc/brcm_monitor0"

Copy link

I am using a MacBook Pro 16,2, and I install the linux kernal 5.15.2-t2-big-sur. But I don't have the file /proc/brcm_monitor0. When I try to touch or cp a file in /proc/, I kept getting "touch: cannot touch '/proc/brcm_monitor0': No such file or directory" and "cp: cannot create regular file '/proc/brcm_monitor0': No such file or directory". Is that because I'm using bcm4364?

Copy link

ericsia commented Feb 23, 2022

@isweibin rip xps 9550 so meaning there is totally no hope to enter monitor mode with BCM43602 right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment