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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# identifier: Portail Captif
# 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
# description: Crea un punto di accesso "gemello cattivo".

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ "$HashUtilsVersion" ]; then return 0; fi
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(){
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
readonly IOUtilsVersion="1.0"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -f "/etc/arch-release" ]; then
#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
PackageManagerCLT="yum"

View File

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

View File

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

View File

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

View File

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