150 Commits
1.1.1 ... 1.6.5

Author SHA1 Message Date
Flowseal
553e967484 Version bump 2025-04-01 20:03:13 +03:00
Flowseal
3bc24b4271 Merge pull request #1845 from fridorin/main
Update tls_clienthello_www_google_com.bin and winws.exe
2025-04-01 20:01:10 +03:00
Flowseal
6e7a0332ed Merge pull request #1916 from V3nilla/main
Добавлен Cloudflare
2025-04-01 19:56:38 +03:00
lxstwxrden
60993af089 fix mistake 2025-04-01 12:25:41 +04:00
lxstwxrden
b7d7bf266c Cloudflare Fix 2025-04-01 11:43:36 +04:00
Flowseal
6d17b7e69d Update list-general.txt 2025-03-30 17:17:28 +03:00
Flowseal
0662981dda Merge pull request #1857 from burnedoutman/main
Update ipset-discord.txt
2025-03-29 18:20:58 +03:00
burnedoutman
6e870efff4 Update ipset-discord.txt
сегодня не подключалось аудио, нашёл в логах что ломилось на [2025-03-28 21:57:43.658] [info]  [Connection(default)] Creating connection to 35.217.63.43:50007 with audio ssrc: 208916
2025-03-29 02:09:17 +07:00
fridorin
4968f64202 Merge branch 'Flowseal:main' into main 2025-03-27 16:34:15 +03:00
Flowseal
04dd53e351 Merge pull request #1823 from kartavkun/main
add ffz and bttv
2025-03-27 11:30:30 +03:00
fridorin
351c000cb2 Update winws.exe
new version from 5a60c54094
2025-03-26 18:43:14 +03:00
fridorin
f4980f1a31 Update tls_clienthello_www_google_com.bin
new version from 5a60c54094
2025-03-26 18:42:47 +03:00
Kartav__
543591bf65 Update list-general.txt 2025-03-25 05:41:20 +00:00
Kartav__
facfbbc11a add ffz and bttv 2025-03-24 17:41:53 +00:00
Flowseal
ca9aee77d3 New strategy & Version bump 2025-03-20 18:27:29 +03:00
Flowseal
e668a2ca7f Merge pull request #1679 from fridorin/main
Update winws.exe
2025-03-19 20:00:19 +03:00
fridorin
f6af378b9c Update winws.exe 2025-03-19 18:46:02 +03:00
Flowseal
916f61d952 Заменена неправильная ссылка 2025-03-18 19:03:32 +03:00
Flowseal
0e320fe52d Update check_updates.bat (zip -> rar auto download) 2025-03-11 19:48:14 +03:00
Flowseal
99613c9423 Merge pull request #1512 from fridorin/main 2025-03-08 15:03:17 +03:00
Flowseal
7002b334a7 Update list-general.txt 2025-03-08 15:01:41 +03:00
Flowseal
30c8ce9b68 Update list-discord.txt 2025-03-08 15:01:22 +03:00
Flowseal
81cf594ae4 Removed message on service installing
As we can't guarantee that services were launched successfully
2025-03-08 14:48:31 +03:00
Flowseal
7aedfac35f Removed message on service deleting
As we can't guarantee that services were removed successfully
2025-03-08 14:45:42 +03:00
Flowseal
ef746381bd Fix for undefined version 2025-03-08 14:42:56 +03:00
fridorin
2b16cb4444 downgrade admin rights check
вернул все обратно из за https://github.com/Flowseal/zapret-discord-youtube/pull/1358
2025-03-01 12:54:12 +03:00
fridorin
cacdebc5d5 Update winws.exe
Обновлен bin/winws.exe из zapret-win-bundle/master
2025-03-01 12:51:56 +03:00
fridorin
23d47fd8b1 Update list-general.txt 2025-02-25 15:39:10 +03:00
fridorin
ec2b7c4b88 fix 2025-02-25 15:38:28 +03:00
fridorin
d20672ce27 Update ipset-discord.txt 2025-02-25 15:29:02 +03:00
fridorin
591c8fa785 hot fix
(
2025-02-24 20:41:04 +03:00
fridorin
d3e1c91e77 fix too 2025-02-24 20:14:54 +03:00
fridorin
f70fe5cb27 Enhancements
A more elegant stop
2025-02-24 20:14:42 +03:00
fridorin
f7a2220afd Enhancements
More elegant start-up
2025-02-24 20:14:27 +03:00
fridorin
6874c0e429 Added domains 2025-02-24 20:13:26 +03:00
fridorin
63ed7d76ca fix
Sorry, the perfectionist was in pain)
2025-02-24 20:11:16 +03:00
fridorin
7facdc039f Enhancements
The user is now guaranteed to get the current version information without complications
2025-02-24 20:08:39 +03:00
fridorin
642f6927ff Update binaries
Update from bol-van/zapret/releases/tag/v70.1
2025-02-24 20:07:08 +03:00
Flowseal
cae93c3cdf Merge pull request #1463 from amozebus/main
Обновление/улучшение README.md
2025-02-21 16:53:02 +03:00
амозебас
2c2b1ab779 Merge pull request #7 from amozebus/patch-4
Update README.md
2025-02-21 19:45:20 +06:00
амозебас
d0567cd698 Update README.md
Ссылки на топики
2025-02-21 19:44:49 +06:00
Flowseal
0b14284d2a version bump 2025-02-21 16:35:07 +03:00
Flowseal
dd278a1f71 Merge pull request #1415 from amozebus/update
Update winws.exe
2025-02-21 16:22:22 +03:00
Flowseal
03d2caac3c Merge pull request #1444 from amozebus/main
Обновление/улучшение README.md
2025-02-18 23:40:43 +03:00
амозебас
85fadd8e0c Merge pull request #6 from amozebus/patch-4
Update README.md
2025-02-18 19:14:47 +06:00
amozebus
46b4e3e4f0 Update README.md 2025-02-18 19:13:42 +06:00
Flowseal
5682cd1654 Merge pull request #1393 from amozebus/main
Обновление/улучшение README.md
2025-02-17 10:53:43 +03:00
амозебас
5d4ad427e4 Merge pull request #5 from amozebus/patch-4
Update README.md
2025-02-15 10:04:12 +06:00
amozebus
9bde74742a Update README.md 2025-02-15 09:56:05 +06:00
амозебас
87b12253cb Update winws.exe
Updated winws.exe from bol-van/zapret-win-bundle/zapret-winws
2025-02-13 22:41:50 +06:00
Flowseal
a43dcfb27c Merge pull request #1394 from serpen7/patch-1
Update ipset-discord.txt
2025-02-10 19:33:52 +03:00
Flowseal
f0f6c27180 Remove IP duplicate 2025-02-10 19:33:31 +03:00
serpen7
62ff4115b2 Update ipset-discord.txt
Добавлены 2 ИП адреса дискорда по клаудфлерю и дискорду
2025-02-10 14:56:30 +03:00
амозебас
dc7364db1b Merge branch 'main' into main 2025-02-10 17:33:42 +06:00
амозебас
5e9be26551 Merge pull request #4 from amozebus/patch-5
Update README.md
2025-02-09 16:56:27 +06:00
амозебас
bb2ba55bbf Update README.md
Изменения:
- косметические улучшения
- изменены названия некоторых секций
- убрана вся информация по Linux
- информация про антивирусы заменена на выдержку из [readme.md](https://github.com/bol-van/zapret-win-bundle/blob/master/readme.md#антивирусы) репозитория [bol-van/zapret-win-bundle](https://github.com/bol-van/zapret-win-bundle)
- переписана секция **Использование**
- изменено решение проблемы с подписью WinDivert на Windows 7
- прочие мелкие изменения
2025-02-09 16:53:27 +06:00
Flowseal
a7cf34c9ac Merge pull request #1369 from serpen7/patch-2
Small update to readme
2025-02-07 19:29:10 +03:00
serpen7
8072cb1ec9 Redone small update to Update README.md 2025-02-06 18:41:46 +03:00
Flowseal
4dcfd8e922 Merge pull request #1374 from amozebus/main
Обновление/улучшение README.md
2025-02-06 17:51:50 +03:00
serpen7
666f0aa25f Better small update to README.md 2025-02-06 10:48:41 +03:00
амозебас
f132879d28 Merge pull request #3 from amozebus/patch-3
Добавлена проблема цифровой подписи драйвера WinDivert на Windows 7 и её решение ([#1319](https://github.com/Flowseal/zapret-discord-youtube/issues/1319#issuecomment-2613979041)).
2025-02-06 03:59:18 +06:00
амозебас
609d9528dd Update README.md
Добавлена проблема цифровой подписи драйвера WinDivert на Windows 7 и её решение ([#1319](https://github.com/Flowseal/zapret-discord-youtube/issues/1319#issuecomment-2613979041)).
2025-02-06 03:58:20 +06:00
serpen7
5d4c1769c9 Update README.md 2025-02-05 16:49:36 +03:00
serpen7
8478f088eb Update README.md
дополнил чтобы люди не тешили себя что им нужно запускать только батник который у них "работал"
2025-02-05 16:46:41 +03:00
Flowseal
efbcb9000d Merge pull request #1234 from amozebus/main
Обновление/улучшение README.md
2025-02-02 21:40:17 +03:00
amozebus
db424b06de Update README.md
Добавлена отдельная благодарность разработчику порта для Linux: #697
2025-01-14 21:42:46 +06:00
amozebus
79eed2e5d2 Update README.md
Добавлено:

- Использование/Linux:

1. Упоминание порта от Sergeydigl3: #697

- Возможные проблемы/bat-файлы запускаются, но сервис(-ы) не работает(-ют):

1. Ссылка на руководство из оригинального репозитория

2. Ссылка на гайд/решение от serpen7: #765
2025-01-14 21:36:04 +06:00
amozebus
db24a54998 Update README.md
Небольшие правки
2025-01-14 09:09:55 +06:00
amozebus
92197db267 Update README.md
Добавлено:
- описания батников
- предупреждение об отсутствии функционала VPN
- небольшие улучшения
2025-01-13 23:44:47 +06:00
amozebus
0b7ed0c418 Update README.md 2025-01-13 03:43:11 +06:00
Flowseal
8a47e893ba removed service goodbyedpi support 2025-01-12 08:54:14 +03:00
Flowseal
7656ba101e v1.6.2 2025-01-12 08:49:07 +03:00
Flowseal
83938b448e alert if standalone bat runs with active service 2025-01-12 08:48:46 +03:00
Flowseal
5acf410906 better param's args handle 2025-01-12 08:01:10 +03:00
Flowseal
c8196c4837 year update 2025-01-12 07:54:42 +03:00
Flowseal
7a4dc12df5 binaries updated to the last version 2025-01-12 07:54:11 +03:00
Flowseal
b4b94022bc Merge pull request #1075 from serpen7/Update-README.md
Update README.md
2024-12-24 18:27:23 +03:00
serpen7
91a96c1357 Update README.md
Забыл поправить текст ссылок
2024-12-24 17:30:43 +03:00
serpen7
dcfa9fb11b Update README.md
Поправлены ссылки в ридми на линукс квик старт и ридми с репозитория болвана т.к. он менял схему своего репозитория по путям.
2024-12-24 17:18:42 +03:00
Flowseal
3044eb2076 Merge pull request #909 from Verity-Freedom/patch-1
Update check_updates.bat
2024-12-10 08:53:15 +03:00
Flowseal
54a0c0ccd7 Merge pull request #910 from ankddev/fix-typo-in-readme
docs: fix typos and mistakes in README
2024-12-10 08:52:36 +03:00
ANKDDEV
d7821cd125 docs: fix typos and mistakes in readme 2024-12-08 12:09:43 +03:00
Verity-Freedom
d663e14297 Update check_updates.bat 2024-12-08 11:09:19 +03:00
Flowseal
95fbabe968 typo 2024-11-24 13:03:06 +03:00
Flowseal
c42488b919 license mention in readme 2024-11-24 13:02:19 +03:00
Flowseal
2d512518f0 license 2024-11-24 12:59:58 +03:00
Flowseal
2a1764bf36 no-cache for update request 2024-11-12 23:19:55 +03:00
Flowseal
4cb8c01cda next ver
next ver
2024-11-12 23:09:48 +03:00
Flowseal
9d3cdd4aa0 Исправно экранирование 2024-11-12 23:05:02 +03:00
Flowseal
fce0da4d0e Updates checker and cmd not terminating after service finish 2024-11-11 17:18:37 +03:00
Flowseal
5befdc2ac5 versioning 2024-11-11 15:50:21 +03:00
Flowseal
3733e90d8f admin rights for some needed files 2024-11-08 15:35:47 +03:00
Flowseal
ac3b3b2ac3 Merge branch 'main' of https://github.com/Flowseal/zapret-discord-youtube 2024-11-06 11:59:44 +03:00
Flowseal
8cee6753ef added cloudflare-ech to lists 2024-11-06 11:59:34 +03:00
Flowseal
61ba1be7c2 Update README.md 2024-10-31 21:18:23 +03:00
Flowseal
b39ac56e47 Merge pull request #418 from burnedoutman/main
fix service name in service_install.bat
2024-10-26 03:19:25 +03:00
burnedoutman
2588cae778 fix service name service_install.bat 2024-10-26 04:40:21 +07:00
Flowseal
65867a16a3 Update README.md 2024-10-18 20:21:05 +03:00
Flowseal
4000d76a00 Update README.md 2024-10-18 20:20:57 +03:00
Flowseal
ad205dac20 Update README.md 2024-10-18 19:39:13 +03:00
Flowseal
c3ec1f731b removed debug echo 2024-10-18 19:20:59 +03:00
Flowseal
1a089e4282 critical bug fix for desync mode and fooling 2024-10-18 19:19:54 +03:00
Flowseal
af35c4027d typo 2024-10-18 17:19:56 +03:00
Flowseal
56f3710e23 Обновлён readme 2024-10-18 17:18:37 +03:00
Flowseal
8db968aa46 Изменён текст предупреждения 2024-10-18 17:15:32 +03:00
Flowseal
b5ca13a04d rules заменён на ipset (discord) от bol-van 2024-10-18 17:15:20 +03:00
Flowseal
a7b97856f7 Убрал лишние домены и добавил новые для ютуба 2024-10-18 16:53:22 +03:00
Flowseal
8edb8306e9 Обновлён winws с оригинального репозитория (сравнивайте хэш) 2024-10-18 16:47:25 +03:00
Flowseal
977561fde8 serivce installer now works with --wf-tcp and --wf-udp 2024-10-16 22:45:53 +03:00
Flowseal
e04dba7d79 reduced port range for discord 2024-10-16 21:45:03 +03:00
Flowseal
99ff02c2c2 removed rules list for alternative strategies 2024-10-16 21:38:32 +03:00
Flowseal
a62c3d661c Update README.md 2024-10-16 01:52:27 +03:00
Flowseal
60d73d68ae update Readme 2024-10-16 01:48:05 +03:00
Flowseal
5c35c8810c alternative strategies 2024-10-16 01:44:28 +03:00
Flowseal
75df64bfe5 added warning for goodbye service 2024-10-16 01:34:12 +03:00
Flowseal
5fd74d3546 remove unused arguments 2024-10-16 01:11:04 +03:00
Flowseal
0c0e6cf9bb removed unused arguments 2024-10-16 01:00:27 +03:00
Flowseal
06e825c1b2 service installer 2024-10-16 00:59:58 +03:00
Flowseal
078cec8c2e remove unused arguments 2024-10-16 00:59:50 +03:00
Ivan
b50d13ba5b changed stargazers to a different one (#304)
* changed stargazers to a different one

reason: dark box instead of image

* Update README.md

dark theme

---------

Co-authored-by: Flowseal <50780822+Flowseal@users.noreply.github.com>
2024-10-15 21:52:41 +03:00
gepron1x
d39d1050d9 Use custom windivert filter for discord (#294)
* Use custom windivert filter for discord

* Remove unnecessary %~dp0

* escape quotes
2024-10-15 02:53:51 +03:00
Flowseal
c08f4d41a5 update Readme 2024-10-13 13:23:10 +03:00
Flowseal
f2e015f3f9 discord_youtube -> general; some changes in strategies 2024-10-13 13:19:00 +03:00
Flowseal
31c4e02bb5 right 7tv hosts 2024-10-12 22:20:41 +03:00
Flowseal
d8f8edbd4c removed wrong hosts (may be missed smth) 2024-10-12 01:59:40 +03:00
Flowseal
a86fbb8db5 7tv (cuz a lot of use 7tv for twitch, so why not?) 2024-10-12 01:29:45 +03:00
Flowseal
c0b4799aa3 cutoff for 3 packets 2024-10-12 01:25:26 +03:00
Flowseal
6a4590eb9f Merge pull request #175 from Flowseal/dev
Dev merge
2024-10-11 17:55:57 +03:00
Flowseal
eacd75aab4 README.md update 2024-10-11 17:53:02 +03:00
KG7x
71b7a1776e Fixes (#106)
Работа из папок с пробелами
2024-10-11 17:35:27 +03:00
Ivan
a3105c53ba added caution and a few little mistakes removed (#173)
* added caution and a few little mistakes removed

* Update README.md

* fixed links

* Update README.md
2024-10-11 17:24:06 +03:00
Flowseal
35869efc15 removed tamper - useless desync mode (no dht) 2024-10-11 17:08:28 +03:00
Flowseal
eb8ad14c9a Update README.md 2024-10-10 19:30:38 +03:00
Flowseal
7d49ca64b6 Merge pull request #128 from prettyleaf/main
readme.md changes and added linux instruction
2024-10-10 19:30:05 +03:00
Ivan
4c030aa3f6 Update README.md 2024-10-10 23:29:06 +07:00
Ivan
5481cee6ae Update README.md 2024-10-10 22:00:55 +07:00
Flowseal
91806b7d52 Merge pull request #132 from 0ldCold/main
Update list-general.txt
2024-10-10 17:12:32 +03:00
Susskiy
30013d24fc Update list-general.txt 2024-10-10 21:00:26 +07:00
Ivan
fee6e215c1 copy-paste gone wrong 2024-10-10 19:17:00 +07:00
Ivan
850a45f92c Update README.md 2024-10-10 19:13:15 +07:00
Flowseal
b272b568cc Update README.md 2024-10-10 10:25:29 +03:00
Flowseal
59b1b04bca Merge pull request #107 from 70sh1/main
fix: admin privelege check in service bat files
2024-10-10 10:17:59 +03:00
70sh1
b6987156b7 fix: admin privelege check in service_remove.bat 2024-10-10 00:33:03 +03:00
70sh1
7fe7d96bcd fix: admin privelege check in service_goodbye_discord.bat 2024-10-10 00:32:42 +03:00
70sh1
82ec9f74aa fix: admin privelege check in service_discord_youtube.bat 2024-10-10 00:32:21 +03:00
70sh1
cb0380127a fix: admin privelege check in service_discord.bat 2024-10-10 00:31:52 +03:00
Flowseal
02faaa603d Update README.md 2024-10-09 22:24:19 +03:00
Flowseal
dcec818ee7 Update README.md 2024-10-09 19:10:18 +03:00
Flowseal
84f0ef6daa update Readme 2024-10-09 17:10:06 +03:00
Flowseal
c759219519 typo 2024-10-09 17:05:03 +03:00
29 changed files with 1366 additions and 230 deletions

0
.gitignore vendored Normal file
View File

1
.service/version.txt Normal file
View File

@@ -0,0 +1 @@
1.6.5

46
LICENSE.txt Normal file
View 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.

151
README.md
View File

@@ -1,28 +1,135 @@
# Zapret (обход блокировки Discord'а и Youtube'а)
<div align="center">
## Guide
Скачайте последний [релиз](https://github.com/Flowseal/zapret-discord-youtube/releases), разархивируйте в отдельную папку
# <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=15 /> Discord и <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=15 /> YouTube для Windows
- **`discord.bat`** - запустить обход дискорда
- **`discord_youtube.bat`** - запустить обход дискорда и ютуба
##
- **`service_discord.bat`** - запустить обход дискорда и поставить на автозапуск (в сервисах)
- **`service_discord_youtube.bat`** - запустить обход дискорда и ютуба и поставить на автозапуск (в сервисах)
##
- **`service_goodbye_discord.bat`** - запустить, если вы используете **СЕРВИС goodbyedpi**, и хотите, чтобы zapret обходил **только discord**. ВНИМАНИЕ: Запускать ПОСЛЕ создания сервиса goodbyedpi. Первый раз goodbyedpi может вылететь - просто перезапустите устройство!
##
- **`service_remove.bat`** - остановить и удалить сервисы выше
Альтернатива https://github.com/bol-van/zapret-win-bundle
</div>
## Не работает?
- Проверьте, запускаете ли вы файлы от имени администратора
- Не работает сервис? Проверьте, чтобы в пути до файла **не было пробелов** и русских символов
- Не работает вместе с VPN? Отключите функцию **TUN** (Tunneling) в настройках VPN
- Не работает `service_goodbye_discord`? Удостовертесь, что сервис goodbyedpi запущен и имеет название GoodbyeDPI. После снова запустите `service_goodbye_discord.bat` и перезапустите устройство
- Попробуйте обновить бинарники с оригинального репозитория
> [!CAUTION]
>
> ### АНТИВИРУСЫ
> 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)*
### Дополнительные адреса заблокированных сайтов можно добавить в список list-general.txt (для `*discord_youtube`). После добавления сервис нужно перезапустить
> [!IMPORTANT]
> Все файлы в папке [`bin`](./bin) взяты из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws). Вы можете это проверить с помощью хэшей/контрольных сумм.
### Оригинальный репозиторий
Credits to https://github.com/bol-van/zapret/tree/master/binaries/win64/zapret-winws
## ⚙️Использование
1. Загрузите архив (zip/rar) со [страницы последнего релиза](https://github.com/Flowseal/zapret-discord-youtube/releases/latest)
2. Распакуйте содержимое архива по пути, который не содержит кириллицу/спец. символы
3. Запустите нужный файл
## ℹ️Краткие описания файлов
- [**`discord.bat`**](./discord.bat) - запуск со стратегией для обхода блокировки <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=15 /> Discord
- [**`general.bat`**](./general.bat) - запуск со стратегией для обхода блокировок <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=15 /> Discord и <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=12 /> YouTube
- [**`service_install.bat`**](./service_install.bat) - установка на автозапуск (как службы Windows: `zapret`, `WinDivert`), можно выбрать любую стратегию (название файла стратегии **НЕ** должно начинаться со слова `service`)
- [**`service_remove.bat`**](./service_remove.bat) - остановка и удаление служб `zapret` и `WinDivert`
- [**`service_status.bat`**](./service_status.bat) - проверка состояния служб `zapret` и `WinDivert`
- [**`check_updates.bat`**](./check_updates.bat) - проверка обновлений
## ☑️Распространенные проблемы
### Не работает <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)
### Обход не работает
> [!IMPORTANT]
> **Стратегии блокировок со временем изменяются.**
> Определенная стратегия обхода zapret может работать какое-то время, но если меняется способ блокировки или обнаружения обхода блокировки, то она перестанет работать.
> В репозитории представлены множество различных стратегий для обхода. Если ни одна из них вам не помогает, то вам необходимо создать новую, взяв за основу одну из представленных здесь и изменив её параметры.
> Информацию про параметры стратегий вы можете найти [тут](https://github.com/bol-van/zapret/blob/master/docs/readme.md#nfqws).
- Проверьте другие стратегии (**`ALT`**/**`МГТС`**)
- Обновите файлы в папке [`bin`](./bin), взяв новые из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws)
- См. [#765](https://github.com/Flowseal/zapret-discord-youtube/issues/765)
### Файлы не запускаются
- См. [#522](https://github.com/Flowseal/zapret-discord-youtube/issues/522)
### Требуется цифровая подпись драйвера WinDivert (Windows 7)
- Замените файлы `WinDivert.dll` и `WinDivert64.sys` в папке [`bin`](./bin) на одноименные из [zapret-win-bundle/win7](https://github.com/bol-van/zapret-win-bundle/tree/master/win7)
### Не работает вместе с VPN
- Отключите функцию **TUN** (Tunneling) в настройках вашего VPN
### При удалении с помощью [**`service_remove.bat`**](./service_remove.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`](./list-general.txt) для файлов `general *.bat`
- [`list-discord.txt`](./list-discord.txt) для файла [`discord.bat`](./discord.bat)
> [!IMPORTANT]
> После обновления списка адресов zapret необходимо перезапустить.
## ⭐Поддержка проекта
Вы можете поддержать проект, поставив :star: этому репозиторию (сверху справа этой страницы)
Также, вы можете материально поддержать разработчика zapret [тут](https://github.com/bol-van/zapret/issues/590#issuecomment-2408866758)
<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>
## ⚖️Лицензирование
Проект распространяется на условиях лицензии [MIT](https://github.com/Flowseal/zapret-discord-youtube/blob/main/LICENSE.txt)
## 🩷Благодарность участникам проекта
[![Contributors](https://contrib.rocks/image?repo=Flowseal/zapret-discord-youtube)](https://github.com/Flowseal/zapret-discord-youtube/graphs/contributors)
💖 Отдельная благодарность разработчику [zapret](https://github.com/bol-van/zapret) - [bol-van](https://github.com/bol-van)

Binary file not shown.

Binary file not shown.

37
check_updates.bat Normal file
View File

@@ -0,0 +1,37 @@
@echo off
setlocal EnableDelayedExpansion
chcp 437 > nul
:: Set current version and URLs
set "LOCAL_VERSION=1.6.5"
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 Error: Failed to fetch the latest version. Check your internet connection
goto :EOF
)
:: Version comparison
if "%LOCAL_VERSION%"=="%GITHUB_VERSION%" (
echo Latest version installed: %LOCAL_VERSION%
) else (
echo New version available: %GITHUB_VERSION%
echo Release page: %GITHUB_RELEASE_URL%%GITHUB_VERSION%
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" (
echo Opening the download page...
start "" "%GITHUB_DOWNLOAD_URL%%GITHUB_VERSION%.rar"
)
)
if not "%1"=="soft" pause
endlocal

View File

@@ -1,21 +1,15 @@
@echo off
chcp 65001 >nul
chcp 65001 > nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
exit /b
)
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: discord" /min "%BIN%winws.exe" ^
--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,tamper --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"
start "zapret: discord" /min "%BIN%winws.exe" --wf-tcp=443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="list-discord.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-udp=50000-50100 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --new ^
--filter-tcp=443 --hostlist="list-discord.txt" --dpi-desync=fake,split --dpi-desync-autottl=2 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"

View File

@@ -1,22 +0,0 @@
@echo off
chcp 65001 >nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
exit /b
)
set BIN=%~dp0bin\
start "zapret: discord" /min "%BIN%winws.exe" ^
--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,tamper --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"

19
general (ALT).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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,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="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.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"

19
general (ALT2).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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=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="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.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"

19
general (ALT3).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8 --new ^
--filter-udp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=split --dpi-desync-split-pos=1 --dpi-desync-autottl --dpi-desync-fooling=badseq --dpi-desync-repeats=8

19
general (ALT4).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=8 --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-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
--filter-udp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"

19
general (ALT5).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
:: NOT RECOMMENDED
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --new ^
--filter-tcp=80 --hostlist="list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-l3=ipv4 --filter-tcp=443 --dpi-desync=syndata --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-udp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^

View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d4 --dpi-desync-repeats=8 --new ^
--filter-tcp=80 --hostlist="list-general.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=3 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --hostlist="list-general.txt" --dpi-desync=fake --dpi-desync-ttl=4 --dpi-desync-fake-tls-mod=rnd,rndsni,padencap --new ^
--filter-udp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=8 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=3 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-ttl=4 --dpi-desync-fake-tls-mod=rnd,rndsni,padencap

19
general (МГТС).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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 --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="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.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"

19
general (МГТС2).bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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 --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
--filter-udp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=md5sig --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"

19
general.bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
cd /d "%~dp0"
call service_status.bat zapret
call check_updates.bat soft
echo:
set BIN=%~dp0bin\
start "zapret: general" /min "%BIN%winws.exe" --wf-tcp=80,443 --wf-udp=443,50000-50100 ^
--filter-udp=443 --hostlist="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 --ipset="ipset-discord.txt" --dpi-desync=fake --dpi-desync-any-protocol --dpi-desync-cutoff=d3 --dpi-desync-repeats=6 --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,split --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="ipset-cloudflare.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
--filter-tcp=80 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split2 --dpi-desync-autottl=2 --dpi-desync-fooling=md5sig --new ^
--filter-tcp=443 --ipset="ipset-cloudflare.txt" --dpi-desync=fake,split --dpi-desync-autottl=2 --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin"

15
ipset-cloudflare.txt Normal file
View File

@@ -0,0 +1,15 @@
173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
162.158.0.0/15
104.16.0.0/13
104.24.0.0/14
172.64.0.0/13
131.0.72.0/22

722
ipset-discord.txt Normal file
View File

@@ -0,0 +1,722 @@
5.200.14.249
18.165.140.0/25
23.227.38.74
34.0.48.0/24
34.0.49.64/26
34.0.50.0/25
34.0.51.0/24
34.0.52.0/22
34.0.56.0/23
34.0.59.0/24
34.0.60.0/24
34.0.62.128/25
34.0.63.228
34.0.64.0/23
34.0.66.130
34.0.82.140
34.0.129.128/25
34.0.130.0/24
34.0.131.130
34.0.132.139
34.0.133.75
34.0.134.0/24
34.0.135.251
34.0.136.51
34.0.137.0/24
34.0.139.0/24
34.0.140.0/23
34.0.142.0/25
34.0.144.0/23
34.0.146.0/24
34.0.148.25
34.0.149.101
34.0.151.0/25
34.0.153.0/24
34.0.155.0/24
34.0.156.101
34.0.157.0/25
34.0.158.247
34.0.159.188
34.0.192.0/25
34.0.193.0/24
34.0.194.0/24
34.0.195.172
34.0.196.200/29
34.0.197.81
34.0.198.25
34.0.199.0/24
34.0.200.0/24
34.0.201.81
34.0.202.34
34.0.203.0/24
34.0.204.0/23
34.0.206.0/25
34.0.207.0/25
34.0.208.195
34.0.209.0/24
34.0.210.20
34.0.211.0/26
34.0.212.0/24
34.0.213.64/26
34.0.215.128/25
34.0.216.238
34.0.217.0/24
34.0.218.83
34.0.220.103
34.0.221.0/24
34.0.222.193
34.0.223.68
34.0.227.0/24
34.0.240.0/21
34.0.248.0/23
34.0.250.0/24
34.0.251.0/25
34.1.216.0/24
34.1.221.166
35.207.64.0/23
35.207.67.116
35.207.71.0/24
35.207.72.32
35.207.73.0/24
35.207.74.0/24
35.207.75.128/25
35.207.76.128/26
35.207.77.0/24
35.207.78.129
35.207.79.0/24
35.207.80.76
35.207.81.248/30
35.207.82.0/23
35.207.84.0/24
35.207.85.160
35.207.86.41
35.207.87.184
35.207.89.188
35.207.91.146
35.207.92.230
35.207.95.0/24
35.207.97.174
35.207.99.134
35.207.100.64/26
35.207.101.130
35.207.103.64/26
35.207.104.0/24
35.207.106.128/26
35.207.107.19
35.207.108.192/27
35.207.109.185
35.207.110.0/24
35.207.111.174
35.207.114.16
35.207.115.163
35.207.116.51
35.207.117.0/24
35.207.121.204
35.207.122.0/25
35.207.124.145
35.207.125.116
35.207.126.30
35.207.129.0/24
35.207.131.128/27
35.207.132.247
35.207.135.147
35.207.136.69
35.207.137.0/24
35.207.139.0/24
35.207.140.241
35.207.141.119
35.207.142.0/24
35.207.143.96/27
35.207.144.0/25
35.207.145.0/24
35.207.146.89
35.207.147.0/24
35.207.149.0/24
35.207.150.0/24
35.207.151.61
35.207.153.117
35.207.154.0/24
35.207.155.128/25
35.207.156.254
35.207.157.7
35.207.158.192
35.207.160.160
35.207.162.239
35.207.163.0/24
35.207.164.0/25
35.207.165.147
35.207.166.0/25
35.207.167.0/24
35.207.168.116
35.207.170.0/23
35.207.172.0/24
35.207.174.55
35.207.176.128/25
35.207.178.0/24
35.207.180.152
35.207.181.76
35.207.182.125
35.207.184.101
35.207.185.192
35.207.186.128/25
35.207.187.228
35.207.188.0/24
35.207.189.0/25
35.207.190.194
35.207.191.64/26
35.207.193.165
35.207.195.75
35.207.196.0/24
35.207.198.0/23
35.207.201.186
35.207.202.169
35.207.205.211
35.207.207.4
35.207.209.0/25
35.207.210.191
35.207.211.253
35.207.213.97
35.207.214.0/24
35.207.220.147
35.207.221.58
35.207.222.105
35.207.224.151
35.207.225.210
35.207.227.0/24
35.207.229.212
35.207.232.26
35.207.234.182
35.207.238.0/24
35.207.240.0/24
35.207.245.0/24
35.207.249.0/24
35.207.250.212
35.207.251.0/27
35.212.4.134
35.212.12.148
35.212.88.11
35.212.102.50
35.212.111.0/26
35.212.117.247
35.212.120.122
35.213.0.0/24
35.213.2.8
35.213.4.185
35.213.6.118
35.213.7.128/25
35.213.8.168
35.213.10.0/24
35.213.11.21
35.213.12.224/27
35.213.13.19
35.213.14.217
35.213.16.67
35.213.17.235
35.213.23.166
35.213.25.164
35.213.26.62
35.213.27.252
35.213.32.0/24
35.213.33.74
35.213.34.204
35.213.37.81
35.213.38.186
35.213.39.253
35.213.42.0/24
35.213.43.79
35.213.45.0/24
35.213.46.136
35.213.49.17
35.213.50.0/24
35.213.51.213
35.213.52.0/25
35.213.53.0/24
35.213.54.0/24
35.213.56.0/25
35.213.59.0/24
35.213.61.58
35.213.65.0/24
35.213.67.0/24
35.213.68.192/26
35.213.70.151
35.213.72.128/25
35.213.73.245
35.213.74.131
35.213.78.0/24
35.213.79.137
35.213.80.0/25
35.213.83.128/25
35.213.84.245
35.213.85.0/24
35.213.88.145
35.213.89.80/28
35.213.90.0/24
35.213.91.195
35.213.92.0/24
35.213.93.254
35.213.94.78
35.213.95.145
35.213.96.87
35.213.98.0/24
35.213.99.126
35.213.101.214
35.213.102.0/24
35.213.105.0/24
35.213.106.128/25
35.213.107.158
35.213.109.0/24
35.213.110.40
35.213.111.0/25
35.213.115.0/25
35.213.120.0/24
35.213.122.0/24
35.213.124.89
35.213.125.40
35.213.126.185
35.213.127.0/24
35.213.128.0/22
35.213.132.0/23
35.213.134.140
35.213.135.0/24
35.213.136.0/23
35.213.138.128/25
35.213.139.0/24
35.213.140.0/25
35.213.141.164
35.213.142.128/25
35.213.143.0/24
35.213.144.0/22
35.213.148.0/23
35.213.150.0/24
35.213.152.0/23
35.213.154.137
35.213.155.134
35.213.156.144
35.213.157.0/24
35.213.158.64/26
35.213.160.90
35.213.161.253
35.213.162.0/25
35.213.163.0/24
35.213.164.0/23
35.213.166.106
35.213.167.160/27
35.213.168.0/24
35.213.169.179
35.213.170.0/24
35.213.171.201
35.213.172.159
35.213.173.0/24
35.213.174.128/25
35.213.175.128/26
35.213.176.0/24
35.213.177.0/25
35.213.179.139
35.213.180.0/24
35.213.181.0/25
35.213.182.0/23
35.213.184.0/23
35.213.186.70
35.213.187.0/24
35.213.188.128/25
35.213.190.158
35.213.191.0/24
35.213.192.240/31
35.213.193.74
35.213.194.0/25
35.213.195.178
35.213.196.38
35.213.197.68
35.213.198.0/23
35.213.200.0/23
35.213.202.0/25
35.213.203.195
35.213.204.32/27
35.213.205.170
35.213.207.128/25
35.213.208.85
35.213.210.0/24
35.213.211.176/29
35.213.212.0/24
35.213.213.225
35.213.214.0/25
35.213.215.255
35.213.217.0/24
35.213.218.248
35.213.219.0/25
35.213.220.211
35.213.221.0/24
35.213.222.215
35.213.223.0/24
35.213.225.0/24
35.213.227.227
35.213.229.17
35.213.230.89
35.213.231.0/24
35.213.233.0/24
35.213.234.134
35.213.236.0/24
35.213.237.212
35.213.238.0/24
35.213.240.212
35.213.241.0/24
35.213.242.10
35.213.243.219
35.213.244.146
35.213.245.119
35.213.246.0/23
35.213.249.79
35.213.250.0/24
35.213.251.74
35.213.252.0/24
35.213.253.155
35.213.254.89
35.214.128.248
35.214.129.220
35.214.130.217
35.214.131.144
35.214.132.189
35.214.133.0/24
35.214.134.163
35.214.137.0/24
35.214.138.0/25
35.214.140.0/24
35.214.142.0/24
35.214.143.41
35.214.144.26
35.214.145.200
35.214.146.9
35.214.147.135
35.214.148.89
35.214.149.110
35.214.151.128/25
35.214.152.0/24
35.214.156.115
35.214.158.181
35.214.159.128/25
35.214.160.128/25
35.214.161.217
35.214.162.0/24
35.214.163.28
35.214.165.102
35.214.167.77
35.214.169.0/24
35.214.170.2
35.214.171.0/25
35.214.172.128/25
35.214.173.0/24
35.214.175.0/24
35.214.177.183
35.214.179.46
35.214.180.0/23
35.214.184.179
35.214.185.28
35.214.186.3
35.214.187.0/24
35.214.191.0/24
35.214.192.128/25
35.214.193.0/24
35.214.194.128/25
35.214.195.0/25
35.214.196.64/26
35.214.197.0/24
35.214.198.7
35.214.199.224
35.214.201.0/25
35.214.203.155
35.214.204.0/23
35.214.207.0/24
35.214.208.128/25
35.214.209.64
35.214.210.0/24
35.214.211.3
35.214.212.64/26
35.214.213.0/25
35.214.214.0/24
35.214.215.64/26
35.214.216.0/23
35.214.218.140
35.214.219.0/24
35.214.220.149
35.214.221.0/24
35.214.222.149
35.214.223.0/24
35.214.224.71
35.214.225.0/24
35.214.226.0/23
35.214.228.0/23
35.214.231.187
35.214.233.8
35.214.235.38
35.214.237.0/24
35.214.238.0/25
35.214.239.0/24
35.214.240.87
35.214.241.0/24
35.214.243.21
35.214.244.0/24
35.214.245.16/28
35.214.246.106
35.214.248.119
35.214.249.154
35.214.250.0/24
35.214.251.128/25
35.214.252.187
35.214.253.0/24
35.214.255.154
35.215.72.85
35.215.73.65
35.215.83.0
35.215.108.111
35.215.115.120
35.215.126.35
35.215.127.34
35.215.128.0/21
35.215.136.0/26
35.215.137.0/24
35.215.138.0/23
35.215.140.0/24
35.215.141.64/27
35.215.142.0/24
35.215.143.83
35.215.144.128/25
35.215.145.0/24
35.215.146.0/24
35.215.147.86
35.215.148.0/23
35.215.150.0/26
35.215.151.0/24
35.215.152.0/24
35.215.153.128/25
35.215.154.240/28
35.215.155.20
35.215.156.0/24
35.215.158.0/23
35.215.160.192/26
35.215.161.0/24
35.215.163.0/24
35.215.164.0/24
35.215.165.236
35.215.166.128/25
35.215.167.128/25
35.215.168.0/24
35.215.169.12
35.215.170.0/23
35.215.172.0/22
35.215.176.0/24
35.215.177.72
35.215.178.0/24
35.215.179.161
35.215.180.0/22
35.215.184.253
35.215.185.64/26
35.215.186.0/25
35.215.187.0/24
35.215.188.0/23
35.215.190.0/24
35.215.191.61
35.215.192.0/23
35.215.194.192/28
35.215.195.0/24
35.215.196.0/25
35.215.197.0/25
35.215.198.230
35.215.199.204
35.215.200.0/23
35.215.202.0/24
35.215.203.0/25
35.215.204.128/25
35.215.205.0/25
35.215.206.0/23
35.215.208.0/24
35.215.209.0/25
35.215.210.0/23
35.215.212.0/22
35.215.216.0/22
35.215.221.0/24
35.215.222.128/25
35.215.223.126
35.215.224.0/23
35.215.226.0/24
35.215.227.0/25
35.215.228.0/24
35.215.229.64
35.215.230.89
35.215.231.0/24
35.215.232.0/24
35.215.233.0/25
35.215.234.37
35.215.235.0/24
35.215.238.0/25
35.215.239.119
35.215.240.0/24
35.215.241.128/25
35.215.242.0/25
35.215.243.0/24
35.215.244.0/23
35.215.246.222
35.215.247.0/24
35.215.248.0/22
35.215.252.0/24
35.215.253.118
35.215.254.0/23
35.217.0.0/24
35.217.1.64/26
35.217.2.5
35.217.3.0/24
35.217.4.72
35.217.5.0/25
35.217.6.0/24
35.217.8.0/25
35.217.9.0/24
35.217.11.186
35.217.12.0/24
35.217.14.192/26
35.217.15.65
35.217.16.75
35.217.17.128/25
35.217.18.0/24
35.217.19.183
35.217.20.0/24
35.217.21.128/25
35.217.22.128/25
35.217.23.128/25
35.217.24.0/24
35.217.25.81
35.217.26.0/24
35.217.27.128/25
35.217.28.128/25
35.217.29.0/24
35.217.30.0/25
35.217.31.0/25
35.217.32.128/25
35.217.33.0/24
35.217.35.128/25
35.217.36.0/23
35.217.38.179
35.217.39.186
35.217.40.176
35.217.41.204
35.217.43.0/24
35.217.45.248
35.217.46.0/24
35.217.47.128/25
35.217.48.195
35.217.49.160/27
35.217.50.0/25
35.217.51.0/24
35.217.52.117
35.217.53.128/25
35.217.54.0/25
35.217.55.96/27
35.217.56.6
35.217.57.184
35.217.58.0/24
35.217.59.64/26
35.217.60.0/24
35.217.61.128/25
35.217.62.0/24
35.217.63.128/24
35.219.225.149
35.219.226.57
35.219.227.0/24
35.219.228.37
35.219.229.128/25
35.219.230.0/23
35.219.235.0/24
35.219.236.198
35.219.238.115
35.219.239.0/24
35.219.241.0/24
35.219.242.221
35.219.243.191
35.219.244.1
35.219.245.0/24
35.219.246.159
35.219.247.0/26
35.219.248.0/24
35.219.249.126
35.219.251.186
35.219.252.0/23
35.219.254.0/24
64.233.161.207
64.233.162.207
64.233.163.207
64.233.164.207
64.233.165.207
66.22.196.0/26
66.22.197.0/24
66.22.198.0/26
66.22.199.0/24
66.22.200.0/26
66.22.202.0/26
66.22.204.0/24
66.22.206.0/24
66.22.208.0/25
66.22.210.0/26
66.22.212.0/24
66.22.214.0/24
66.22.216.0/23
66.22.220.0/25
66.22.221.0/24
66.22.222.0/23
66.22.224.0/25
66.22.225.0/26
66.22.226.0/25
66.22.227.0/25
66.22.228.0/22
66.22.233.0/24
66.22.234.0/24
66.22.236.0/23
66.22.238.0/24
66.22.240.0/22
66.22.244.0/23
66.22.248.0/24
74.125.131.207
74.125.205.207
104.17.51.93
104.17.117.93
104.18.4.161
104.18.5.161
104.18.8.105
104.18.9.105
104.18.30.128
104.18.31.128
104.21.2.204
104.21.25.51
104.21.40.151
104.21.59.128
104.21.72.221
104.21.82.160
108.177.14.207
138.128.140.240/28
142.250.150.207
142.251.1.207
162.159.128.232/30
162.159.129.232/30
162.159.130.232/30
162.159.133.232/30
162.159.134.232/30
162.159.135.232/30
162.159.136.232/30
162.159.137.232/30
162.159.138.232/30
172.65.202.19
172.66.41.34
172.66.42.222
172.67.152.224/28
172.67.155.163
172.67.159.89
172.67.177.131
172.67.222.182
173.194.73.207
173.194.220.207
173.194.221.207
173.194.222.207
188.114.96.2
188.114.97.2
188.114.98.224
188.114.99.224
204.11.56.48
209.85.233.207
34.126.226.51

View File

@@ -1,25 +1,25 @@
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
cloudflare-ech.com
dis.gd
discord.co
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.status
discord.store
discordapp.com
discordapp.net
discordcdn.com
discordmerch.com
discordpartygames.com
discordsays.com
discordsez.com
discord-activities.com
discordactivities.com
stable.dl2.discordapp.net

View File

@@ -1,31 +1,44 @@
googlevideo.com
youtu.be
youtube.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
cloudflare-ech.com
dis.gd
discord-attachments-uploads-prd.storage.googleapis.com
discord.app
discord.co
discord-attachments-uploads-prd.storage.googleapis.com
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
ggpht.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

View File

@@ -1,34 +0,0 @@
@echo off
chcp 65001 >nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
exit /b
)
:: 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,tamper --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 : winws1" start= auto
sc description "%SRVCNAME%" "zapret DPI bypass software"
sc start "%SRVCNAME%"
pause

View File

@@ -1,35 +0,0 @@
@echo off
chcp 65001 >nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
exit /b
)
:: 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,tamper --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 : winws1" start= auto
sc description "%SRVCNAME%" "zapret DPI bypass software"
sc start "%SRVCNAME%"
pause

View File

@@ -1,34 +0,0 @@
@echo off
chcp 65001 >nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
exit /b
)
:: 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,tamper --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 : winws1" start= auto depend= "GoodbyeDPI"
sc description "%SRVCNAME%" "zapret DPI bypass software"
sc start "%SRVCNAME%"
pause

122
service_install.bat Normal file
View File

@@ -0,0 +1,122 @@
@echo off
setlocal EnableDelayedExpansion
chcp 65001 > nul
:: 65001 - UTF-8
:: Admin rights check
if "%1"=="admin" (
echo Started with admin rights
) else (
echo Requesting admin rights...
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
)
:: Main
cd /d "%~dp0"
set BIN_PATH=%~dp0bin\
:: Checking for updates
call check_updates.bat soft
echo:
:: 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" if /i not "!filename:~0,13!"=="check_updates" (
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 Wrong choice, exiting...
pause
goto :eof
)
:: Parsing args (mergeargs: 2=start param|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 (
set "arg=\!QUOTE!%~dp0!arg!\!QUOTE!"
)
)
if !mergeargs!==1 (
set "temp_args=!temp_args!,!arg!"
) else (
set "temp_args=!temp_args! !arg!"
)
if "!arg:~0,2!" EQU "--" (
set "mergeargs=2"
) else if !mergeargs!==2 (
set "mergeargs=1"
)
)
)
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
endlocal

View File

@@ -1,25 +1,24 @@
@echo off
chcp 65001 >nul
chcp 65001 > nul
:: 65001 - UTF-8
:: Path check
set scriptPath=%~dp0
set "path_no_spaces=%scriptPath: =%"
if not "%scriptPath%"=="%path_no_spaces%" (
echo Путь содержит пробелы.
echo Пожалуйста, переместите скрипт в директорию без пробелов.
pause
if "%1"=="admin" (
echo Started with admin rights
) else (
echo Requesting admin rights...
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
)
:: Admin rights check
echo Данный файл должен быть запущен с правами администратора (ПКМ -> Запустить от имени администратора).
echo Нажмите любую клавишу, чтобы продолжить создание сервиса.
pause
set SRVCNAME=zapret
net stop "%SRVCNAME%"
sc delete "%SRVCNAME%"
net stop %SRVCNAME%
sc delete %SRVCNAME%
pause
net stop "WinDivert"
sc delete "WinDivert"
net stop "WinDivert14"
sc delete "WinDivert14"
pause
endlocal

34
service_status.bat Normal file
View File

@@ -0,0 +1,34 @@
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
if "%~1"=="" (
call :test_service zapret
call :test_service WinDivert
pause
) else (
call :test_service "%~1" "soft"
)
exit /b
: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 "serivce_remove.bat" first if you want to run standalone bat.
pause
) else (
echo "%ServiceName%" service is RUNNING.
)
) else if not "%~2"=="soft" (
echo "%ServiceName%" is NOT running.
)
exit /b