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