From 982f658e15d5421bd8ddd344f0b83028dc405f0d Mon Sep 17 00:00:00 2001 From: deltaxflux Date: Wed, 2 May 2018 20:50:31 +0200 Subject: [PATCH] Improve compatibility between different OS --- attacks/Captive Portal/attack.sh | 4 ++-- attacks/Captive Portal/language/ar.sh | 2 +- attacks/Captive Portal/language/cs.sh | 2 +- attacks/Captive Portal/language/de.sh | 2 +- attacks/Captive Portal/language/el.sh | 2 +- attacks/Captive Portal/language/en.sh | 2 +- attacks/Captive Portal/language/es.sh | 2 +- attacks/Captive Portal/language/fr.sh | 2 +- attacks/Captive Portal/language/it.sh | 2 +- attacks/Captive Portal/language/pl.sh | 2 +- attacks/Captive Portal/language/pt-br.sh | 2 +- attacks/Captive Portal/language/ro.sh | 2 +- attacks/Captive Portal/language/ru.sh | 2 +- attacks/Captive Portal/language/sk.sh | 2 +- attacks/Captive Portal/language/sl.sh | 2 +- attacks/Captive Portal/language/tk.sh | 2 +- attacks/Captive Portal/language/zh.sh | 2 +- attacks/Handshake Snooper/attack.sh | 2 +- attacks/Handshake Snooper/language/ar.sh | 2 +- attacks/Handshake Snooper/language/cs.sh | 2 +- attacks/Handshake Snooper/language/de.sh | 2 +- attacks/Handshake Snooper/language/el.sh | 2 +- attacks/Handshake Snooper/language/en.sh | 2 +- attacks/Handshake Snooper/language/es.sh | 2 +- attacks/Handshake Snooper/language/fr.sh | 2 +- attacks/Handshake Snooper/language/it.sh | 2 +- attacks/Handshake Snooper/language/pl.sh | 2 +- attacks/Handshake Snooper/language/pt-br.sh | 2 +- attacks/Handshake Snooper/language/ro.sh | 2 +- attacks/Handshake Snooper/language/ru.sh | 2 +- attacks/Handshake Snooper/language/sk.sh | 2 +- attacks/Handshake Snooper/language/sl.sh | 2 +- attacks/Handshake Snooper/language/tk.sh | 2 +- attacks/Handshake Snooper/language/zh.sh | 2 +- fluxion.sh | 6 +++--- language/ar.sh | 2 +- language/cs.sh | 2 +- language/de.sh | 2 +- language/el.sh | 2 +- language/en.sh | 2 +- language/es.sh | 2 +- language/fr.sh | 2 +- language/it.sh | 2 +- language/pl.sh | 2 +- language/pt-br.sh | 2 +- language/ro.sh | 2 +- language/ru.sh | 2 +- language/sk.sh | 2 +- language/sl.sh | 2 +- language/tk.sh | 2 +- language/zh.sh | 2 +- lib/ArrayUtils.sh | 2 +- lib/ColorUtils.sh | 2 +- lib/FormatUtils.sh | 2 +- lib/HashUtils.sh | 2 +- lib/Help.sh | 2 +- lib/IOUtils.sh | 2 +- lib/InterfaceUtils.sh | 2 +- lib/SandboxUtils.sh | 2 +- lib/ap/airbase-ng.sh | 2 +- lib/ap/hostapd.sh | 2 +- lib/installer/InstallerUtils.sh | 2 +- lib/installer/managers/apt.sh | 2 +- lib/installer/managers/emerge.sh | 2 +- lib/installer/managers/pacman.sh | 2 +- lib/installer/managers/yum.sh | 2 +- lib/installer/managers/zypp.sh | 2 +- scripts/debug.sh | 2 +- scripts/diagnostics.sh | 2 +- scripts/preferences.sh | 2 +- 70 files changed, 73 insertions(+), 73 deletions(-) mode change 100644 => 100755 lib/Help.sh diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index ecdf7bc..73862ee 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -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 diff --git a/attacks/Captive Portal/language/ar.sh b/attacks/Captive Portal/language/ar.sh index fe7947d..3760862 100644 --- a/attacks/Captive Portal/language/ar.sh +++ b/attacks/Captive Portal/language/ar.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Creates an "evil twin" access point. diff --git a/attacks/Captive Portal/language/cs.sh b/attacks/Captive Portal/language/cs.sh index 4328d37..1ab26ec 100755 --- a/attacks/Captive Portal/language/cs.sh +++ b/attacks/Captive Portal/language/cs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Portugalský Portál # description: Vytvoří přístupový bod "zlý dvojče". diff --git a/attacks/Captive Portal/language/de.sh b/attacks/Captive Portal/language/de.sh index 120b391..3782dbc 100755 --- a/attacks/Captive Portal/language/de.sh +++ b/attacks/Captive Portal/language/de.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Gefangenes Portal # description: Erstellt einen "bösen Zwilling" Zugangspunkt. diff --git a/attacks/Captive Portal/language/el.sh b/attacks/Captive Portal/language/el.sh index bf539d9..3c0a715 100755 --- a/attacks/Captive Portal/language/el.sh +++ b/attacks/Captive Portal/language/el.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Πύλη αιχμαλωσίας # description: Δημιουργεί ένα σημείο πρόσβασης "κακό δίδυμο". diff --git a/attacks/Captive Portal/language/en.sh b/attacks/Captive Portal/language/en.sh index 960fe69..0b6723e 100755 --- a/attacks/Captive Portal/language/en.sh +++ b/attacks/Captive Portal/language/en.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Creates an "evil twin" access point. diff --git a/attacks/Captive Portal/language/es.sh b/attacks/Captive Portal/language/es.sh index 67b7336..55254f3 100755 --- a/attacks/Captive Portal/language/es.sh +++ b/attacks/Captive Portal/language/es.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Portal Cautivo # description: Crea un punto de acceso "gemelo malvado". diff --git a/attacks/Captive Portal/language/fr.sh b/attacks/Captive Portal/language/fr.sh index ed9a3fc..d90fb99 100755 --- a/attacks/Captive Portal/language/fr.sh +++ b/attacks/Captive Portal/language/fr.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Portail Captif # description: Crée un point d'accès «jumeau malveillant». diff --git a/attacks/Captive Portal/language/it.sh b/attacks/Captive Portal/language/it.sh index 20c7551..dbc98ab 100755 --- a/attacks/Captive Portal/language/it.sh +++ b/attacks/Captive Portal/language/it.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Crea un punto di accesso "gemello cattivo". diff --git a/attacks/Captive Portal/language/pl.sh b/attacks/Captive Portal/language/pl.sh index 960fe69..0b6723e 100755 --- a/attacks/Captive Portal/language/pl.sh +++ b/attacks/Captive Portal/language/pl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Creates an "evil twin" access point. diff --git a/attacks/Captive Portal/language/pt-br.sh b/attacks/Captive Portal/language/pt-br.sh index 960fe69..0b6723e 100755 --- a/attacks/Captive Portal/language/pt-br.sh +++ b/attacks/Captive Portal/language/pt-br.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Creates an "evil twin" access point. diff --git a/attacks/Captive Portal/language/ro.sh b/attacks/Captive Portal/language/ro.sh index f0c284f..e59e6e0 100755 --- a/attacks/Captive Portal/language/ro.sh +++ b/attacks/Captive Portal/language/ro.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captiv Portal # description: Creează un punct de acces "gemeni rău". diff --git a/attacks/Captive Portal/language/ru.sh b/attacks/Captive Portal/language/ru.sh index bbceffb..ebe90cb 100755 --- a/attacks/Captive Portal/language/ru.sh +++ b/attacks/Captive Portal/language/ru.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Создаёт точку доступа "Злой Двойник". diff --git a/attacks/Captive Portal/language/sk.sh b/attacks/Captive Portal/language/sk.sh index 35d942b..4c9cd8b 100644 --- a/attacks/Captive Portal/language/sk.sh +++ b/attacks/Captive Portal/language/sk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Captive Portal # description: Vytvorí prístupový bod "zlé dvojča" diff --git a/attacks/Captive Portal/language/sl.sh b/attacks/Captive Portal/language/sl.sh index 834bef4..2ad2a30 100755 --- a/attacks/Captive Portal/language/sl.sh +++ b/attacks/Captive Portal/language/sl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Zaprti Portal # description: Creates an "evil twin" access point. (translation?) diff --git a/attacks/Captive Portal/language/tk.sh b/attacks/Captive Portal/language/tk.sh index f537ce6..deb6128 100755 --- a/attacks/Captive Portal/language/tk.sh +++ b/attacks/Captive Portal/language/tk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Esaret Portalı # description: "Kötü ikiz" bir erişim noktası oluşturur. diff --git a/attacks/Captive Portal/language/zh.sh b/attacks/Captive Portal/language/zh.sh index f63b761..7ce35ce 100755 --- a/attacks/Captive Portal/language/zh.sh +++ b/attacks/Captive Portal/language/zh.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: 专属门户 # description: 创建一个“邪恶的双胞胎”接入点。 diff --git a/attacks/Handshake Snooper/attack.sh b/attacks/Handshake Snooper/attack.sh index 0c05f3f..fb22a67 100755 --- a/attacks/Handshake Snooper/attack.sh +++ b/attacks/Handshake Snooper/attack.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ============================================================ # # ============= < Handshake Snooper Parameters > ============= # diff --git a/attacks/Handshake Snooper/language/ar.sh b/attacks/Handshake Snooper/language/ar.sh index e207ba2..c5585cc 100644 --- a/attacks/Handshake Snooper/language/ar.sh +++ b/attacks/Handshake Snooper/language/ar.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquires WPA/WPA2 encryption hashes. diff --git a/attacks/Handshake Snooper/language/cs.sh b/attacks/Handshake Snooper/language/cs.sh index ba96910..2bc3269 100755 --- a/attacks/Handshake Snooper/language/cs.sh +++ b/attacks/Handshake Snooper/language/cs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquires WPA/WPA2 encryption hashes. (translate) diff --git a/attacks/Handshake Snooper/language/de.sh b/attacks/Handshake Snooper/language/de.sh index 7b8b8e6..ebae27b 100755 --- a/attacks/Handshake Snooper/language/de.sh +++ b/attacks/Handshake Snooper/language/de.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Erwirbt WPA/WPA2-Verschlüsselungs-Hashes. diff --git a/attacks/Handshake Snooper/language/el.sh b/attacks/Handshake Snooper/language/el.sh index d41b0cb..c998fc1 100755 --- a/attacks/Handshake Snooper/language/el.sh +++ b/attacks/Handshake Snooper/language/el.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Αποκτά τα hashes κρυπτογράφησης WPA/WPA2. diff --git a/attacks/Handshake Snooper/language/en.sh b/attacks/Handshake Snooper/language/en.sh index 84d23ef..3fe7ef6 100755 --- a/attacks/Handshake Snooper/language/en.sh +++ b/attacks/Handshake Snooper/language/en.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquires WPA/WPA2 encryption hashes. diff --git a/attacks/Handshake Snooper/language/es.sh b/attacks/Handshake Snooper/language/es.sh index fd2bb92..63f3c69 100755 --- a/attacks/Handshake Snooper/language/es.sh +++ b/attacks/Handshake Snooper/language/es.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Adquiere los hashes de cifrado WPA/WPA2. diff --git a/attacks/Handshake Snooper/language/fr.sh b/attacks/Handshake Snooper/language/fr.sh index 414ff15..7e4afa1 100755 --- a/attacks/Handshake Snooper/language/fr.sh +++ b/attacks/Handshake Snooper/language/fr.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquitte les hachages de cryptage WPA/WPA2. diff --git a/attacks/Handshake Snooper/language/it.sh b/attacks/Handshake Snooper/language/it.sh index 292f7c6..2308c4c 100755 --- a/attacks/Handshake Snooper/language/it.sh +++ b/attacks/Handshake Snooper/language/it.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquisisce gli hash di crittografia WPA/WPA2. diff --git a/attacks/Handshake Snooper/language/pl.sh b/attacks/Handshake Snooper/language/pl.sh index 84d23ef..3fe7ef6 100755 --- a/attacks/Handshake Snooper/language/pl.sh +++ b/attacks/Handshake Snooper/language/pl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquires WPA/WPA2 encryption hashes. diff --git a/attacks/Handshake Snooper/language/pt-br.sh b/attacks/Handshake Snooper/language/pt-br.sh index 84d23ef..3fe7ef6 100755 --- a/attacks/Handshake Snooper/language/pt-br.sh +++ b/attacks/Handshake Snooper/language/pt-br.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Acquires WPA/WPA2 encryption hashes. diff --git a/attacks/Handshake Snooper/language/ro.sh b/attacks/Handshake Snooper/language/ro.sh index 026d6bd..5b638a7 100755 --- a/attacks/Handshake Snooper/language/ro.sh +++ b/attacks/Handshake Snooper/language/ro.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Obțineți hash criptografic WPA/WPA2. diff --git a/attacks/Handshake Snooper/language/ru.sh b/attacks/Handshake Snooper/language/ru.sh index 5e02f8e..cc86358 100755 --- a/attacks/Handshake Snooper/language/ru.sh +++ b/attacks/Handshake Snooper/language/ru.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Получает зашифрованные WPA/WPA2 хэши (рукопожатия). diff --git a/attacks/Handshake Snooper/language/sk.sh b/attacks/Handshake Snooper/language/sk.sh index 3f40bd0..031577a 100644 --- a/attacks/Handshake Snooper/language/sk.sh +++ b/attacks/Handshake Snooper/language/sk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Získa WPA/WPA2 kryptovancie 'hashes'. diff --git a/attacks/Handshake Snooper/language/sl.sh b/attacks/Handshake Snooper/language/sl.sh index 8ed8320..f140abf 100755 --- a/attacks/Handshake Snooper/language/sl.sh +++ b/attacks/Handshake Snooper/language/sl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Retrieves WPA/WPA2 encryption hashes.(translate) diff --git a/attacks/Handshake Snooper/language/tk.sh b/attacks/Handshake Snooper/language/tk.sh index 19a0181..dcf82b9 100755 --- a/attacks/Handshake Snooper/language/tk.sh +++ b/attacks/Handshake Snooper/language/tk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: Retrieves WPA/WPA2 encryption hashes. (translate) diff --git a/attacks/Handshake Snooper/language/zh.sh b/attacks/Handshake Snooper/language/zh.sh index 4ea23ae..45e7999 100755 --- a/attacks/Handshake Snooper/language/zh.sh +++ b/attacks/Handshake Snooper/language/zh.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # identifier: Handshake Snopper # description: 检索WPA/WPA2加密散列。 diff --git a/fluxion.sh b/fluxion.sh index 7e5cc1c..96c5f9e 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -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 diff --git a/language/ar.sh b/language/ar.sh index a5721c1..4ddc7aa 100644 --- a/language/ar.sh +++ b/language/ar.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Arabic # native: Arabic diff --git a/language/cs.sh b/language/cs.sh index 0dee7be..6aefca2 100755 --- a/language/cs.sh +++ b/language/cs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Czech # native: čeština diff --git a/language/de.sh b/language/de.sh index 3dd2db0..400c4ba 100755 --- a/language/de.sh +++ b/language/de.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # German # native: Deutsch diff --git a/language/el.sh b/language/el.sh index 9bb8f58..08aa26e 100755 --- a/language/el.sh +++ b/language/el.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Greek # native: Ελληνικά diff --git a/language/en.sh b/language/en.sh index 1b317d1..c7919bf 100755 --- a/language/en.sh +++ b/language/en.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # English # native: English diff --git a/language/es.sh b/language/es.sh index 9f5fad1..1f6ff6c 100755 --- a/language/es.sh +++ b/language/es.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Spanish # native: Español diff --git a/language/fr.sh b/language/fr.sh index 271bdee..8b6d93a 100755 --- a/language/fr.sh +++ b/language/fr.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # French # native: français diff --git a/language/it.sh b/language/it.sh index 996f222..9a086cb 100755 --- a/language/it.sh +++ b/language/it.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Italian # native: italiano diff --git a/language/pl.sh b/language/pl.sh index aefa3dd..068e6cc 100644 --- a/language/pl.sh +++ b/language/pl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # English # native: Polski diff --git a/language/pt-br.sh b/language/pt-br.sh index 3db7ffe..21b2fc5 100755 --- a/language/pt-br.sh +++ b/language/pt-br.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Português Brazileiro # native: Português-BR diff --git a/language/ro.sh b/language/ro.sh index 0d1fff3..d4a74b5 100755 --- a/language/ro.sh +++ b/language/ro.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Romanian # native: Română diff --git a/language/ru.sh b/language/ru.sh index f4fd365..34b7072 100755 --- a/language/ru.sh +++ b/language/ru.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Russian # native: Русский diff --git a/language/sk.sh b/language/sk.sh index cd8f35a..e03fb2c 100644 --- a/language/sk.sh +++ b/language/sk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Slovak # native: slovenčina diff --git a/language/sl.sh b/language/sl.sh index a68a5af..4981df7 100755 --- a/language/sl.sh +++ b/language/sl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Slovenian # native: Slovenščina diff --git a/language/tk.sh b/language/tk.sh index d6f1564..d0bae5a 100755 --- a/language/tk.sh +++ b/language/tk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Turkish # native: Türk diff --git a/language/zh.sh b/language/zh.sh index 00bbba0..165a65e 100755 --- a/language/zh.sh +++ b/language/zh.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Chinese # native: 中文 diff --git a/lib/ArrayUtils.sh b/lib/ArrayUtils.sh index c347d38..059ab4d 100755 --- a/lib/ArrayUtils.sh +++ b/lib/ArrayUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$ArrayUtilsVersion" ]; then return 0; fi readonly ArrayUtilsVersion="1.0" diff --git a/lib/ColorUtils.sh b/lib/ColorUtils.sh index 8c5f49f..891bd86 100755 --- a/lib/ColorUtils.sh +++ b/lib/ColorUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$ColorUtilsVersion" ]; then return 0; fi readonly ColorUtilsVersion="1.0" diff --git a/lib/FormatUtils.sh b/lib/FormatUtils.sh index f16a1c6..9fa2bb3 100755 --- a/lib/FormatUtils.sh +++ b/lib/FormatUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$FormatUtilsVersion" ]; then return 0; fi readonly FormatUtilsVersion="1.0" diff --git a/lib/HashUtils.sh b/lib/HashUtils.sh index cb12671..5ee5bad 100755 --- a/lib/HashUtils.sh +++ b/lib/HashUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$HashUtilsVersion" ]; then return 0; fi readonly HashUtilsVersion="1.0" diff --git a/lib/Help.sh b/lib/Help.sh old mode 100644 new mode 100755 index 1b1b921..fb5b36d --- a/lib/Help.sh +++ b/lib/Help.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash fluxion_help(){ echo " FLUXION(1) User Manuals FLUXION(1) diff --git a/lib/IOUtils.sh b/lib/IOUtils.sh index 64bce53..172759f 100755 --- a/lib/IOUtils.sh +++ b/lib/IOUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$IOUtilsVersion" ]; then return 0; fi readonly IOUtilsVersion="1.0" diff --git a/lib/InterfaceUtils.sh b/lib/InterfaceUtils.sh index 9156c19..1d8f3ba 100755 --- a/lib/InterfaceUtils.sh +++ b/lib/InterfaceUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash #if [ "$InterfaceUtilsVersion" ]; then return 0; fi #readonly InterfaceUtilsVersion="1.0" diff --git a/lib/SandboxUtils.sh b/lib/SandboxUtils.sh index 7dd1ee5..e78fb49 100755 --- a/lib/SandboxUtils.sh +++ b/lib/SandboxUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$SandboxUtilsVersion" ]; then return 0; fi readonly SandboxUtilsVersion="1.0" diff --git a/lib/ap/airbase-ng.sh b/lib/ap/airbase-ng.sh index c32c58f..2b7e3f9 100755 --- a/lib/ap/airbase-ng.sh +++ b/lib/ap/airbase-ng.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ================================================================ # Configuration Section diff --git a/lib/ap/hostapd.sh b/lib/ap/hostapd.sh index 93438ed..38f1cc7 100755 --- a/lib/ap/hostapd.sh +++ b/lib/ap/hostapd.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ================================================================ # Configuration Section diff --git a/lib/installer/InstallerUtils.sh b/lib/installer/InstallerUtils.sh index 8886ae7..6a6978b 100755 --- a/lib/installer/InstallerUtils.sh +++ b/lib/installer/InstallerUtils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$InstallerUtilsVersion" ]; then return 0; fi readonly InstallerUtilsVersion="1.0" diff --git a/lib/installer/managers/apt.sh b/lib/installer/managers/apt.sh index bbf9b9e..5128f81 100755 --- a/lib/installer/managers/apt.sh +++ b/lib/installer/managers/apt.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -f "/etc/debian_version" ]; then PackageManagerCLT="apt" diff --git a/lib/installer/managers/emerge.sh b/lib/installer/managers/emerge.sh index 4bd7871..9ca53f2 100755 --- a/lib/installer/managers/emerge.sh +++ b/lib/installer/managers/emerge.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -f "/etc/gentoo-release" ]; then PackageManagerCLT="emerge" diff --git a/lib/installer/managers/pacman.sh b/lib/installer/managers/pacman.sh index 30d74e4..76f5de2 100755 --- a/lib/installer/managers/pacman.sh +++ b/lib/installer/managers/pacman.sh @@ -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) diff --git a/lib/installer/managers/yum.sh b/lib/installer/managers/yum.sh index b3edbc8..3d21f3c 100755 --- a/lib/installer/managers/yum.sh +++ b/lib/installer/managers/yum.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -f "/etc/redhat-release" ]; then PackageManagerCLT="yum" diff --git a/lib/installer/managers/zypp.sh b/lib/installer/managers/zypp.sh index d4b92f5..c3b8810 100755 --- a/lib/installer/managers/zypp.sh +++ b/lib/installer/managers/zypp.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -f "/etc/SuSE-release" ]; then PackageManagerCLT="zypp" diff --git a/scripts/debug.sh b/scripts/debug.sh index cd4d8a1..8fd182c 100755 --- a/scripts/debug.sh +++ b/scripts/debug.sh @@ -1,4 +1,4 @@ -#!/ bin / bash +#!/usr/bin/env bash # These are the debug flags used by the script export FLUXIONDebug=1 diff --git a/scripts/diagnostics.sh b/scripts/diagnostics.sh index a5ee8fb..3989886 100755 --- a/scripts/diagnostics.sh +++ b/scripts/diagnostics.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash clear declare -r HEADER_SIZE="####" diff --git a/scripts/preferences.sh b/scripts/preferences.sh index fdda436..5d2674c 100755 --- a/scripts/preferences.sh +++ b/scripts/preferences.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # export FLUXIONAuto=1 # export FLUXIONDebug=1