Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BanHammerYKT/4c6f3f74a6ea470bb36fbe571a9a63c1 to your computer and use it in GitHub Desktop.
Save BanHammerYKT/4c6f3f74a6ea470bb36fbe571a9a63c1 to your computer and use it in GitHub Desktop.
0.2.3rc3-24.09.22
@ECHO OFF
setlocal enableextensions enabledelayedexpansion
PUSHD "%~dp0"
set _arch=x86
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set _arch=x86_64)
IF DEFINED PROCESSOR_ARCHITEW6432 (set _arch=x86_64)
echo This script should be run with administrator privileges.
echo Right click - run as administrator.
echo Press any key if you're running it as administrator.
pause
set hex_chars=0123456789ABCDEF
set random_hex=
for /L %%b IN (1, 1, 116) do (
set /A rnd_index=!RANDOM! * 16 / 32768
for /F %%i in ('echo %%hex_chars:~!rnd_index!^,1%%') do set random_hex=!random_hex!%%i
)
sc stop "GoodbyeDPI"
sc delete "GoodbyeDPI"
sc create "GoodbyeDPI" binPath= "\"%CD%\%_arch%\goodbyedpi.exe\" -9 -e1 -q --fake-gen 29 --fake-from-hex "%random_hex%" --blacklist \"%CD%\russia-blacklist.txt\" --blacklist \"%CD%\russia-youtube.txt\"" start= "auto"
sc description "GoodbyeDPI" "Passive Deep Packet Inspection blocker and Active DPI circumvention utility"
sc start "GoodbyeDPI"
POPD
@BanHammerYKT
Copy link
Author

BanHammerYKT commented Sep 22, 2024

script for latest https://github.com/ValdikSS/GoodbyeDPI/releases/tag/0.2.3rc3
copy to same directory where cmd-scripts extracted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment