diff --git a/airgeddon.sh b/airgeddon.sh index 63d8eb55d..c3a788354 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -11581,7 +11581,7 @@ function prepare_captive_portal_data() { captive_portal_button_color=$(echo "${captive_portal_data}" | cut -d " " -f 2) captive_portal_shadow_color=$(echo "${captive_portal_data}" | cut -d " " -f 3) captive_portal_img=$(echo "${captive_portal_data}" | cut -d " " -f 4) - captive_portal_logo='' + captive_portal_logo='\t\t\t\t' cp_vendor_detected="1" break fi @@ -11703,10 +11703,13 @@ function set_captive_portal_page() { echo -e "echo -e '\t\t'" echo -e "echo -e '\t'" echo -e "echo -e '\t'" - echo -e "echo -e ''" + echo -e "echo -e '\t\t'" echo -e "echo -e '\t\t
'" echo -e "echo -e '\t\t\t
'" - echo -e "echo -e '\t\t\t\t${captive_portal_logo}
'" + if [ "${advanced_captive_portal}" -eq 1 ]; then + echo -e "echo -e '${captive_portal_logo}'" + fi + echo -e "echo -e '\t\t\t\t
'" echo -e "echo -e '\t\t\t\t\t

${et_misc_texts[${captive_portal_language},9]}

'" echo -e "echo -e '\t\t\t\t\t${essid//[\`\']/}'" echo -e "echo -e '\t\t\t\t
'"