From 7031cfc324574c659a4e455bd8939738baef0886 Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Mon, 24 Nov 2025 18:51:40 +0500 Subject: [PATCH] Update Str3.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавил список исключений --- Str3.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Str3.sh b/Str3.sh index db1e258..76043f8 100644 --- a/Str3.sh +++ b/Str3.sh @@ -39,6 +39,17 @@ cat <> /etc/config/zapret --dpi-desync-fake-quic=/opt/zapret/files/fake/quic_initial_www_google_com.bin ' EOF +# Проверка и перезапись файла исключений пользователей +echo -e "${GREEN}🔴 ${CYAN}Добавляем домены в исключения" +exclude_file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt" +remote_url="https://raw.githubusercontent.com/StressOzz/Zapret-Manager/refs/heads/main/zapret-hosts-user-exclude.txt" +# Удаляем старый файл +rm -f "$exclude_file" +# Скачиваем новый файл на его место +if ! curl -fsSL "$remote_url" -o "$exclude_file"; then +echo -e "\n${RED}Не удалось загрузить список с GitHub!${NC}\n" +read -p "Нажмите Enter для выхода в главное меню..." dummy +fi # копируем tls_clienthello_t2_ru.bin echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}tls_clienthello_t2_ru.bin${CYAN} на устройство${NC}" curl -sLo /opt/zapret/files/fake/tls_clienthello_t2_ru.bin https://github.com/StressOzz/Zapret-Manager/raw/refs/heads/main/tls_clienthello_t2_ru.bin