Skip to content

Commit 77b7a86

Browse files
author
bol-van
committed
bundle
0 parents  commit 77b7a86

File tree

438 files changed

+18337
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

438 files changed

+18337
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto eol=lf
2+
readme.md eol=crlf
3+
*.cmd eol=crlf
4+
*.bat eol=crlf

.github/lockdown.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Lock issues and pull requests
2+
lock: true

arm64/WinDivert64.sys

77.9 KB
Binary file not shown.

arm64/install_arm64.cmd

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
@echo off
2+
3+
cd /d "%~dp0"
4+
setlocal enabledelayedexpansion
5+
6+
if [%1] == [install] goto :install
7+
8+
if %PROCESSOR_ARCHITECTURE%==ARM64 (
9+
FOR /F "tokens=1 skip=1 USEBACKQ" %%B IN (`wmic os get BuildNumber`) do set BUILD=!BUILD!%%B
10+
if defined BUILD (
11+
goto :build
12+
) else (
13+
echo could not get OS build number
14+
)
15+
) else (
16+
echo this works only on ARM64
17+
)
18+
goto :ex
19+
20+
:build
21+
echo OS build number %BUILD%
22+
if !BUILD! GEQ 22000 (
23+
"%~dp0..\tools\elevator" "%~dpf0" install
24+
goto :eof
25+
) else (
26+
echo only windows 11 or higher is supported
27+
)
28+
goto :ex
29+
30+
:install
31+
echo stopping windivert driver
32+
net stop windivert 2>nul
33+
echo setting testsigning on
34+
bcdedit /set {current} testsigning on
35+
echo replacing WinDivert64.sys with unsigned ARM64 version
36+
copy WinDivert64.sys ..\zapret-winws
37+
copy WinDivert64.sys ..\blockcheck\zapret\nfq
38+
echo copying ip2net and mdig
39+
copy ip2net.exe ..\blockcheck\zapret\ip2net
40+
copy mdig.exe ..\blockcheck\zapret\mdig
41+
echo DONE. now reboot if testsigning was not enabled earlier.
42+
43+
:ex
44+
pause

arm64/ip2net.exe

23 KB
Binary file not shown.

arm64/mdig.exe

119 KB
Binary file not shown.

blockcheck/blockcheck.cmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
3+
cd /d "%~dp0"
4+
FOR /F "tokens=* USEBACKQ" %%F IN (`..\cygwin\bin\cygpath -C OEM -a -m zapret\blog.sh`) DO (
5+
SET P='%%F'
6+
)
7+
8+
"%~dp0..\tools\elevator" ..\cygwin\bin\bash -i "%P%"

0 commit comments

Comments
 (0)