From 942c4956b88473afa0a4e65c63cefbeed021a799 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 25 Feb 2026 14:33:38 +0300 Subject: [PATCH] github: rebase windivert.dll to >4gb to allow hi entropy aslr --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68d4b74..756c07b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -458,7 +458,8 @@ jobs: cp -a -t output psmisc/psmisc-*.src/psmisc-*/inst/usr/bin/killall.exe /usr/bin/cygwin1.dll && wget -O WinDivert.zip https://github.com/basil00/WinDivert/releases/download/v2.2.2/WinDivert-2.2.2-A.zip && unzip -j WinDivert.zip "*/${DIR}/WinDivert.dll" "*/${DIR}/WinDivert${BITS}.sys" -d output && - peflags --dynamicbase=true output/WinDivert.dll && + ( [ "$BITS" = 64 ] && rebase -b 0x205c00000 output/WinDivert.dll || true ) && + peflags --dynamicbase=true --high-entropy-va=true output/WinDivert.dll && zip zapret2-win-${{ matrix.arch }}.zip -j output/* - name: Upload artifacts