Improve compatibility between different OS

This commit is contained in:
deltaxflux 2018-05-02 20:50:31 +02:00
parent faa25e1590
commit 982f658e15
70 changed files with 73 additions and 73 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# ============================================================ # # ============================================================ #
# =============== < Captive Portal Parameters > ============== # # =============== < Captive Portal Parameters > ============== #
@ -832,7 +832,7 @@ if __name__ == '__main__':
local -r targetSSIDCleanNormalized=${FluxionTargetSSIDClean//"/\\"} local -r targetSSIDCleanNormalized=${FluxionTargetSSIDClean//"/\\"}
# Attack arbiter script # Attack arbiter script
echo "\ echo "\
#!/bin/bash #!/usr/bin/env bash
signal_stop_attack() { signal_stop_attack() {
kill -s SIGABRT $$ # Signal STOP ATTACK kill -s SIGABRT $$ # Signal STOP ATTACK

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Creates an "evil twin" access point. # description: Creates an "evil twin" access point.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Portugalský Portál # identifier: Portugalský Portál
# description: Vytvoří přístupový bod "zlý dvojče". # description: Vytvoří přístupový bod "zlý dvojče".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Gefangenes Portal # identifier: Gefangenes Portal
# description: Erstellt einen "bösen Zwilling" Zugangspunkt. # description: Erstellt einen "bösen Zwilling" Zugangspunkt.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Πύλη αιχμαλωσίας # identifier: Πύλη αιχμαλωσίας
# description: Δημιουργεί ένα σημείο πρόσβασης "κακό δίδυμο". # description: Δημιουργεί ένα σημείο πρόσβασης "κακό δίδυμο".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Creates an "evil twin" access point. # description: Creates an "evil twin" access point.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Portal Cautivo # identifier: Portal Cautivo
# description: Crea un punto de acceso "gemelo malvado". # description: Crea un punto de acceso "gemelo malvado".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Portail Captif # identifier: Portail Captif
# description: Crée un point d'accès «jumeau malveillant». # description: Crée un point d'accès «jumeau malveillant».

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Crea un punto di accesso "gemello cattivo". # description: Crea un punto di accesso "gemello cattivo".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Creates an "evil twin" access point. # description: Creates an "evil twin" access point.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Creates an "evil twin" access point. # description: Creates an "evil twin" access point.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captiv Portal # identifier: Captiv Portal
# description: Creează un punct de acces "gemeni rău". # description: Creează un punct de acces "gemeni rău".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Создаёт точку доступа "Злой Двойник". # description: Создаёт точку доступа "Злой Двойник".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Captive Portal # identifier: Captive Portal
# description: Vytvorí prístupový bod "zlé dvojča" # description: Vytvorí prístupový bod "zlé dvojča"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Zaprti Portal # identifier: Zaprti Portal
# description: Creates an "evil twin" access point. (translation?) # description: Creates an "evil twin" access point. (translation?)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Esaret Portalı # identifier: Esaret Portalı
# description: "Kötü ikiz" bir erişim noktası oluşturur. # description: "Kötü ikiz" bir erişim noktası oluşturur.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: 专属门户 # identifier: 专属门户
# description: 创建一个“邪恶的双胞胎”接入点。 # description: 创建一个“邪恶的双胞胎”接入点。

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# ============================================================ # # ============================================================ #
# ============= < Handshake Snooper Parameters > ============= # # ============= < Handshake Snooper Parameters > ============= #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquires WPA/WPA2 encryption hashes. # description: Acquires WPA/WPA2 encryption hashes.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquires WPA/WPA2 encryption hashes. (translate) # description: Acquires WPA/WPA2 encryption hashes. (translate)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Erwirbt WPA/WPA2-Verschlüsselungs-Hashes. # description: Erwirbt WPA/WPA2-Verschlüsselungs-Hashes.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Αποκτά τα hashes κρυπτογράφησης WPA/WPA2. # description: Αποκτά τα hashes κρυπτογράφησης WPA/WPA2.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquires WPA/WPA2 encryption hashes. # description: Acquires WPA/WPA2 encryption hashes.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Adquiere los hashes de cifrado WPA/WPA2. # description: Adquiere los hashes de cifrado WPA/WPA2.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquitte les hachages de cryptage WPA/WPA2. # description: Acquitte les hachages de cryptage WPA/WPA2.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquisisce gli hash di crittografia WPA/WPA2. # description: Acquisisce gli hash di crittografia WPA/WPA2.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquires WPA/WPA2 encryption hashes. # description: Acquires WPA/WPA2 encryption hashes.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Acquires WPA/WPA2 encryption hashes. # description: Acquires WPA/WPA2 encryption hashes.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Obțineți hash criptografic WPA/WPA2. # description: Obțineți hash criptografic WPA/WPA2.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Получает зашифрованные WPA/WPA2 хэши (рукопожатия). # description: Получает зашифрованные WPA/WPA2 хэши (рукопожатия).

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Získa WPA/WPA2 kryptovancie 'hashes'. # description: Získa WPA/WPA2 kryptovancie 'hashes'.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Retrieves WPA/WPA2 encryption hashes.(translate) # description: Retrieves WPA/WPA2 encryption hashes.(translate)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: Retrieves WPA/WPA2 encryption hashes. (translate) # description: Retrieves WPA/WPA2 encryption hashes. (translate)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# identifier: Handshake Snopper # identifier: Handshake Snopper
# description: 检索WPA/WPA2加密散列。 # description: 检索WPA/WPA2加密散列。

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# ============================================================ # # ============================================================ #
# ================== < FLUXION Parameters > ================== # # ================== < FLUXION Parameters > ================== #
@ -23,7 +23,7 @@ readonly FLUXIONNoiseFloor=-90
readonly FLUXIONNoiseCeiling=-60 readonly FLUXIONNoiseCeiling=-60
readonly FLUXIONVersion=4 readonly FLUXIONVersion=4
readonly FLUXIONRevision=7 readonly FLUXIONRevision=8
# Declare window ration bigger = smaller windows # Declare window ration bigger = smaller windows
FLUXIONWindowRatio=4 FLUXIONWindowRatio=4
@ -137,7 +137,7 @@ shift # Remove "--" to prepare for attacks to read parameters.
if [ -x "$FLUXIONPreferencesFile" ]; then if [ -x "$FLUXIONPreferencesFile" ]; then
source "$FLUXIONPreferencesFile" source "$FLUXIONPreferencesFile"
else else
echo '#!/bin/bash' > "$FLUXIONPreferencesFile" echo '#!/usr/bin/env bash' > "$FLUXIONPreferencesFile"
chmod u+x "$FLUXIONPreferencesFile" chmod u+x "$FLUXIONPreferencesFile"
fi fi

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Arabic # Arabic
# native: Arabic # native: Arabic

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Czech # Czech
# native: čeština # native: čeština

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# German # German
# native: Deutsch # native: Deutsch

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Greek # Greek
# native: Ελληνικά # native: Ελληνικά

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# English # English
# native: English # native: English

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Spanish # Spanish
# native: Español # native: Español

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# French # French
# native: français # native: français

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Italian # Italian
# native: italiano # native: italiano

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# English # English
# native: Polski # native: Polski

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Português Brazileiro # Português Brazileiro
# native: Português-BR # native: Português-BR

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Romanian # Romanian
# native: Română # native: Română

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Russian # Russian
# native: Русский # native: Русский

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Slovak # Slovak
# native: slovenčina # native: slovenčina

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Slovenian # Slovenian
# native: Slovenščina # native: Slovenščina

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Turkish # Turkish
# native: Türk # native: Türk

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Chinese # Chinese
# native: 中文 # native: 中文

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$ArrayUtilsVersion" ]; then return 0; fi if [ "$ArrayUtilsVersion" ]; then return 0; fi
readonly ArrayUtilsVersion="1.0" readonly ArrayUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$ColorUtilsVersion" ]; then return 0; fi if [ "$ColorUtilsVersion" ]; then return 0; fi
readonly ColorUtilsVersion="1.0" readonly ColorUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$FormatUtilsVersion" ]; then return 0; fi if [ "$FormatUtilsVersion" ]; then return 0; fi
readonly FormatUtilsVersion="1.0" readonly FormatUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$HashUtilsVersion" ]; then return 0; fi if [ "$HashUtilsVersion" ]; then return 0; fi
readonly HashUtilsVersion="1.0" readonly HashUtilsVersion="1.0"

2
lib/Help.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
fluxion_help(){ fluxion_help(){
echo " FLUXION(1) User Manuals FLUXION(1) echo " FLUXION(1) User Manuals FLUXION(1)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$IOUtilsVersion" ]; then return 0; fi if [ "$IOUtilsVersion" ]; then return 0; fi
readonly IOUtilsVersion="1.0" readonly IOUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#if [ "$InterfaceUtilsVersion" ]; then return 0; fi #if [ "$InterfaceUtilsVersion" ]; then return 0; fi
#readonly InterfaceUtilsVersion="1.0" #readonly InterfaceUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$SandboxUtilsVersion" ]; then return 0; fi if [ "$SandboxUtilsVersion" ]; then return 0; fi
readonly SandboxUtilsVersion="1.0" readonly SandboxUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# ================================================================ # ================================================================
# Configuration Section # Configuration Section

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# ================================================================ # ================================================================
# Configuration Section # Configuration Section

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$InstallerUtilsVersion" ]; then return 0; fi if [ "$InstallerUtilsVersion" ]; then return 0; fi
readonly InstallerUtilsVersion="1.0" readonly InstallerUtilsVersion="1.0"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ -f "/etc/debian_version" ]; then if [ -f "/etc/debian_version" ]; then
PackageManagerCLT="apt" PackageManagerCLT="apt"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ -f "/etc/gentoo-release" ]; then if [ -f "/etc/gentoo-release" ]; then
PackageManagerCLT="emerge" PackageManagerCLT="emerge"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ -f "/etc/arch-release" ]; then if [ -f "/etc/arch-release" ]; then
#Last entry is the default package manager to use (pacman) #Last entry is the default package manager to use (pacman)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ -f "/etc/redhat-release" ]; then if [ -f "/etc/redhat-release" ]; then
PackageManagerCLT="yum" PackageManagerCLT="yum"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ -f "/etc/SuSE-release" ]; then if [ -f "/etc/SuSE-release" ]; then
PackageManagerCLT="zypp" PackageManagerCLT="zypp"

View File

@ -1,4 +1,4 @@
#!/ bin / bash #!/usr/bin/env bash
# These are the debug flags used by the script # These are the debug flags used by the script
export FLUXIONDebug=1 export FLUXIONDebug=1

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
clear clear
declare -r HEADER_SIZE="####" declare -r HEADER_SIZE="####"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# export FLUXIONAuto=1 # export FLUXIONAuto=1
# export FLUXIONDebug=1 # export FLUXIONDebug=1