From 141f1b934339b88d2d53475b46705f2e32b0a1b4 Mon Sep 17 00:00:00 2001 From: djmeero <38168554+djmeero@users.noreply.github.com> Date: Sat, 21 Apr 2018 21:25:52 +0300 Subject: [PATCH] Update attack.sh Changing line 872 and using readarray will resolve "Clients online" not appearing issue. --- attacks/Captive Portal/attack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index e859175..eb10938 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -869,7 +869,7 @@ while [ \$AuthenticatorState = \"running\" ]; do local -r staticSSID=$(printf "%q" "$FluxionTargetSSID" | sed -r 's/\\\ / /g' | sed -r "s/\\\'/\'/g") echo " - DHCPClients=($(nmap -PR -sn -n -oG - $CaptivePortalGatewayNetwork.100-110 2>&1 | grep Host)) + readarray -t DHCPClients < <(nmap -PR -sn -n -oG - $CaptivePortalGatewayNetwork.100-110 2>&1 | grep Host) echo echo -e \" ACCESS POINT:\"