diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index 0e45d259..eb73a479 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -33,7 +33,9 @@ reload_brcm() { # starts mon0 start_monitor_interface() { - iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add mon0 type monitor && ifconfig mon0 up + iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add mon0 type monitor + ifconfig wlan0 down + ifconfig mon0 up } # stops mon0