diff --git a/airgeddon.sh b/airgeddon.sh index 1fa6dcd51..4f11737e7 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -86,6 +86,7 @@ internal_tools=( "ccze" "xset" "loginctl" + "arping" ) declare -A possible_package_names=( @@ -11328,11 +11329,19 @@ function set_et_control_script() { EOF cat >&7 <<-EOF + if hash arping 2> /dev/null; then + if arping -c 3 -I "${interface}" -w 5 -q "\${client_ip}"; then + echo -ne " ${blue_color}${et_misc_texts[${language},29]}${green_color} ✓${normal_color}" + else + echo -ne " ${blue_color}${et_misc_texts[${language},29]}${red_color} ✘${normal_color}" + fi + fi if grep -qE "^\${client_ip} 200 GET /${pixelfile}" "${tmpdir}${webserver_log}" > /dev/null 2>&1; then - echo -ne " ${blue_color}${et_misc_texts[${language},28]}${green_color} ✓${normal_color}\n" + echo -ne " ${blue_color}${et_misc_texts[${language},28]}${green_color} ✓${normal_color}" else - echo -ne " ${blue_color}${et_misc_texts[${language},28]}${red_color} ✘${normal_color}\n" + echo -ne " ${blue_color}${et_misc_texts[${language},28]}${red_color} ✘${normal_color}" fi + echo -ne "\n" EOF cat >&7 <<-'EOF' @@ -11341,7 +11350,7 @@ function set_et_control_script() { done fi echo -ne "\033[K\033[u" - sleep 0.3 + sleep 1 current_window_size="$(tput cols)x$(tput lines)" if [ "${current_window_size}" != "${stored_window_size}" ]; then stored_window_size="${current_window_size}" diff --git a/language_strings.sh b/language_strings.sh index 27c1930d8..5c14f77b8 100644 --- a/language_strings.sh +++ b/language_strings.sh @@ -561,6 +561,20 @@ function initialize_language_strings() { et_misc_texts["ARABIC",28]="\${pending_of_translation} الوصول إلى البوابة" et_misc_texts["CHINESE",28]="\${pending_of_translation} 门户访问" + et_misc_texts["ENGLISH",29]="Is alive" + et_misc_texts["SPANISH",29]="Está activo" + et_misc_texts["FRENCH",29]="\${pending_of_translation} Est actif" + et_misc_texts["CATALAN",29]="\${pending_of_translation} Està actiu" + et_misc_texts["PORTUGUESE",29]="\${pending_of_translation} Está ativo" + et_misc_texts["RUSSIAN",29]="\${pending_of_translation} Активен" + et_misc_texts["GREEK",29]="\${pending_of_translation} Είναι ενεργό" + et_misc_texts["ITALIAN",29]="\${pending_of_translation} È attivo" + et_misc_texts["POLISH",29]="\${pending_of_translation} Jest aktywny" + et_misc_texts["GERMAN",29]="\${pending_of_translation} Ist aktiv" + et_misc_texts["TURKISH",29]="\${pending_of_translation} Aktif" + et_misc_texts["ARABIC",29]="\${pending_of_translation} نشط" + et_misc_texts["CHINESE",29]="\${pending_of_translation} 处于活动状态" + declare -gA wps_texts wps_texts["ENGLISH",0]="The password was saved on file" wps_texts["SPANISH",0]="La contraseña se ha guardado en el fichero"