Fix issue #10
This commit is contained in:
parent
ae4315c714
commit
30b1a090b9
|
@ -2049,11 +2049,7 @@ function routear {
|
||||||
# Attack
|
# Attack
|
||||||
function attack {
|
function attack {
|
||||||
|
|
||||||
if [ "$fakeapmode" = "hostapd" ]; then
|
interfaceroutear=$WIFI
|
||||||
interfaceroutear=$WIFI
|
|
||||||
elif [ "$fakeapmode" = "airbase-ng" ]; then
|
|
||||||
interfaceroutear=at0
|
|
||||||
fi
|
|
||||||
|
|
||||||
handshakecheck
|
handshakecheck
|
||||||
nomac=$(tr -dc A-F0-9 < /dev/urandom | fold -w2 |head -n100 | grep -v "${mac:13:1}" | head -c 1)
|
nomac=$(tr -dc A-F0-9 < /dev/urandom | fold -w2 |head -n100 | grep -v "${mac:13:1}" | head -c 1)
|
||||||
|
|
Loading…
Reference in New Issue