From 2614eb7a5f1613ee4fd15bce2942a0e01a6537d1 Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Tue, 7 May 2024 16:47:19 +0200 Subject: [PATCH] Fix shellcheck warnings --- airgeddon.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/airgeddon.sh b/airgeddon.sh index 501c2be62..1e5c26fb3 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -9010,9 +9010,9 @@ function set_charset() { done charset="\"${charset}\" \"${charset_tmp}\"" else - charset_tmp=${charset} + charset_tmp="${charset}" for ((i=0; i < maxlength - 1; i++)); do - charset+=${charset_tmp} + charset+="${charset_tmp}" done fi ;; @@ -9524,7 +9524,7 @@ function set_bettercap_config() { { echo -e "set http.proxy.script ${bettercap_hook_file}" - } >> ${tmpdir}${bettercap_config_file} + } >> "${tmpdir}${bettercap_config_file}" { echo -e "function onLoad() {" @@ -9539,7 +9539,7 @@ function set_bettercap_config() { echo -e "\t\t}" echo -e "\t}" echo -e "}" - } >> ${tmpdir}${bettercap_hook_file} + } >> "${tmpdir}${bettercap_hook_file}" fi { @@ -9560,7 +9560,7 @@ function set_bettercap_config() { echo -e "events.ignore net.sniff.sni" echo -e "events.ignore net.sniff.https\n" echo -e "events.stream on" - } >> ${tmpdir}${bettercap_config_file} + } >> "${tmpdir}${bettercap_config_file}" } #Create configuration file for hostapd