Skip to content

Commit

Permalink
Fix under construction message
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Nov 18, 2024
1 parent 86f6047 commit 7b17163
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12389,7 +12389,7 @@ function handshake_pmkid_decloaking_tools_menu() {
language_strings "${language}" 122 clean_handshake_dependencies[@]
language_strings "${language}" 727 "separator"
language_strings "${language}" 725
language_strings "${language}" 726 mdk_attack_dependencies[@]
language_strings "${language}" 726 "under_construction" #mdk_attack_dependencies[@]
print_hint ${current_menu}

read -rp "> " handshake_option
Expand Down Expand Up @@ -12443,12 +12443,13 @@ function handshake_pmkid_decloaking_tools_menu() {
decloak_by_deauth
;;
9)
if contains_element "${handshake_option}" "${forbidden_options[@]}"; then
forbidden_menu_option
else
under_construction_message
#if contains_element "${handshake_option}" "${forbidden_options[@]}"; then
# forbidden_menu_option
#else
#TODO decloaking using mdk3/4 by dictionary
mdk_dictionary_option
fi
# mdk_dictionary_option
#fi
;;
*)
invalid_menu_option
Expand Down Expand Up @@ -17185,9 +17186,8 @@ function under_construction_message() {

debug_print

local var_uc="${under_constructionvar^}"
echo
echo_red "${var_uc}..."
echo_red "${under_construction[$language]^}..."
language_strings "${language}" 115 "read"
}

Expand Down
4 changes: 2 additions & 2 deletions language_strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function initialize_language_strings() {
optionaltool_needed["ARABIC"]=":خيار مغلق يتطلب"
optionaltool_needed["CHINESE"]="锁定选项,它需要:"

declare -A under_construction
declare -gA under_construction
under_construction["ENGLISH"]="under construction"
under_construction["SPANISH"]="en construcción"
under_construction["FRENCH"]="en construction"
Expand Down Expand Up @@ -11445,7 +11445,7 @@ function language_strings() {
echo_yellow "${message}"
;;
"under_construction")
echo_red_slim "${message} (${under_constructionvar})"
echo_red_slim "${message} (${under_construction[$language]})"
;;
*)
if [ -z "${3}" ]; then
Expand Down

0 comments on commit 7b17163

Please sign in to comment.