mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-03 12:48:35 -05:00
8b2b687eb8
This is in preparation for using wlantest to verify correct behavior in various test cases. Signed-hostap: Jouni Malinen <j@w1.fi>
12 lines
243 B
Bash
Executable File
12 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
sudo killall -q hostapd
|
|
sudo killall -q wpa_supplicant
|
|
sudo killall -q wlantest
|
|
if grep -q hwsim0 /proc/net/dev; then
|
|
sudo ifconfig hwsim0 down
|
|
fi
|
|
if grep -q mac80211_hwsim /proc/modules ; then
|
|
sudo rmmod mac80211_hwsim
|
|
fi
|