mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update pwnlib
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user