diff --git a/fluxion.sh b/fluxion.sh index 56d1b3f..c5b97c4 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -2049,11 +2049,7 @@ function routear { # Attack function attack { - if [ "$fakeapmode" = "hostapd" ]; then - interfaceroutear=$WIFI - elif [ "$fakeapmode" = "airbase-ng" ]; then - interfaceroutear=at0 - fi + interfaceroutear=$WIFI handshakecheck nomac=$(tr -dc A-F0-9 < /dev/urandom | fold -w2 |head -n100 | grep -v "${mac:13:1}" | head -c 1)