A Python script to check the accessibility of various websites while using the GoodbyeDPI or zapret projects. The script tests the availability of websites by launching GoodbyeDPI / zapret, which are tools that helps bypass blocking restrictions.
Before running the script, ensure that:
- GoodbyeDPI/zapret service is not running on the system.
- Any VPNs or similar services are disabled to obtain accurate results.
- Note: the zapret service on Linux is restarted by this script automatically, so stopping it before running the script is not necessary
- Tests a predefined list of websites to determine if they are accessible
- Logs the results to a text file
This script is inspired by another project found at NTC Party.
pip install -r requirements.txt
- Clone this repository to your local machine:
git clone https://github.com/ChronoMonochrome/DPI_Blockcheck cd DPI_Blockcheck
- If cloning this repo first time, run
python download_files.py
. The required files will be downloaded to bin folder. - Run blockcheck.py (e.g. from cmd.exe) with admin privileges:
python blockcheck.py --tool=zapret
orpython blockcheck.py --tool=goodbyedpi
- To test your current configuration without stopping the system service, enable GoodbyeDPI/zapret service and use --tool=none
- Run
python parse_log.py -i log_file.txt -o dist
to generate configs for the given sites set in the log file (only zapret / win64 is supported)