Warning
Currently zapret may not work for some users
This build includes files from original repository, custom pre-configs for fixing YouTube, Discord, Viber or other services in Russia and some useful utilities, written in Go.
You can download this build from releases or GitHub Actions.
You can update this build by running Check for updates.exe
. It will check for updates and download them if available.
- Disable all VPNs, Zapret, GoodbyeDPI, Warp and other similar software
- Unzip downloaded archive
- Go to "pre-configs" folder
- Run one of BAT files in this folder
- UltimateFix or GeneralFix - Discord, YouTube and selected domains
- DiscordFix - Discord
- YouTubeFix - YouTube
- ViberFix - Viber
- Enjoy it!
Tip
Also you can run file Run pre-config.exe
and select pre-config to run
To add fix to autorun, start Add to autorun.exe
and select one of presented BAT files. To delete from autorun, start this file and select Delete service from autorun
option.
You can add your own domains to list-ultimate.txt
or you can use special utility for this. Start file Set domain list.exe
and select all options you want, then select Save list
and press ENTER.
List russia-blacklist.txt
contains all known blocked sites in Russia.
Firstly, check all pre-configs or run Automatically search pre-config.exe
. If this doesn't help you, use BLOCKCHECK.
- Run
blockcheck.cmd
- Enter domain to check
- Ip protocol version is
4
- Check
HTTP
,HTTPS 1.2
,HTTPS 1.3
andHTTP3 QUIC
(enterY
for these entries) - Not verify certificates (enter
N
) - Retry test 1 or 2 times
- Connection mode is
2
- Wait
- You will see
* SUMMARY
andpress enter to continue
. Close this window - Open
blockcheck.log
in text editor - Find
* SUMMARY
line in the end - There you will find arguments to winws, for example
winws --wf-l3=ipv4 --wf-tcp=80 --dpi-desync=split2 --dpi-desync-split-http-req=host
- Also working strategies marked with
!!!!! AVAILABLE !!!!!
- Create file
custom.bat
(or anything else) and fill it using other pre-configs as example - Run
custom.bat
Unzip archive before starting. Also, your antivirus may block or delete it, please disable it or add fix folder to excluded folders.
- Stop service and delete from autorun
- Close winws.exe window
- Stop and clean WinDivert
- Delete folders
- Check if WinDivert exists
- Run this:
sc stop windivert
sc delete windivert
sc stop windivert14
sc delete windivert14
- Run fix again
In this build there are no viruses, if you downloaded it from https://github.com/ankddev/zapret-discord-youtube/releases. If your antivirus detects viruses, please disable it or add fix folder to excluded folders. Here is description about viruses: bol-van/zapret#393
Run this:
sc stop WinDivert
sc delete WinDivert
Check this.
- codewars-api-rs - Rust library for Codewars API
- conemu-progressbar-go - Progress bar for ConEmu for Go
- envfetch - Lightweight crossplatform CLI tool for working with environment variables
- terminal-go - Go library for working with ANSI/VT terminal sequences
- Fork this repo
- Clone your fork
- Create new branch
- Make changes
- Lint and format code
go fmt .\...
- Create pull request
To build this run this:
scripts\build.bat
This will generate binaries and zip archive in build
folder.
This project is separated in few folders:
bin
contains pre-built binaries from original repositorypre-configs
contains pre-configs (BAT files)lists
contains lists of domains to work withresources
containsblockcheck.cmd
filescripts
contains scripts for building and creating release archivecmd
contains source code for utilitiesadd_to_autorun
contains code for utility that helps you to add fix to autorunselect_domains
contains source code for util that helps you to select domains for DPIpreconfig_tester
helps you to test pre-configsrun_preconfig
helps to run pre-configscheck_for_updates
contains code for utility that checks if updates of fix available and downloads it