Update attack.sh

Changing line 872 and using readarray will resolve "Clients online" not appearing issue.
This commit is contained in:
djmeero 2018-04-21 21:25:52 +03:00 committed by GitHub
parent 16965ec192
commit 141f1b9343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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:\"