mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-03-08 07:55:21 +00:00
Improved diagnostics (#6488)
This commit is contained in:
28
service.bat
28
service.bat
@@ -82,13 +82,18 @@ if !errorlevel!==0 (
|
||||
|
||||
call :test_service zapret
|
||||
call :test_service WinDivert
|
||||
|
||||
set "BIN_PATH=%~dp0bin\"
|
||||
if not exist "%BIN_PATH%\*.sys" (
|
||||
call :PrintRed "WinDivert64.sys file NOT found."
|
||||
)
|
||||
echo:
|
||||
|
||||
tasklist /FI "IMAGENAME eq winws.exe" | find /I "winws.exe" > nul
|
||||
if !errorlevel!==0 (
|
||||
call :PrintGreen "Bypass (winws.exe) is ACTIVE"
|
||||
call :PrintGreen "Bypass (winws.exe) is RUNNING."
|
||||
) else (
|
||||
call :PrintRed "Bypass (winws.exe) NOT FOUND"
|
||||
call :PrintRed "Bypass (winws.exe) is NOT running."
|
||||
)
|
||||
|
||||
pause
|
||||
@@ -373,6 +378,16 @@ if !proxyEnabled!==1 (
|
||||
)
|
||||
echo:
|
||||
|
||||
:: Check netsh
|
||||
where netsh >nul 2>nul
|
||||
if !errorlevel! neq 0 (
|
||||
call :PrintRed "[X] netsh command not found, check your PATH variable"
|
||||
echo PATH = "%PATH%"
|
||||
echo:
|
||||
pause
|
||||
goto menu
|
||||
)
|
||||
|
||||
:: TCP timestamps check
|
||||
netsh interface tcp show global | findstr /i "timestamps" | findstr /i "enabled" > nul
|
||||
if !errorlevel!==0 (
|
||||
@@ -448,6 +463,15 @@ if !errorlevel!==0 (
|
||||
)
|
||||
echo:
|
||||
|
||||
:: WinDivert64.sys file
|
||||
set "BIN_PATH=%~dp0bin\"
|
||||
if not exist "%BIN_PATH%\*.sys" (
|
||||
call :PrintRed "WinDivert64.sys file NOT found."
|
||||
) else (
|
||||
call :PrintGreen "WinDivert64.sys file found."
|
||||
)
|
||||
echo:
|
||||
|
||||
:: VPN
|
||||
sc query | findstr /I "VPN" > nul
|
||||
if !errorlevel!==0 (
|
||||
|
||||
Reference in New Issue
Block a user