Update pwnlib

This commit is contained in:
Jeroen Oudshoorn
2023-07-23 11:53:16 +02:00
committed by GitHub
parent ac6421fb6e
commit 74b61089d2

View File

@ -33,17 +33,12 @@ reload_brcm() {
# starts mon0 # starts mon0
start_monitor_interface() { start_monitor_interface() {
airmon-ng check kill airmon-ng start wlan0
ip link set wlan0 down
iw dev wlan0 set type monitor
ip link set wlan0 up
} }
# stops mon0 # stops mon0
stop_monitor_interface() { stop_monitor_interface() {
ip link set wlan0 down airmon-ng stop wlan0
iw dev wlan0 set type managed
ip link set wlan0 up
} }
# returns 0 if the specificed network interface is up # returns 0 if the specificed network interface is up