-
-
Save mkaminsky11/eaf2d643917b22edb510 to your computer and use it in GitHub Desktop.
#!/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 |
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.
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.
is this works with BCM43228
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?
thanks it worked for me now i have solved my all problems