mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
V2.2.1
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com> Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -39,13 +39,12 @@ start_monitor_interface() {
|
|||||||
rfkill unblock all
|
rfkill unblock all
|
||||||
iw dev wlan0 set power_save off
|
iw dev wlan0 set power_save off
|
||||||
ifconfig wlan0 up
|
ifconfig wlan0 up
|
||||||
iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add wlan0mon type monitor
|
airmon-ng start wlan0
|
||||||
ifconfig wlan0 down && ifconfig wlan0mon up
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# stops mon0
|
# stops mon0
|
||||||
stop_monitor_interface() {
|
stop_monitor_interface() {
|
||||||
ifconfig wlan0mon down && iw dev wlan0mon del
|
airmon-ng stop wlan0mon
|
||||||
ifconfig wlan0 up
|
ifconfig wlan0 up
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user