From 71076314ee39f3a34999b71d0ad83a987dcb1ac6 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Thu, 10 Aug 2017 23:34:16 -0500 Subject: [PATCH] Changed interface search expression to support more OSs. --- fluxion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluxion.sh b/fluxion.sh index a4a1b71..fb45da2 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -470,7 +470,7 @@ function set_interface() { # Create an array with the list of physical network interfaces local WIAvailableData - readarray -t WIAvailableData < <(airmon-ng | grep -P 'wlan\d+' | sed -r 's/[ ]{2,}|\t+/:_:/g') + readarray -t WIAvailableData < <(airmon-ng | grep -P 'wl(an\d+|\w+)' | sed -r 's/[ ]{2,}|\t+/:_:/g') local WIAvailableDataCount=${#WIAvailableData[@]} local WIAvailable=() local WIAvailableInfo=()