From d9088b76cef1a34693344e6b3b653523c1a06ef6 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Wed, 14 Mar 2018 14:07:13 -0500 Subject: [PATCH] Corrected ratio parameter. --- fluxion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxion.sh b/fluxion.sh index ae3183f..c626f2d 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -82,7 +82,7 @@ source lib/Help.sh # ============================================================ # if ! FLUXIONCLIArguments=$( getopt --options="vdkrnmtbhe:c:l:a:r" \ - --longoptions="debug,version,killer,reloader,ratio,help,airmon-ng,multiplexer,target,test,bssid:,essid:,channel:,language:,attack:" \ + --longoptions="debug,version,killer,reloader,help,airmon-ng,multiplexer,target,test,bssid:,essid:,channel:,language:,attack:,ratio:" \ --name="FLUXION V$FLUXIONVersion.$FLUXIONRevision" -- "$@" ); then echo -e "${CRed}Aborted$CClr, parameter error detected..."; exit 5 @@ -113,7 +113,6 @@ while [ "$1" != "" -a "$1" != "--" ]; do -n|--airmon-ng) readonly FLUXIONAirmonNG=1;; -m|--multiplexer) readonly FLUXIONTMux=1;; -b|--bssid) FluxionTargetMAC=$2; shift;; - --ratio) FLUXIONWindowRatio=$2;shift;; -e|--essid) FluxionTargetSSID=$2; FluxionTargetSSIDClean=$( echo "$FluxionTargetSSID" | sed -r 's/( |\/|\.|\~|\\)+/_/g' @@ -122,6 +121,7 @@ while [ "$1" != "" -a "$1" != "--" ]; do -c|--channel) FluxionTargetChannel=$2; shift;; -l|--language) FluxionLanguage=$2; shift;; -a|--attack) FluxionAttack=$2; shift;; + --ratio) FLUXIONWindowRatio=$2;shift;; esac shift # Shift new parameters done