From 87b6724ae0b3cade3cd13a4a1c9ae3f88c0ebec7 Mon Sep 17 00:00:00 2001 From: Connection Refused Date: Mon, 20 Sep 2021 23:25:36 +0800 Subject: [PATCH] [GitHub CI] Fuck VirusTotal --- .github/workflows/build.yml | 20 -------------------- .github/workflows/release.yml | 7 ------- Redirector/EventHandler.cpp | 2 ++ 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17898219..46357dd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,26 +27,6 @@ jobs: run: | .\build.ps1 -Configuration Release -OutputPath release - - name: Package - shell: pwsh - run: | - 7z a -mx9 Netch.7z release - 7z rn Netch.7z release Netch - - - name: Checksum - shell: pwsh - run: | - $hash=(Get-FileHash Netch.7z -Algorithm SHA256).Hash.ToLower() - echo "$hash Netch.7z" - echo "NETCH_SHA256=$hash" | Out-File -Append -Encoding UTF8 -FilePath $Env:GITHUB_ENV - - - name: VirusTotal - uses: crazy-max/ghaction-virustotal@v2 - with: - vt_api_key: ${{ secrets.VIRUSTOTAL }} - files: | - Netch.7z - - name: Upload uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e60ddd9d..d31346a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,13 +43,6 @@ jobs: echo "$hash Netch.7z" echo "NETCH_SHA256=$hash" | Out-File -Append -Encoding UTF8 -FilePath $Env:GITHUB_ENV - - name: VirusTotal - uses: crazy-max/ghaction-virustotal@v2 - with: - vt_api_key: ${{ secrets.VIRUSTOTAL }} - files: | - Netch.7z - - name: Release uses: softprops/action-gh-release@v1 env: diff --git a/Redirector/EventHandler.cpp b/Redirector/EventHandler.cpp index a7d647bc..ed9d8046 100644 --- a/Redirector/EventHandler.cpp +++ b/Redirector/EventHandler.cpp @@ -1,5 +1,7 @@ #include "EventHandler.h" +#include "SocksHelper.h" + extern BOOL filterTCP; extern BOOL filterUDP; extern vector bypassList;