byedpi/dist/windows/service_install.bat

23 lines
635 B
Batchfile
Raw Normal View History

2024-04-23 15:48:37 +03:00
@echo off
title ByeDPI - Install Service
pushd "%~dp0"
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 svc_name="ByeDPI"
set svc_desc="Local SOCKS proxy server to bypass DPI (Deep Packet Inspection)."
:: Set up launch args (bypass methods) here.
2024-08-23 00:22:54 +03:00
set svc_bin="\"%cd%\ciadpi.exe\" --split 1 --disorder 3+s --mod-http=h,d --auto=torst --tlsrec 1+s"
2024-04-23 15:48:37 +03:00
sc stop %svc_name%
sc delete %svc_name%
sc create %svc_name% binPath= %svc_bin% start= "auto"
sc description %svc_name% %svc_desc%
sc start %svc_name%
popd
pause