From a2193bbc4825a377187fac23c774b513b1cdb2dd Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Wed, 14 Aug 2024 18:52:33 +0200 Subject: [PATCH] Small changes to the captive portal and advanced captive portal html --- airgeddon.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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
'"