We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a5f2a commit bac62bcCopy full SHA for bac62bc
builder/data/usr/bin/pwnlib
@@ -39,8 +39,10 @@ reload_brcm() {
39
start_monitor_interface() {
40
rfkill unblock all
41
ifconfig wlan0 up
42
+ sleep 3
43
iw dev wlan0 set power_save off
44
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor
45
+ sleep 2
46
47
ifconfig wlan0 down
48
ifconfig wlan0mon up
@@ -54,7 +56,7 @@ stop_monitor_interface() {
54
56
55
57
}
58
-# returns 0 if the specificed network interface is up
59
+# returns 0 if the specified network interface is up
60
is_interface_up() {
61
if grep -qi 'up' /sys/class/net/"$1"/operstate; then
62
return 0
0 commit comments