Skip to content

Commit

Permalink
Fix shellcheck warnings on Evil twin enterprise related heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Sep 10, 2024
1 parent 44c6268 commit cd071a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit cd071a7

Please sign in to comment.