mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-05 15:45:52 +03:00
Compare commits
177 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f76d4cf376 | ||
|
|
7f7831d82a | ||
|
|
a4425d7b6e | ||
|
|
653d01b224 | ||
|
|
cf03dd0c3d | ||
|
|
105978ee43 | ||
|
|
6b71827a3b | ||
|
|
702e7cd13f | ||
|
|
c8eb80b4c6 | ||
|
|
8d2deff133 | ||
|
|
3ef216b71b | ||
|
|
785b8de6d2 | ||
|
|
faed518d0c | ||
|
|
50a6d390f7 | ||
|
|
e0455fcbfc | ||
|
|
df54a4ea72 | ||
|
|
7a55a2f3cd | ||
|
|
8a30df6f03 | ||
|
|
779853740f | ||
|
|
87ee178546 | ||
|
|
33f30fa00c | ||
|
|
2785c4616f | ||
|
|
fc29a5794c | ||
|
|
27d47f3bdd | ||
|
|
d86df6be35 | ||
|
|
b5b331e822 | ||
|
|
755353ecd7 | ||
|
|
a7edae47bc | ||
|
|
127a19effe | ||
|
|
383410f6fa | ||
|
|
feb4a69c99 | ||
|
|
4b27f7713e | ||
|
|
199829795c | ||
|
|
aaac27e74e | ||
|
|
4166c5cf19 | ||
|
|
96d14286c7 | ||
|
|
c6bdc104d8 | ||
|
|
0f4591d813 | ||
|
|
3da7c54ec3 | ||
|
|
2ed3c1e279 | ||
|
|
0360ff318b | ||
|
|
ccd2839bdc | ||
|
|
475cfd99c6 | ||
|
|
e2a5649180 | ||
|
|
3911688102 | ||
|
|
6ea2950d13 | ||
|
|
c00943cb8b | ||
|
|
05b5433209 | ||
|
|
cf02ce7791 | ||
|
|
0c59a9c45c | ||
|
|
09ea8c907d | ||
|
|
75a96d90f2 | ||
|
|
fc30567558 | ||
|
|
559f48c3d2 | ||
|
|
565e294599 | ||
|
|
50b6e1a819 | ||
|
|
30a7ac4e9b | ||
|
|
6718d597bf | ||
|
|
6334bbd284 | ||
|
|
daac2bb681 | ||
|
|
dcdb0a3dce | ||
|
|
6d526e5e51 | ||
|
|
543591bf65 | ||
|
|
facfbbc11a | ||
|
|
ca9aee77d3 | ||
|
|
e668a2ca7f | ||
|
|
f6af378b9c | ||
|
|
916f61d952 | ||
|
|
0e320fe52d | ||
|
|
99613c9423 | ||
|
|
7002b334a7 | ||
|
|
30c8ce9b68 | ||
|
|
81cf594ae4 | ||
|
|
7aedfac35f | ||
|
|
ef746381bd | ||
|
|
2b16cb4444 | ||
|
|
cacdebc5d5 | ||
|
|
23d47fd8b1 | ||
|
|
ec2b7c4b88 | ||
|
|
d20672ce27 | ||
|
|
591c8fa785 | ||
|
|
d3e1c91e77 | ||
|
|
f70fe5cb27 | ||
|
|
f7a2220afd | ||
|
|
6874c0e429 | ||
|
|
63ed7d76ca | ||
|
|
7facdc039f | ||
|
|
642f6927ff | ||
|
|
cae93c3cdf | ||
|
|
2c2b1ab779 | ||
|
|
d0567cd698 | ||
|
|
0b14284d2a | ||
|
|
dd278a1f71 | ||
|
|
03d2caac3c | ||
|
|
85fadd8e0c | ||
|
|
46b4e3e4f0 | ||
|
|
5682cd1654 | ||
|
|
5d4ad427e4 | ||
|
|
9bde74742a | ||
|
|
87b12253cb | ||
|
|
a43dcfb27c | ||
|
|
f0f6c27180 | ||
|
|
62ff4115b2 | ||
|
|
dc7364db1b | ||
|
|
5e9be26551 | ||
|
|
bb2ba55bbf | ||
|
|
a7cf34c9ac | ||
|
|
8072cb1ec9 | ||
|
|
4dcfd8e922 | ||
|
|
666f0aa25f | ||
|
|
f132879d28 | ||
|
|
609d9528dd | ||
|
|
5d4c1769c9 | ||
|
|
8478f088eb | ||
|
|
efbcb9000d | ||
|
|
db424b06de | ||
|
|
79eed2e5d2 | ||
|
|
db24a54998 | ||
|
|
92197db267 | ||
|
|
0b7ed0c418 | ||
|
|
8a47e893ba | ||
|
|
7656ba101e | ||
|
|
83938b448e | ||
|
|
5acf410906 | ||
|
|
c8196c4837 | ||
|
|
7a4dc12df5 | ||
|
|
b4b94022bc | ||
|
|
91a96c1357 | ||
|
|
dcfa9fb11b | ||
|
|
3044eb2076 | ||
|
|
54a0c0ccd7 | ||
|
|
d7821cd125 | ||
|
|
d663e14297 | ||
|
|
95fbabe968 | ||
|
|
c42488b919 | ||
|
|
2d512518f0 | ||
|
|
2a1764bf36 | ||
|
|
4cb8c01cda | ||
|
|
9d3cdd4aa0 | ||
|
|
fce0da4d0e | ||
|
|
5befdc2ac5 | ||
|
|
3733e90d8f | ||
|
|
ac3b3b2ac3 | ||
|
|
8cee6753ef | ||
|
|
61ba1be7c2 | ||
|
|
b39ac56e47 | ||
|
|
2588cae778 | ||
|
|
65867a16a3 | ||
|
|
4000d76a00 | ||
|
|
ad205dac20 | ||
|
|
c3ec1f731b | ||
|
|
1a089e4282 | ||
|
|
af35c4027d | ||
|
|
56f3710e23 | ||
|
|
8db968aa46 | ||
|
|
b5ca13a04d | ||
|
|
a7b97856f7 | ||
|
|
8edb8306e9 | ||
|
|
977561fde8 | ||
|
|
e04dba7d79 | ||
|
|
99ff02c2c2 | ||
|
|
a62c3d661c | ||
|
|
60d73d68ae | ||
|
|
5c35c8810c | ||
|
|
75df64bfe5 | ||
|
|
5fd74d3546 | ||
|
|
0c0e6cf9bb | ||
|
|
06e825c1b2 | ||
|
|
078cec8c2e | ||
|
|
b50d13ba5b | ||
|
|
d39d1050d9 | ||
|
|
c08f4d41a5 | ||
|
|
f2e015f3f9 | ||
|
|
31c4e02bb5 | ||
|
|
d8f8edbd4c | ||
|
|
a86fbb8db5 | ||
|
|
c0b4799aa3 |
60
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
60
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
name: 🐛 Проблема
|
||||||
|
title: '[Проблема] '
|
||||||
|
description: Сообщить о проблеме
|
||||||
|
labels: ['type: проблема', 'status: нуждается в сортировке']
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
id: checklist
|
||||||
|
attributes:
|
||||||
|
label: ⚠️ Чеклист
|
||||||
|
description: Перед созданием нового Issue, удостоверьтесь что выполнили следующие пункты
|
||||||
|
options:
|
||||||
|
- label: Я искал решение проблемы в [README](https://github.com/Flowseal/zapret-discord-youtube/blob/main/README.md) и среди [Issues](https://github.com/Flowseal/zapret-discord-youtube/issues)
|
||||||
|
- label: Я скачал ``zapret-discord-youtube`` из [релизов официального репозитория](https://github.com/Flowseal/zapret-discord-youtube/releases)
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Опишите вашу проблему
|
||||||
|
description: Чётко опишите проблему с которой вы столкнулись
|
||||||
|
placeholder: Описание проблемы
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Версия zapret-discord-youtube
|
||||||
|
description: Версия zapret-discord-youtube на которой вы словили проблему
|
||||||
|
placeholder: Версия
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: reproduction
|
||||||
|
attributes:
|
||||||
|
label: Шаги воспроизведения проблемы
|
||||||
|
description: Шаги по воспроизведению поведения (вашей проблемы).
|
||||||
|
placeholder: |
|
||||||
|
Напишите здесь шаги, с помощью которых можно повторить вашу проблему
|
||||||
|
на других компьютерах
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: bat-name
|
||||||
|
attributes:
|
||||||
|
label: Какой .bat файл вы используете?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: other-bat
|
||||||
|
attributes:
|
||||||
|
label: Использовали ли вы другие .bat?
|
||||||
|
description: Пробовали ли вы использовать другой .bat для устранения проблемы? Если использовали, то какие?
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: additions
|
||||||
|
attributes:
|
||||||
|
label: Дополнительные детали
|
||||||
|
description: Дополнительные детали о которых нам нужно знать
|
||||||
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
1
.service/version.txt
Normal file
1
.service/version.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.8.1
|
||||||
46
LICENSE.txt
Normal file
46
LICENSE.txt
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2016-2025 bol-van
|
||||||
|
Copyright (c) 2024-2025 Flowseal
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
This repository contains binary files originating from the project by bol-van,
|
||||||
|
available at: https://github.com/bol-van/zapret/ (licensed under the MIT License).
|
||||||
|
|
||||||
|
This repository also includes and depends on WinDivert
|
||||||
|
(https://github.com/basil00/WinDivert), which is licensed under your choice of:
|
||||||
|
|
||||||
|
1. The GNU Lesser General Public License (LGPL) Version 3, or
|
||||||
|
2. The GNU General Public License (GPL) Version 2.
|
||||||
|
|
||||||
|
Binary distributions of WinDivert are included in this project as-is, without modification.
|
||||||
|
The corresponding source code and license terms for WinDivert are available at
|
||||||
|
https://github.com/basil00/WinDivert.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
To comply with the licenses of these projects:
|
||||||
|
|
||||||
|
1. The original copyright notices and licenses (above) are retained.
|
||||||
|
2. The use of WinDivert in this project is governed by its licensing terms (LGPLv3/GPLv2).
|
||||||
|
3. This repository provides only binary files and does not include the source code of
|
||||||
|
the project by bol-van or modifications to WinDivert.
|
||||||
184
README.md
184
README.md
@@ -1,73 +1,141 @@
|
|||||||
# Zapret (обход блокировки Discord'а и Youtube'а)
|
<div align="center">
|
||||||
|
|
||||||
|
# <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=28 /> <a href="https://github.com/Flowseal/">Flowseal</a><a href="https://github.com/Flowseal/zapret-discord-youtube">/zapret-discord-youtube</a> <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=28 />
|
||||||
|
|
||||||
|
*"Plug & Play"* обход блокировок иностранных платформ, <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=11 /> **Discord** и <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=11 /> **YouTube** для Windows
|
||||||
|
|
||||||
|
Альтернатива https://github.com/bol-van/zapret-win-bundle
|
||||||
|
Также, вы можете материально поддержать разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
||||||
|
</div>
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> В сети появились правдоподобные копии аккаунтов, которые распространяют вредоносное ПО под видом Zapret. \
|
>
|
||||||
> Отличить оригинал от фейка вы всегда можете по количеству [⭐ звёзд](https://github.com/Flowseal/zapret-discord-youtube/stargazers) (в правом верхнем углу) у репозитория.
|
> ### АНТИВИРУСЫ
|
||||||
|
> WinDivert может вызвать реакцию антивируса.
|
||||||
|
> WinDivert - это инструмент для перехвата и фильтрации трафика, необходимый для работы zapret.
|
||||||
|
> Замена iptables и NFQUEUE в Linux, которых нет под Windows.
|
||||||
|
> Он может использоваться как хорошими, так и плохими программами, но сам по себе не является вирусом.
|
||||||
|
> Драйвер WinDivert64.sys подписан для возможности загрузки в 64-битное ядро Windows.
|
||||||
|
> Но антивирусы склонны относить подобное к классам повышенного риска или хакерским инструментам.
|
||||||
|
> В случае проблем используйте исключения или выключайте антивирус совсем.
|
||||||
|
>
|
||||||
|
> **Выдержка из [`readme.md`](https://github.com/bol-van/zapret-win-bundle/blob/master/readme.md#%D0%B0%D0%BD%D1%82%D0%B8%D0%B2%D0%B8%D1%80%D1%83%D1%81%D1%8B) репозитория [bol-van/zapret-win-bundle](https://github.com/bol-van/zapret-win-bundle)*
|
||||||
|
|
||||||
## Guides
|
|
||||||
### Windows
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Если всё еще не скачан, то скачайте последний [релиз](https://github.com/Flowseal/zapret-discord-youtube/releases), разархивируйте в отдельную папку.
|
> Все бинарные файлы в папке [`bin`](./bin) взяты из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws). Вы можете это проверить с помощью хэшей/контрольных сумм. Проверяйте, что запускаете, используя сборки из интернета!
|
||||||
|
|
||||||
Запустите **от имени администратора** то, что вам нужно:
|
## ⚙️Использование
|
||||||
- **`discord.bat`** - запустить обход дискорда.
|
|
||||||
- **`discord_youtube.bat`** - запустить обход дискорда и ютуба.
|
|
||||||
###
|
|
||||||
- **`service_discord.bat`** - запустить обход дискорда и поставить на автозапуск (в сервисах).
|
|
||||||
- **`service_discord_youtube.bat`** - запустить обход дискорда и ютуба и поставить на автозапуск (в сервисах).
|
|
||||||
###
|
|
||||||
- **`service_goodbye_discord.bat`** - запустить, если вы используете **СЕРВИС goodbyedpi**, и хотите, чтобы zapret обходил **только discord**.
|
|
||||||
* **ВНИМАНИЕ**: Запускать ПОСЛЕ создания сервиса goodbyedpi. Первый раз goodbyedpi может вылететь - просто перезапустите устройство!
|
|
||||||
###
|
|
||||||
- **`service_remove.bat`** - остановить и удалить сервисы выше
|
|
||||||
|
|
||||||
### Решение проблем
|
1. Загрузите архив (zip/rar) со [страницы последнего релиза](https://github.com/Flowseal/zapret-discord-youtube/releases/latest)
|
||||||
- Проверьте, запускаете ли вы файлы от имени администратора.
|
|
||||||
- Не работают bat файлы? Попробуйте выполнить очистку от драйвера WinDivert, как написано **[ЗДЕСЬ](#остановка-и-удаление-обхода)**
|
|
||||||
- Не работает сервис? Проверьте, чтобы в пути до файла **не было пробелов** и русских символов.
|
|
||||||
* Также отключите программы, которые могут мешать созданию сервиса *(Антивирусы, клинеры с доп. защитой)*.
|
|
||||||
- Не работает вместе с VPN? Отключите функцию **TUN** (Tunneling) в настройках VPN.
|
|
||||||
- Не работает `service_goodbye_discord`? Удостовертесь, что сервис goodbyedpi запущен и имеет название GoodbyeDPI. После снова запустите `service_goodbye_discord.bat` и перезапустите устройство.
|
|
||||||
- Не прогружается видео на ютубе? Попробуйте поставить **`Kyber`** и **`QUIC`** в default (`chrome://flags/`).
|
|
||||||
* Также в файле, который открываете, в строчке с `--filter-tcp=443`: попробуйте поменять `--dpi-desync-fooling=md5sig` на `--dpi-desync-fooling=badseq`.
|
|
||||||
* https://github.com/Flowseal/zapret-discord-youtube/issues/46
|
|
||||||
- Попробуйте обновить бинарники с оригинального репозитория.
|
|
||||||
- Не работает **YouTube**? Попробуйте найти ответ здесь - https://github.com/Flowseal/zapret-discord-youtube/issues/90
|
|
||||||
- Не работает **Discord**? Попробуйте найти ответ здесь - https://github.com/Flowseal/zapret-discord-youtube/issues/92
|
|
||||||
|
|
||||||
### Остановка и удаление обхода
|
2. Распакуйте содержимое архива по пути, который не содержит кириллицу/спец. символы
|
||||||
Для удаления оставшегося драйвера WinDivert, откройте cmd от имени администратора и пропишите следующее:
|
|
||||||
```
|
3. Запустите нужный файл
|
||||||
sc stop WinDivert
|
|
||||||
sc delete WinDivert
|
## ℹ️Краткие описания файлов
|
||||||
```
|
|
||||||
> [!NOTE]
|
- [**`general.bat ...`**](./general.bat) - запуск со стратегией для обхода блокировок
|
||||||
> Возможно, драйвер у вас будет записан по-другому. Для уточнения названия пропишите `driverquery | find "Divert"` в cmd.
|
**Работоспособность той или иной стратегии зависит от многих факторов. Пробуйте разные стратегии (ALT, МГТС и другие), пока не найдёте рабочее для вас решение**
|
||||||
|
|
||||||
|
- [**`service.bat`**](./service.bat) - вспомогательные скрипты:
|
||||||
|
- <ins>**`Install Service`** - установка любой стратегии в автозапуск (services.msc)</ins>
|
||||||
|
- **`Remove Services`** - удаление стратегии и WinDivert из служб
|
||||||
|
- **`Check Status`** - проверка статуса обхода и служб (стратегии на автозапуске и WinDivert)
|
||||||
|
- **`Run Diagnostics`** - диагностика на распространённые причины, по которым zapret может не работать.
|
||||||
|
В конце можно очистить кэш <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=11 /> `Discord`, что может помочь, если он неожиданно перестал работать
|
||||||
|
- **`Check Updates`** - проверка на обновления
|
||||||
|
- **`Switch Game Filter`** - переключение режима обхода для игр (и других сервисов, использующих UDP и TCP на портах выше 1023).
|
||||||
|
**После переключения требуется перезапуск стратегии.**
|
||||||
|
В скобках указан текущий статус (включено/выключено).
|
||||||
|
- **`Switch ipset`** - переключение режима обхода сервисов из `ipset-all.txt`.
|
||||||
|
Полезно при тестировании, если не работает то, что не заблокировано.
|
||||||
|
В скобках указан текущий статус (загружен список/пустой список).
|
||||||
|
- **`Update ipset list`** - обновление списка `ipset-all.txt` актуальным из репозитория
|
||||||
|
|
||||||
|
|
||||||
|
## ☑️Распространенные проблемы
|
||||||
|
|
||||||
|
### Не работает <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=18 /> Discord
|
||||||
|
|
||||||
|
- См. [#252](https://github.com/Flowseal/zapret-discord-youtube/discussions/252)
|
||||||
|
|
||||||
|
### Не работает <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=18 /> YouTube
|
||||||
|
|
||||||
|
- См. [#251](https://github.com/Flowseal/zapret-discord-youtube/discussions/251)
|
||||||
|
|
||||||
|
### После запуска стратегии ничего не происходит
|
||||||
|
|
||||||
|
- После запуска стратегии (отдельным bat файлом, не через service), должен открыться winws.exe (обход), который можно увидеть в панели задач.
|
||||||
|
Если этого не произошло, то см. [#522](https://github.com/Flowseal/zapret-discord-youtube/issues/522)
|
||||||
|
|
||||||
|
### Обход не работает
|
||||||
|
|
||||||
### Добавление дополнительных адресов заблокированных сайтов
|
|
||||||
- Список можно дополнить используя `list-general.txt` (для `*discord_youtube`) и в список `list-discord` (для файлов без `youtube` в названии).
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> После добавления сервис нужно перезапустить.
|
> **Стратегии блокировок со временем изменяются.**
|
||||||
|
> Определенная стратегия обхода zapret может работать какое-то время, но если меняется способ блокировки или обнаружения обхода блокировки, то она перестанет работать.
|
||||||
|
> В репозитории представлены множество различных стратегий для обхода. Если ни одна из них вам не помогает, то вам необходимо создать новую, взяв за основу одну из представленных здесь и изменив её параметры.
|
||||||
|
> Информацию про параметры стратегий вы можете найти [тут](https://github.com/bol-van/zapret/blob/master/docs/readme.md#nfqws).
|
||||||
|
|
||||||
## Linux
|
- Убедитесь, что адрес ресурса записан в списках доменов или IP. Подробнее [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
||||||
В оригинальном репозитории [zapret](https://github.com/bol-van/zapret/) имеется достаточно информации для того, чтобы начать пользоваться обходом блокировок, но и стоит понимать, что нажатием одной кнопки ничего не заработает. \
|
|
||||||
Достаточно следовать следующим инструкциям и всё внимательно читать:
|
|
||||||
- [zapret/docs/quick_start.txt](https://github.com/bol-van/zapret/blob/master/docs/quick_start.txt)
|
|
||||||
- [zapret/docs/readme.txt](https://github.com/bol-van/zapret/blob/master/docs/readme.txt)
|
|
||||||
* https://github.com/Flowseal/zapret-discord-youtube/issues/7
|
|
||||||
> [!WARNING]
|
|
||||||
> Если вы открываете Issue *(в этом репозитории)* с проблемой в использовании на **Linux**, то, как бы это не звучало, это ошибка. Все вопросы по работе на Linux нужно открывать в **[ОРИГИНАЛЬНОМ](https://github.com/bol-van/zapret/)** репозитории. Следовательно, задавайте вопросы [тут](https://github.com/bol-van/zapret/issues/).
|
|
||||||
|
|
||||||
## Support
|
- Попробуйте в `service.bat` переключить `Switch Game Filter` и `Switch ipset`. На разных стратегиях они могут работать по-разному. **Подробнее, что они делают, [тут](https://github.com/Flowseal/zapret-discord-youtube?tab=readme-ov-file#%E2%84%B9%EF%B8%8F%D0%BA%D1%80%D0%B0%D1%82%D0%BA%D0%B8%D0%B5-%D0%BE%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D1%8F-%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2)**
|
||||||
|
|
||||||
If you like the project, leave a :star: (top right) and become a [stargazer](https://github.com/Flowseal/zapret-discord-youtube/stargazers)!
|
- Проверьте другие стратегии (**`ALT`**/**`МГТС`** и другие)
|
||||||
|
|
||||||
[](https://github.com/Flowseal/zapret-discord-youtube/stargazers)
|
- Обновите файлы в папке [`bin`](./bin), взяв новые из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws)
|
||||||
|
|
||||||
## Credits & Contributors
|
- См. [#765](https://github.com/Flowseal/zapret-discord-youtube/issues/765)
|
||||||
<p align="left">
|
|
||||||
<a href="https://github.com/Flowseal/zapret-discord-youtube/graphs/contributors">
|
### Требуется цифровая подпись драйвера WinDivert (Windows 7)
|
||||||
<img src="https://contrib.rocks/image?repo=Flowseal/zapret-discord-youtube" />
|
|
||||||
|
- Замените файлы `WinDivert.dll` и `WinDivert64.sys` в папке [`bin`](./bin) на одноименные из [zapret-win-bundle/win7](https://github.com/bol-van/zapret-win-bundle/tree/master/win7)
|
||||||
|
|
||||||
|
### При удалении с помощью [**`service.bat`**](./service.bat), WinDivert остается в службах
|
||||||
|
|
||||||
|
1. Узнайте название службы с помощью команды, в командной строке Windows (Win+R, `cmd`):
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
driverquery | find "Divert"
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Остановите и удалите службу командами:
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
sc stop {название, которые вы узнали в шаге 1}
|
||||||
|
|
||||||
|
sc delete {название, которые вы узнали в шаге 1}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Не нашли своей проблемы
|
||||||
|
|
||||||
|
* Создайте её [тут](https://github.com/Flowseal/zapret-discord-youtube/issues)
|
||||||
|
|
||||||
|
## 🗒️Добавление адресов прочих заблокированных ресурсов
|
||||||
|
|
||||||
|
Список блокирующихся адресов для обхода можно расширить, добавляя их в:
|
||||||
|
- [`list-general.txt`](./lists/list-general.txt) для доменов (поддомены автоматически учитываются)
|
||||||
|
- [`ipset-all.txt`](./lists/ipset-all.txt) для IP и подсетей
|
||||||
|
|
||||||
|
## ⭐Поддержка проекта
|
||||||
|
|
||||||
|
Вы можете поддержать проект, поставив :star: этому репозиторию (сверху справа этой страницы)
|
||||||
|
|
||||||
|
Также, вы можете материально поддержать разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
||||||
|
|
||||||
|
<a href="https://star-history.com/#Flowseal/zapret-discord-youtube&Date">
|
||||||
|
<picture>
|
||||||
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date&theme=dark" />
|
||||||
|
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date" />
|
||||||
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date" />
|
||||||
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
|
||||||
|
|
||||||
* Many thanks to [bol-van](https://github.com/bol-van/), creator of original [zapret](https://github.com/bol-van/zapret/) repository.
|
## ⚖️Лицензирование
|
||||||
|
|
||||||
|
Проект распространяется на условиях лицензии [MIT](https://github.com/Flowseal/zapret-discord-youtube/blob/main/LICENSE.txt)
|
||||||
|
|
||||||
|
## 🩷Благодарность участникам проекта
|
||||||
|
|
||||||
|
[](https://github.com/Flowseal/zapret-discord-youtube/graphs/contributors)
|
||||||
|
|
||||||
|
💖 Отдельная благодарность разработчику [zapret](https://github.com/bol-van/zapret) - [bol-van](https://github.com/bol-van)
|
||||||
|
|||||||
BIN
bin/cygwin1.dll
BIN
bin/cygwin1.dll
Binary file not shown.
1
bin/game_filter.enabled
Normal file
1
bin/game_filter.enabled
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ENABLED
|
||||||
Binary file not shown.
BIN
bin/winws.exe
BIN
bin/winws.exe
Binary file not shown.
12
discord.bat
12
discord.bat
@@ -1,12 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
cd /d "%~dp0"
|
|
||||||
|
|
||||||
set BIN=%~dp0bin\
|
|
||||||
|
|
||||||
start "zapret: discord" /min "%BIN%winws.exe" --wf-tcp=443 --wf-udp=443,50000-65535 ^
|
|
||||||
--filter-udp=443 --hostlist="list-discord.txt" --dpi-desync=fake --dpi-desync-udplen-increment=10 --dpi-desync-repeats=6 --dpi-desync-udplen-pattern=0xDEADBEEF --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
|
||||||
--filter-udp=50000-65535 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
|
||||||
--filter-tcp=443 --hostlist="list-discord.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
cd /d "%~dp0"
|
|
||||||
|
|
||||||
set BIN=%~dp0bin\
|
|
||||||
|
|
||||||
start "zapret: discord" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-65535 ^
|
|
||||||
--filter-udp=443 --hostlist="list-general.txt" --dpi-desync=fake --dpi-desync-udplen-increment=10 --dpi-desync-repeats=6 --dpi-desync-udplen-pattern=0xDEADBEEF --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
|
||||||
--filter-udp=50000-65535 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
|
||||||
--filter-tcp=80 --hostlist="list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
|
||||||
--filter-tcp=443 --hostlist="list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"
|
|
||||||
22
general (ALT).bat
Normal file
22
general (ALT).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split --dpi-desync-autottl=5 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split --dpi-desync-autottl=5 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
||||||
22
general (ALT2).bat
Normal file
22
general (ALT2).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=split2 --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=split2 --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (ALT3).bat
Normal file
22
general (ALT3).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (ALT4).bat
Normal file
22
general (ALT4).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (ALT5).bat
Normal file
22
general (ALT5).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
:: NOT RECOMMENDED
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-l3=ipv4 --filter-tcp=443,%GameFilter% --dpi-desync=syndata --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=14 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
||||||
22
general (ALT6).bat
Normal file
22
general (ALT6).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=split2 --dpi-desync-repeats=2 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq,hopbyhop2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=split2 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq,hopbyhop2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (FAKE TLS ALT).bat
Normal file
22
general (FAKE TLS ALT).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-fooling=md5sig --dpi-desync-fake-tls-mod=rnd,rndsni,padencap --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-fooling=md5sig --dpi-desync-fake-tls-mod=rnd,rndsni,padencap --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
23
general (FAKE TLS AUTO ALT).bat
Normal file
23
general (FAKE TLS AUTO ALT).bat
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
:: Actually, fake-tls-mod is not working there
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (FAKE TLS AUTO ALT2).bat
Normal file
22
general (FAKE TLS AUTO ALT2).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (FAKE TLS AUTO).bat
Normal file
22
general (FAKE TLS AUTO).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,fakedsplit --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (FAKE TLS).bat
Normal file
22
general (FAKE TLS).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=8 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=3 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-ttl=4 --dpi-desync-fake-tls-mod=rnd,rndsni,padencap --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=8 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=3 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-ttl=4 --dpi-desync-fake-tls-mod=rnd,rndsni,padencap --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
||||||
22
general (МГТС).bat
Normal file
22
general (МГТС).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
22
general (МГТС2).bat
Normal file
22
general (МГТС2).bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
||||||
22
general.bat
Normal file
22
general.bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,%GameFilter% --wf-udp=443,50000-50100,%GameFilter% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
||||||
|
--filter-tcp=80 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-general.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=midsld --dpi-desync-repeats=8 --dpi-desync-fooling=md5sig,badseq --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80 --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
||||||
|
--filter-tcp=443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=midsld --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig,badseq --new ^
|
||||||
|
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --dpi-desync=fake --dpi-desync-autottl=2 --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
discord.com
|
|
||||||
gateway.discord.gg
|
|
||||||
cdn.discordapp.com
|
|
||||||
discordapp.net
|
|
||||||
discordapp.com
|
|
||||||
discord.gg
|
|
||||||
media.discordapp.net
|
|
||||||
images-ext-1.discordapp.net
|
|
||||||
www.discord.com
|
|
||||||
www.discord.app
|
|
||||||
discord.app
|
|
||||||
*.discord.com
|
|
||||||
*.discord.gg
|
|
||||||
*.discordapp.com
|
|
||||||
*.discordapp.net
|
|
||||||
discord.media
|
|
||||||
*.discord.media
|
|
||||||
discordcdn.com
|
|
||||||
discord.dev
|
|
||||||
discord.new
|
|
||||||
discord.gift
|
|
||||||
discordstatus.com
|
|
||||||
dis.gd
|
|
||||||
discord.co
|
|
||||||
discord-attachments-uploads-prd.storage.googleapis.com
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
googlevideo.com
|
|
||||||
youtu.be
|
|
||||||
youtube.com
|
|
||||||
youtubei.googleapis.com
|
|
||||||
i.ytimg.com
|
|
||||||
ytimg.com
|
|
||||||
ggpht.com
|
|
||||||
youtubekids.com
|
|
||||||
discord.com
|
|
||||||
gateway.discord.gg
|
|
||||||
cdn.discordapp.com
|
|
||||||
discordapp.net
|
|
||||||
discordapp.com
|
|
||||||
discord.gg
|
|
||||||
media.discordapp.net
|
|
||||||
images-ext-1.discordapp.net
|
|
||||||
www.discord.com
|
|
||||||
www.discord.app
|
|
||||||
discord.app
|
|
||||||
*.discord.com
|
|
||||||
*.discord.gg
|
|
||||||
*.discordapp.com
|
|
||||||
*.discordapp.net
|
|
||||||
discord.media
|
|
||||||
*.discord.media
|
|
||||||
discordcdn.com
|
|
||||||
discord.dev
|
|
||||||
discord.new
|
|
||||||
discord.gift
|
|
||||||
discordstatus.com
|
|
||||||
dis.gd
|
|
||||||
discord.co
|
|
||||||
discord-attachments-uploads-prd.storage.googleapis.com
|
|
||||||
5459
lists/ipset-all.txt
Normal file
5459
lists/ipset-all.txt
Normal file
File diff suppressed because it is too large
Load Diff
46
lists/list-general.txt
Normal file
46
lists/list-general.txt
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
cloudflare-ech.com
|
||||||
|
dis.gd
|
||||||
|
discord-attachments-uploads-prd.storage.googleapis.com
|
||||||
|
discord.app
|
||||||
|
discord.co
|
||||||
|
discord.com
|
||||||
|
discord.design
|
||||||
|
discord.dev
|
||||||
|
discord.gift
|
||||||
|
discord.gifts
|
||||||
|
discord.gg
|
||||||
|
discord.media
|
||||||
|
discord.new
|
||||||
|
discord.store
|
||||||
|
discord.status
|
||||||
|
discord-activities.com
|
||||||
|
discordactivities.com
|
||||||
|
discordapp.com
|
||||||
|
discordapp.net
|
||||||
|
discordcdn.com
|
||||||
|
discordmerch.com
|
||||||
|
discordpartygames.com
|
||||||
|
discordsays.com
|
||||||
|
discordsez.com
|
||||||
|
yt3.ggpht.com
|
||||||
|
yt4.ggpht.com
|
||||||
|
yt3.googleusercontent.com
|
||||||
|
googlevideo.com
|
||||||
|
jnn-pa.googleapis.com
|
||||||
|
stable.dl2.discordapp.net
|
||||||
|
wide-youtube.l.google.com
|
||||||
|
youtube-nocookie.com
|
||||||
|
youtube-ui.l.google.com
|
||||||
|
youtube.com
|
||||||
|
youtubeembeddedplayer.googleapis.com
|
||||||
|
youtubekids.com
|
||||||
|
youtubei.googleapis.com
|
||||||
|
youtu.be
|
||||||
|
yt-video-upload.l.google.com
|
||||||
|
ytimg.com
|
||||||
|
ytimg.l.google.com
|
||||||
|
frankerfacez.com
|
||||||
|
ffzap.com
|
||||||
|
betterttv.net
|
||||||
|
7tv.app
|
||||||
|
7tv.io
|
||||||
541
service.bat
Normal file
541
service.bat
Normal file
@@ -0,0 +1,541 @@
|
|||||||
|
@echo off
|
||||||
|
set "LOCAL_VERSION=1.8.1"
|
||||||
|
|
||||||
|
:: External commands
|
||||||
|
if "%~1"=="status_zapret" (
|
||||||
|
call :test_service zapret soft
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%~1"=="check_updates" (
|
||||||
|
call :service_check_updates soft
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
|
if "%~1"=="load_game_filter" (
|
||||||
|
call :game_switch_status
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if "%1"=="admin" (
|
||||||
|
echo Started with admin rights
|
||||||
|
) else (
|
||||||
|
echo Requesting admin rights...
|
||||||
|
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c \"\"%~f0\" admin\"' -Verb RunAs"
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
:: MENU ================================
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
:menu
|
||||||
|
cls
|
||||||
|
call :ipset_switch_status
|
||||||
|
call :game_switch_status
|
||||||
|
|
||||||
|
set "menu_choice=null"
|
||||||
|
echo =======================
|
||||||
|
echo 1. Install Service
|
||||||
|
echo 2. Remove Services
|
||||||
|
echo 3. Check Status
|
||||||
|
echo 4. Run Diagnostics
|
||||||
|
echo 5. Check Updates
|
||||||
|
echo 6. Switch Game Filter (%GameFilterStatus%)
|
||||||
|
echo 7. Switch ipset (%IPsetStatus%)
|
||||||
|
echo 8. Update ipset list
|
||||||
|
echo 0. Exit
|
||||||
|
set /p menu_choice=Enter choice (0-8):
|
||||||
|
|
||||||
|
if "%menu_choice%"=="1" goto service_install
|
||||||
|
if "%menu_choice%"=="2" goto service_remove
|
||||||
|
if "%menu_choice%"=="3" goto service_status
|
||||||
|
if "%menu_choice%"=="4" goto service_diagnostics
|
||||||
|
if "%menu_choice%"=="5" goto service_check_updates
|
||||||
|
if "%menu_choice%"=="6" goto game_switch
|
||||||
|
if "%menu_choice%"=="7" goto ipset_switch
|
||||||
|
if "%menu_choice%"=="8" goto ipset_update
|
||||||
|
if "%menu_choice%"=="0" exit /b
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: STATUS ==============================
|
||||||
|
:service_status
|
||||||
|
cls
|
||||||
|
chcp 437 > nul
|
||||||
|
echo Checking services and tasks...
|
||||||
|
call :test_service zapret
|
||||||
|
call :test_service WinDivert
|
||||||
|
|
||||||
|
tasklist /FI "IMAGENAME eq winws.exe" | find /I "winws.exe" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintGreen "Bypass is ACTIVE"
|
||||||
|
) else (
|
||||||
|
call :PrintRed "Bypass NOT FOUND"
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
:test_service
|
||||||
|
set "ServiceName=%~1"
|
||||||
|
set "ServiceStatus="
|
||||||
|
|
||||||
|
for /f "tokens=3 delims=: " %%A in ('sc query "%ServiceName%" ^| findstr /i "STATE"') do set "ServiceStatus=%%A"
|
||||||
|
set "ServiceStatus=%ServiceStatus: =%"
|
||||||
|
|
||||||
|
if "%ServiceStatus%"=="RUNNING" (
|
||||||
|
if "%~2"=="soft" (
|
||||||
|
echo "%ServiceName%" is ALREADY RUNNING as service, use "service.bat" and choose "Remove Services" first if you want to run standalone bat.
|
||||||
|
pause
|
||||||
|
exit /b
|
||||||
|
) else (
|
||||||
|
echo "%ServiceName%" service is RUNNING.
|
||||||
|
)
|
||||||
|
) else if not "%~2"=="soft" (
|
||||||
|
echo "%ServiceName%" service is NOT running.
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
|
:: REMOVE ==============================
|
||||||
|
:service_remove
|
||||||
|
cls
|
||||||
|
chcp 65001 > nul
|
||||||
|
|
||||||
|
set SRVCNAME=zapret
|
||||||
|
net stop %SRVCNAME%
|
||||||
|
sc delete %SRVCNAME%
|
||||||
|
|
||||||
|
net stop "WinDivert"
|
||||||
|
sc delete "WinDivert"
|
||||||
|
net stop "WinDivert14"
|
||||||
|
sc delete "WinDivert14"
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: INSTALL =============================
|
||||||
|
:service_install
|
||||||
|
cls
|
||||||
|
chcp 65001 > nul
|
||||||
|
|
||||||
|
:: Main
|
||||||
|
cd /d "%~dp0"
|
||||||
|
set "BIN_PATH=%~dp0bin\"
|
||||||
|
set "LISTS_PATH=%~dp0lists\"
|
||||||
|
|
||||||
|
:: Searching for .bat files in current folder, except files that start with "service"
|
||||||
|
echo Pick one of the options:
|
||||||
|
set "count=0"
|
||||||
|
for %%f in (*.bat) do (
|
||||||
|
set "filename=%%~nxf"
|
||||||
|
if /i not "!filename:~0,7!"=="service" (
|
||||||
|
set /a count+=1
|
||||||
|
echo !count!. %%f
|
||||||
|
set "file!count!=%%f"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
:: Choosing file
|
||||||
|
set "choice="
|
||||||
|
set /p "choice=Input file index (number): "
|
||||||
|
if "!choice!"=="" goto :eof
|
||||||
|
|
||||||
|
set "selectedFile=!file%choice%!"
|
||||||
|
if not defined selectedFile (
|
||||||
|
echo Invalid choice, exiting...
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
|
:: Args that should be followed by value
|
||||||
|
set "args_with_value=sni"
|
||||||
|
|
||||||
|
:: Parsing args (mergeargs: 2=start param|3=arg with value|1=params args|0=default)
|
||||||
|
set "args="
|
||||||
|
set "capture=0"
|
||||||
|
set "mergeargs=0"
|
||||||
|
set QUOTE="
|
||||||
|
|
||||||
|
for /f "tokens=*" %%a in ('type "!selectedFile!"') do (
|
||||||
|
set "line=%%a"
|
||||||
|
|
||||||
|
echo !line! | findstr /i "%BIN%winws.exe" >nul
|
||||||
|
if not errorlevel 1 (
|
||||||
|
set "capture=1"
|
||||||
|
)
|
||||||
|
|
||||||
|
if !capture!==1 (
|
||||||
|
if not defined args (
|
||||||
|
set "line=!line:*%BIN%winws.exe"=!"
|
||||||
|
)
|
||||||
|
|
||||||
|
set "temp_args="
|
||||||
|
for %%i in (!line!) do (
|
||||||
|
set "arg=%%i"
|
||||||
|
|
||||||
|
if not "!arg!"=="^" (
|
||||||
|
if "!arg:~0,2!" EQU "--" if not !mergeargs!==0 (
|
||||||
|
set "mergeargs=0"
|
||||||
|
)
|
||||||
|
|
||||||
|
if "!arg:~0,1!" EQU "!QUOTE!" (
|
||||||
|
set "arg=!arg:~1,-1!"
|
||||||
|
|
||||||
|
echo !arg! | findstr ":" >nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
set "arg=\!QUOTE!!arg!\!QUOTE!"
|
||||||
|
) else if "!arg:~0,1!"=="@" (
|
||||||
|
set "arg=\!QUOTE!@%~dp0!arg:~1!\!QUOTE!"
|
||||||
|
) else if "!arg:~0,5!"=="%%BIN%%" (
|
||||||
|
set "arg=\!QUOTE!!BIN_PATH!!arg:~5!\!QUOTE!"
|
||||||
|
) else if "!arg:~0,7!"=="%%LISTS%%" (
|
||||||
|
set "arg=\!QUOTE!!LISTS_PATH!!arg:~7!\!QUOTE!"
|
||||||
|
) else (
|
||||||
|
set "arg=\!QUOTE!%~dp0!arg!\!QUOTE!"
|
||||||
|
)
|
||||||
|
) else if "!arg:~0,12!" EQU "%%GameFilter%%" (
|
||||||
|
set "arg=%GameFilter%"
|
||||||
|
)
|
||||||
|
|
||||||
|
if !mergeargs!==1 (
|
||||||
|
set "temp_args=!temp_args!,!arg!"
|
||||||
|
) else if !mergeargs!==3 (
|
||||||
|
set "temp_args=!temp_args!=!arg!"
|
||||||
|
set "mergeargs=1"
|
||||||
|
) else (
|
||||||
|
set "temp_args=!temp_args! !arg!"
|
||||||
|
)
|
||||||
|
|
||||||
|
if "!arg:~0,2!" EQU "--" (
|
||||||
|
set "mergeargs=2"
|
||||||
|
) else if !mergeargs!==2 (
|
||||||
|
set "mergeargs=1"
|
||||||
|
) else if !mergeargs!==1 (
|
||||||
|
for %%x in (!args_with_value!) do (
|
||||||
|
if /i "%%x"=="!arg!" (
|
||||||
|
set "mergeargs=3"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
if not "!temp_args!"=="" (
|
||||||
|
set "args=!args! !temp_args!"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
:: Creating service with parsed args
|
||||||
|
set ARGS=%args%
|
||||||
|
echo Final args: !ARGS!
|
||||||
|
set SRVCNAME=zapret
|
||||||
|
|
||||||
|
net stop %SRVCNAME% >nul 2>&1
|
||||||
|
sc delete %SRVCNAME% >nul 2>&1
|
||||||
|
sc create %SRVCNAME% binPath= "\"%BIN_PATH%winws.exe\" %ARGS%" DisplayName= "zapret" start= auto
|
||||||
|
sc description %SRVCNAME% "Zapret DPI bypass software"
|
||||||
|
sc start %SRVCNAME%
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: CHECK UPDATES =======================
|
||||||
|
:service_check_updates
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
:: Set current version and URLs
|
||||||
|
set "GITHUB_VERSION_URL=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/main/.service/version.txt"
|
||||||
|
set "GITHUB_RELEASE_URL=https://github.com/Flowseal/zapret-discord-youtube/releases/tag/"
|
||||||
|
set "GITHUB_DOWNLOAD_URL=https://github.com/Flowseal/zapret-discord-youtube/releases/latest/download/zapret-discord-youtube-"
|
||||||
|
|
||||||
|
:: Get the latest version from GitHub
|
||||||
|
for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri \"%GITHUB_VERSION_URL%\" -Headers @{\"Cache-Control\"=\"no-cache\"} -TimeoutSec 5).Content.Trim()" 2^>nul') do set "GITHUB_VERSION=%%A"
|
||||||
|
|
||||||
|
:: Error handling
|
||||||
|
if not defined GITHUB_VERSION (
|
||||||
|
echo Warning: failed to fetch the latest version. Check your internet connection. This warning does not affect the operation of zapret
|
||||||
|
pause
|
||||||
|
if "%1"=="soft" exit /b
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
|
:: Version comparison
|
||||||
|
if "%LOCAL_VERSION%"=="%GITHUB_VERSION%" (
|
||||||
|
echo Latest version installed: %LOCAL_VERSION%
|
||||||
|
|
||||||
|
if "%1"=="soft" exit /b
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
|
echo New version available: %GITHUB_VERSION%
|
||||||
|
echo Release page: %GITHUB_RELEASE_URL%%GITHUB_VERSION%
|
||||||
|
|
||||||
|
set "CHOICE="
|
||||||
|
set /p "CHOICE=Do you want to automatically download the new version? (Y/N) (default: Y) "
|
||||||
|
if "%CHOICE%"=="" set "CHOICE=Y"
|
||||||
|
if /i "%CHOICE%"=="y" set "CHOICE=Y"
|
||||||
|
|
||||||
|
if /i "%CHOICE%"=="Y" (
|
||||||
|
echo Opening the download page...
|
||||||
|
start "" "%GITHUB_DOWNLOAD_URL%%GITHUB_VERSION%.rar"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if "%1"=="soft" exit /b
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: DIAGNOSTICS =========================
|
||||||
|
:service_diagnostics
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
:: AdguardSvc.exe
|
||||||
|
tasklist /FI "IMAGENAME eq AdguardSvc.exe" | find /I "AdguardSvc.exe" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintRed "[X] Adguard process found. Adguard may cause problems with Discord"
|
||||||
|
call :PrintRed "https://github.com/Flowseal/zapret-discord-youtube/issues/417"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "Adguard check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: Killer
|
||||||
|
sc query | findstr /I "Killer" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintRed "[X] Killer services found. Killer conflicts with zapret"
|
||||||
|
call :PrintRed "https://github.com/Flowseal/zapret-discord-youtube/issues/2512#issuecomment-2821119513"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "Killer check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: Check Point
|
||||||
|
set "checkpointFound=0"
|
||||||
|
sc query | findstr /I "TracSrvWrapper" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
set "checkpointFound=1"
|
||||||
|
)
|
||||||
|
|
||||||
|
sc query | findstr /I "EPWD" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
set "checkpointFound=1"
|
||||||
|
)
|
||||||
|
|
||||||
|
if !checkpointFound!==1 (
|
||||||
|
call :PrintRed "[X] Check Point services found. Check Point conflicts with zapret"
|
||||||
|
call :PrintRed "Try to uninstall Check Point"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "Check Point check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: SmartByte
|
||||||
|
sc query | findstr /I "SmartByte" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintRed "[X] SmartByte services found. SmartByte conflicts with zapret"
|
||||||
|
call :PrintRed "Try to uninstall or disable SmartByte through services.msc"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "SmartByte check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: VPN
|
||||||
|
sc query | findstr /I "VPN" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintYellow "[?] Some VPN services found. Some VPNs can conflict with zapret"
|
||||||
|
call :PrintYellow "Make sure that all VPNs are disabled"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "VPN check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: DNS
|
||||||
|
set "dnsfound=0"
|
||||||
|
for /f "skip=1 tokens=*" %%a in ('wmic nicconfig where "IPEnabled=true" get DNSServerSearchOrder /format:table') do (
|
||||||
|
echo %%a | findstr /i "192.168." >nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
set "dnsfound=1"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
if !dnsfound!==1 (
|
||||||
|
call :PrintYellow "[?] DNS servers are probably not specified."
|
||||||
|
call :PrintYellow "Provider's DNS servers are automatically used, which may affect zapret. It is recommended to install well-known DNS servers and setup DoH"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "DNS check passed"
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
:: Discord cache clearing
|
||||||
|
set "CHOICE="
|
||||||
|
set /p "CHOICE=Do you want to clear the Discord cache? (Y/N) (default: Y) "
|
||||||
|
if "!CHOICE!"=="" set "CHOICE=Y"
|
||||||
|
if "!CHOICE!"=="y" set "CHOICE=Y"
|
||||||
|
|
||||||
|
if /i "!CHOICE!"=="Y" (
|
||||||
|
tasklist /FI "IMAGENAME eq Discord.exe" | findstr /I "Discord.exe" > nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
echo Discord is running, closing...
|
||||||
|
taskkill /IM Discord.exe /F > nul
|
||||||
|
if !errorlevel! == 0 (
|
||||||
|
call :PrintGreen "Discord was successfully closed"
|
||||||
|
) else (
|
||||||
|
call :PrintRed "Unable to close Discord"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
set "discordCacheDir=%appdata%\discord"
|
||||||
|
|
||||||
|
for %%d in ("Cache" "Code Cache" "GPUCache") do (
|
||||||
|
set "dirPath=!discordCacheDir!\%%~d"
|
||||||
|
if exist "!dirPath!" (
|
||||||
|
rd /s /q "!dirPath!"
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
call :PrintGreen "Successfully deleted !dirPath!"
|
||||||
|
) else (
|
||||||
|
call :PrintRed "Failed to delete !dirPath!"
|
||||||
|
)
|
||||||
|
) else (
|
||||||
|
call :PrintRed "!dirPath! does not exist"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
echo:
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: GAME SWITCH ========================
|
||||||
|
:game_switch_status
|
||||||
|
chcp 437 > nul
|
||||||
|
|
||||||
|
set "gameFlagFile=%~dp0bin\game_filter.enabled"
|
||||||
|
|
||||||
|
if exist "%gameFlagFile%" (
|
||||||
|
set "GameFilterStatus=enabled"
|
||||||
|
set "GameFilter=1024-65535"
|
||||||
|
) else (
|
||||||
|
set "GameFilterStatus=disabled"
|
||||||
|
set "GameFilter=0"
|
||||||
|
)
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
|
:game_switch
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
if not exist "%gameFlagFile%" (
|
||||||
|
echo Enabling game filter...
|
||||||
|
echo ENABLED > "%gameFlagFile%"
|
||||||
|
call :PrintYellow "Restart the zapret to apply the changes"
|
||||||
|
) else (
|
||||||
|
echo Disabling game filter...
|
||||||
|
del /f /q "%gameFlagFile%"
|
||||||
|
call :PrintYellow "Restart the zapret to apply the changes"
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: IPSET SWITCH =======================
|
||||||
|
:ipset_switch_status
|
||||||
|
chcp 437 > nul
|
||||||
|
|
||||||
|
findstr /R "^0\.0\.0\.0/32$" "%~dp0lists\ipset-all.txt" >nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
set "IPsetStatus=empty"
|
||||||
|
) else (
|
||||||
|
set "IPsetStatus=loaded"
|
||||||
|
)
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
|
:ipset_switch
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
set "listFile=%~dp0lists\ipset-all.txt"
|
||||||
|
set "backupFile=%listFile%.backup"
|
||||||
|
|
||||||
|
findstr /R "^0\.0\.0\.0/32$" "%listFile%" >nul
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
echo Enabling ipset based bypass...
|
||||||
|
|
||||||
|
if exist "%backupFile%" (
|
||||||
|
del /f /q "%listFile%"
|
||||||
|
ren "%backupFile%" "ipset-all.txt"
|
||||||
|
) else (
|
||||||
|
echo Error: no backup to restore. Update list from service menu by yourself
|
||||||
|
)
|
||||||
|
|
||||||
|
) else (
|
||||||
|
echo Disabling ipset based bypass...
|
||||||
|
|
||||||
|
if not exist "%backupFile%" (
|
||||||
|
ren "%listFile%" "ipset-all.txt.backup"
|
||||||
|
) else (
|
||||||
|
del /f /q "%backupFile%"
|
||||||
|
ren "%listFile%" "ipset-all.txt.backup"
|
||||||
|
)
|
||||||
|
|
||||||
|
>"%listFile%" (
|
||||||
|
echo 0.0.0.0/32
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: IPSET UPDATE =======================
|
||||||
|
:ipset_update
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
set "listFile=%~dp0lists\ipset-all.txt"
|
||||||
|
set "url=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/refs/heads/main/lists/ipset-all.txt"
|
||||||
|
|
||||||
|
echo Updating ipset-all...
|
||||||
|
|
||||||
|
if exist "%SystemRoot%\System32\curl.exe" (
|
||||||
|
curl -L -o "%listFile%" "%url%"
|
||||||
|
) else (
|
||||||
|
powershell -Command ^
|
||||||
|
"$url = '%url%';" ^
|
||||||
|
"$out = '%listFile%';" ^
|
||||||
|
"$dir = Split-Path -Parent $out;" ^
|
||||||
|
"if (-not (Test-Path $dir)) { New-Item -ItemType Directory -Path $dir | Out-Null };" ^
|
||||||
|
"$res = Invoke-WebRequest -Uri $url -TimeoutSec 10 -UseBasicParsing;" ^
|
||||||
|
"if ($res.StatusCode -eq 200) { $res.Content | Out-File -FilePath $out -Encoding UTF8 } else { exit 1 }"
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Finished
|
||||||
|
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
:: Utility functions
|
||||||
|
|
||||||
|
:PrintGreen
|
||||||
|
powershell -Command "Write-Host \"%~1\" -ForegroundColor Green"
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
:PrintRed
|
||||||
|
powershell -Command "Write-Host \"%~1\" -ForegroundColor Red"
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
:PrintYellow
|
||||||
|
powershell -Command "Write-Host \"%~1\" -ForegroundColor Yellow"
|
||||||
|
exit /b
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
:: Admin rights check
|
|
||||||
echo Данный файл должен быть запущен с правами администратора (ПКМ - Запустить от имени администратора).
|
|
||||||
echo Нажмите любую клавишу, чтобы продолжить создание сервиса.
|
|
||||||
pause
|
|
||||||
|
|
||||||
set BIN=%~dp0bin\
|
|
||||||
set ARGS=--wf-tcp=443 --wf-udp=443,50000-65535 ^
|
|
||||||
--filter-udp=443 --hostlist=\"%~dp0list-discord.txt\" --dpi-desync=fake --dpi-desync-udplen-increment=10 --dpi-desync-repeats=6 --dpi-desync-udplen-pattern=0xDEADBEEF --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-udp=50000-65535 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-tcp=443 --hostlist=\"%~dp0list-discord.txt\" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=\"%BIN%tls_clienthello_www_google_com.bin\"
|
|
||||||
|
|
||||||
set SRVCNAME=zapret
|
|
||||||
|
|
||||||
net stop %SRVCNAME%
|
|
||||||
sc delete %SRVCNAME%
|
|
||||||
sc create %SRVCNAME% binPath= "\"%BIN%winws.exe\" %ARGS%" DisplayName= "zapret DPI bypass : %SRVCNAME%" start= auto
|
|
||||||
sc description %SRVCNAME% "zapret DPI bypass software"
|
|
||||||
sc start %SRVCNAME%
|
|
||||||
|
|
||||||
pause
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
:: Admin rights check
|
|
||||||
echo Данный файл должен быть запущен с правами администратора (ПКМ - Запустить от имени администратора).
|
|
||||||
echo Нажмите любую клавишу, чтобы продолжить создание сервиса.
|
|
||||||
pause
|
|
||||||
|
|
||||||
set BIN=%~dp0bin\
|
|
||||||
set ARGS=--wf-tcp=80,443 --wf-udp=443,50000-65535 ^
|
|
||||||
--filter-udp=443 --hostlist=\"%~dp0list-general.txt\" --dpi-desync=fake --dpi-desync-udplen-increment=10 --dpi-desync-repeats=6 --dpi-desync-udplen-pattern=0xDEADBEEF --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-udp=50000-65535 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-tcp=80 --hostlist=\"%~dp0list-general.txt\" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
|
|
||||||
--filter-tcp=443 --hostlist=\"%~dp0list-general.txt\" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=\"%BIN%tls_clienthello_www_google_com.bin\"
|
|
||||||
|
|
||||||
set SRVCNAME=zapret
|
|
||||||
|
|
||||||
net stop %SRVCNAME%
|
|
||||||
sc delete %SRVCNAME%
|
|
||||||
sc create %SRVCNAME% binPath= "\"%BIN%winws.exe\" %ARGS%" DisplayName= "zapret DPI bypass : %SRVCNAME%" start= auto
|
|
||||||
sc description %SRVCNAME% "zapret DPI bypass software"
|
|
||||||
sc start %SRVCNAME%
|
|
||||||
|
|
||||||
pause
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
:: Admin rights check
|
|
||||||
echo Данный файл должен быть запущен с правами администратора (ПКМ - Запустить от имени администратора).
|
|
||||||
echo Нажмите любую клавишу, чтобы продолжить создание сервиса.
|
|
||||||
pause
|
|
||||||
|
|
||||||
set BIN=%~dp0bin\
|
|
||||||
set ARGS=--wf-tcp=443 --wf-udp=443,50000-65535 ^
|
|
||||||
--filter-udp=443 --hostlist=\"%~dp0list-discord.txt\" --dpi-desync=fake --dpi-desync-udplen-increment=10 --dpi-desync-repeats=6 --dpi-desync-udplen-pattern=0xDEADBEEF --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-udp=50000-65535 --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-fake-quic=\"%BIN%quic_initial_www_google_com.bin\" --new ^
|
|
||||||
--filter-tcp=443 --hostlist=\"%~dp0list-discord.txt\" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls=\"%BIN%tls_clienthello_www_google_com.bin\"
|
|
||||||
|
|
||||||
set SRVCNAME=zapret
|
|
||||||
|
|
||||||
net stop %SRVCNAME%
|
|
||||||
sc delete %SRVCNAME%
|
|
||||||
sc create %SRVCNAME% binPath= "\"%BIN%winws.exe\" %ARGS%" DisplayName= "zapret DPI bypass : %SRVCNAME%" start= auto depend= "GoodbyeDPI"
|
|
||||||
sc description %SRVCNAME% "zapret DPI bypass software"
|
|
||||||
sc start %SRVCNAME%
|
|
||||||
|
|
||||||
pause
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
@echo off
|
|
||||||
chcp 65001 >nul
|
|
||||||
:: 65001 - UTF-8
|
|
||||||
|
|
||||||
:: Admin rights check
|
|
||||||
echo Данный файл должен быть запущен с правами администратора (ПКМ - Запустить от имени администратора).
|
|
||||||
echo Нажмите любую клавишу, чтобы продолжить удаление и остановку сервиса.
|
|
||||||
pause
|
|
||||||
|
|
||||||
set SRVCNAME=zapret
|
|
||||||
|
|
||||||
net stop %SRVCNAME%
|
|
||||||
sc delete %SRVCNAME%
|
|
||||||
|
|
||||||
pause
|
|
||||||
Reference in New Issue
Block a user