diff --git a/airgeddon.sh b/airgeddon.sh index 73a58e3bb..f5a49f97c 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -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 @@ -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 @@ -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" } diff --git a/language_strings.sh b/language_strings.sh index 8f8df6a81..3e7a7c868 100644 --- a/language_strings.sh +++ b/language_strings.sh @@ -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" @@ -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