Skip to content

Instantly share code, notes, and snippets.

@mkaminsky11
Last active June 15, 2024 22:19
Show Gist options
  • Save mkaminsky11/eaf2d643917b22edb510 to your computer and use it in GitHub Desktop.
Save mkaminsky11/eaf2d643917b22edb510 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
@thududoo
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?

@ericsia
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