diff --git a/attacks/Handshake Snooper/attack.sh b/attacks/Handshake Snooper/attack.sh index 6653e9e..53c90a2 100755 --- a/attacks/Handshake Snooper/attack.sh +++ b/attacks/Handshake Snooper/attack.sh @@ -370,7 +370,7 @@ if [ ! "$HandshakeSnooperCLIArguments" ]; then getopt --options="v:i:j:a" \ --longoptions="verifier:,interval:,jammer:,asynchronous" \ --name="Handshake Snooper V$FLUXIONVersion.$FLUXIONRevision" -- "$@" - );n then + );then echo -e "${CRed}Aborted$CClr, parameter error detected..." sleep 5 fluxion_handle_exit diff --git a/fluxion.sh b/fluxion.sh index 65ef628..3e129a6 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -4,7 +4,7 @@ # ================== < FLUXION Parameters > ================== # # ============================================================ # # Path to directory containing the FLUXION executable script. -readonly FLUXIONPath=$(dirname "$(readlink -f "$0")") +readonly FLUXIONPath=$(dirname $(readlink -f "$0")) # Path to directory containing the FLUXION library (scripts). readonly FLUXIONLibPath="$FLUXIONPath/lib" @@ -693,7 +693,7 @@ fluxion_set_language() { if [ ! "$FluxionLanguage" ]; then # Get all languages available. local languageCodes - readarray -t languageCodes < <(ls 1 language | sed -E 's/\.sh//') + readarray -t languageCodes < <(ls -1 language | sed -E 's/\.sh//') local languages readarray -t languages < <( @@ -1693,7 +1693,7 @@ fluxion_set_attack() { fluxion_target_show local attacks - readarray -t attacks < <(ls 1 "$FLUXIONPath/attacks") + readarray -t attacks < <(ls -1 "$FLUXIONPath/attacks") local descriptions readarray -t descriptions < <(