Update Str3.sh

This commit is contained in:
StressOzz authored and GitHub committed 2025-11-10 01:42:24 +05:00
1 parent a0606e5fde
commit 0b934d990e
1 file changed
+3 -3
+3 -3
View File
@@ -10,7 +10,7 @@ GRAY="\033[38;5;239m"
DGRAY="\033[38;5;236m" DGRAY="\033[38;5;236m"
WORKDIR="/tmp/zapret-update" WORKDIR="/tmp/zapret-update"
CONF="/etc/config/zapret" CONF="/etc/config/zapret"
# v6.5 # v3
echo -e "${MAGENTA}Устанавливаем стратегию v3${NC}\n" echo -e "${MAGENTA}Устанавливаем стратегию v3${NC}\n"
echo -e "${GREEN}🔴 ${CYAN}Меняем стратегию${NC}" echo -e "${GREEN}🔴 ${CYAN}Меняем стратегию${NC}"
# Удаляем строку и всё, что идёт ниже строки с option NFQWS_OPT ' # Удаляем строку и всё, что идёт ниже строки с option NFQWS_OPT '
@@ -39,13 +39,13 @@ cat <<'EOF' >> /etc/config/zapret
#v3 #v3
' '
EOF EOF
# Добавляем исключение и домены Youtube # Добавляем исключение
file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt" file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt"
rm -f "$file" rm -f "$file"
cat <<'EOF' > "$file" cat <<'EOF' > "$file"
gstatic.com gstatic.com
EOF EOF
# дкопируем tls_clienthello_t2_ru.bin # копируем tls_clienthello_t2_ru.bin
echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}tls_clienthello_t2_ru.bin${CYAN} на устройство${NC}" 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 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
# Редактируем /etc/hosts # Редактируем /etc/hosts