From 6d9f5c6e5d06ba61cb449221457bcb3c4eefdfe2 Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Sat, 7 Feb 2026 02:21:45 +0500 Subject: [PATCH] v8.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -----02.07.2026 Добавил стратегию v9 - ставится по умолчанию в 8 пункте. При установки любой стратегии, файл tls_clienthello_max_ru.bin заменяется на новый из репозитария Flowseal для совместимости стратегий... --- Zapret-Manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Zapret-Manager.sh b/Zapret-Manager.sh index b9467b4..b6cb5b5 100644 --- a/Zapret-Manager.sh +++ b/Zapret-Manager.sh @@ -286,6 +286,7 @@ echo -e "${MAGENTA}Устанавливаем стратегию ${version}${NC} printf '%s\n' "gvt1.com" "googleplay.com" "play.google.com" "beacons.gvt2.com" "play.googleapis.com" "play-fe.googleapis.com" "lh3.googleusercontent.com" "android.clients.google.com" "connectivitycheck.gstatic.com" \ "play-lh.googleusercontent.com" "play-games.googleusercontent.com" "prod-lt-playstoregatewayadapter-pa.googleapis.com" | grep -Fxv -f "$fileGP" 2>/dev/null >> "$fileGP"; echo -e "${CYAN}Редактируем ${NC}hosts${NC}"; hosts_add "$ALL_BLOCKS" echo -e "${CYAN}Добавляем домены в исключения${NC}"; rm -f "$EXCLUDE_FILE"; wget -q -U "Mozilla/5.0" -O "$EXCLUDE_FILE" "$EXCLUDE_URL" || { echo -e "\n${RED}Не удалось загрузить exclude файл${NC}\n"; PAUSE; return; } +wget -q -U "Mozilla/5.0" -O /opt/zapret/files/fake/tls_clienthello_max_ru.bin https://github.com/Flowseal/zapret-discord-youtube/raw/refs/heads/main/bin/tls_clienthello_max_ru.bin|| { echo -e "\n${RED}Не удалось загрузить tls_clienthello_max_ru.bin${NC}\n"; PAUSE; return; } discord_str_add; echo -e "${CYAN}Применяем новую стратегию и настройки${NC}"; ZAPRET_RESTART; echo -e "${GREEN}Стратегия ${NC}${version}${GREEN} установлена!${NC}"; [ "$NO_PAUSE" != "1" ] && echo && PAUSE; } choose_strategy_manual() { mkdir -p "$TMP_SF"; curl -fsSL "$STR_URL" -o "$TMP_LIST" || { echo -e "\n${RED}Не удалось скачать список${NC}\n"; read -p "Нажмите Enter..." dummy $TMP_SF/strategy_list; while IFS= read -r LINE; do case "$LINE" in Yv[0-9]*) COUNT=$((COUNT + 1)); echo "$LINE" >> $TMP_SF/strategy_list;; esac; done < "$TMP_LIST"