Last active
June 15, 2024 22:19
-
-
Save mkaminsky11/eaf2d643917b22edb510 to your computer and use it in GitHub Desktop.
Enables monitor mode for wl driver(Broadcom)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
keeps saying permission denied, even with sudo.
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"
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?
@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
is this works with BCM43228