From cd071a7ec61d1031ae134a042d391bac36908a5f Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Tue, 10 Sep 2024 12:58:44 +0200 Subject: [PATCH] Fix shellcheck warnings on Evil twin enterprise related heredoc --- airgeddon.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airgeddon.sh b/airgeddon.sh index d2b4563df..2e5973f8c 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -10751,9 +10751,9 @@ function set_enterprise_control_script() { } #Set captured hashes and passwords counters + #shellcheck disable=SC2155 function set_captured_counters() { - local new_username_found=0 declare -A lines_and_usernames readarray -t CAPTURED_USERNAMES < <(grep -n -E "username:" "\${wpe_logfile}" | sort -k 2,2 | uniq --skip-fields=1 2> /dev/null) @@ -10801,6 +10801,7 @@ function set_enterprise_control_script() { echo -e "\t\${hours}:\${mins}:\${secs}" if [ "\${break_on_next_loop}" -eq 0 ]; then + #shellcheck disable=SC2140 echo -e "\t${pink_color}${control_msg}${normal_color}\n" fi