From 31492f07dac954780e56b2e67ef3c418b363edf5 Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:05:06 +0500 Subject: [PATCH] Update Str4.sh --- Str4.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Str4.sh b/Str4.sh index 1e05888..ce00bfc 100644 --- a/Str4.sh +++ b/Str4.sh @@ -69,6 +69,17 @@ yt3.googleusercontent.com yting.com gstatic.com EOF +# Проверка и перезапись файла исключений пользователей +echo -e "${GREEN}🔴 ${CYAN}Добавляем домены в ${NC}hostlist" +exclude_file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt" +remote_url="https://raw.githubusercontent.com/StressOzz/Zapret-Manager/refs/heads/main/exclude-list.txt" +# Удаляем старый файл +rm -f "$exclude_file" +# Скачиваем новый файл на его место +if ! curl -fsSL "$remote_url" -o "$exclude_file"; then +echo -e "${RED}Не удалось загрузить список с GitHub!${NC}\n" +read -p "Нажмите Enter для выхода в главное меню..." dummy +fi # копируем 4pda.bin echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}4pda.bin${CYAN} на устройство${NC}" curl -sLo /opt/zapret/files/fake/4pda.bin https://github.com/StressOzz/Zapret-Manager/raw/refs/heads/main/4pda.bin