From bdc4b80b2feabc82ce96efdb28a8c9309f73631f Mon Sep 17 00:00:00 2001 From: strasharo Date: Tue, 24 May 2016 14:06:53 +0300 Subject: [PATCH] fix client counter and disable default debug --- fluxion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxion b/fluxion index d3350ba..4f7a374 100755 --- a/fluxion +++ b/fluxion @@ -2,7 +2,7 @@ ########## DEBUG Mode ########## ## ## - FLUX_DEBUG=1 + FLUX_DEBUG=0 ## ## ################################ @@ -3640,7 +3640,7 @@ function handshakecheck { echo -e \" Vendor..........: "$green"$Host_MAC_MODEL"$transparent"\" echo -e \" Operation time..: "$blue"\$ih\$horas:\$im\$minutos:\$is\$segundos"$transparent"\" echo -e \" Attempts........: "$red"\$(cat $DUMP_PATH/hit.txt)"$transparent"\" - echo -e \" Clients.........: "$blue"\$(cat $DUMP_PATH/clientes.txt | grep DHCPACK | sort| uniq | wc -l)"$transparent"\" + echo -e \" Clients.........: "$blue"\$(cat $DUMP_PATH/clientes.txt | grep DHCPACK | awk '{print \$5}' | sort| uniq | wc -l)"$transparent"\" echo echo -e \" CLIENTS ONLINE:\"