Last active
January 23, 2026 22:50
-
-
Save muink/27c8b19156e142ae404265c18926c7ec to your computer and use it in GitHub Desktop.
Pcap_DNSProxy Launcher (Portable)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| :: Pcap_DNSProxy Launcher (Portable) | |
| :: To start Pcap_DNSProxy without service | |
| :: Author: muink | |
| :init | |
| pushd %~dp0 | |
| set "X64Pro=Pcap_DNSProxy\Pcap_DNSProxy.exe" | |
| set "X86Pro=Pcap_DNSProxy\Pcap_DNSProxy_x86.exe" | |
| set "XP_Pro=Pcap_DNSProxy\Pcap_DNSProxy_XP.exe" | |
| set "program=%X64Pro%" | |
| :main | |
| if "%processor_architecture%"=="x86" ( | |
| set "program=%X86Pro%" | |
| if exist "%windir%\SysWOW64" "%windir%\SysNative\cmd" /c %~f0&exit | |
| ) | |
| ver|findstr /l /i " 5.">nul&&set "program=%XP_Pro%" | |
| mshta vbscript:createobject("wscript.shell").run("%program%",0)(window.close) | |
| exit | |
| echo. | |
| echo.Pcap_DNSProxy | |
| echo.├── . | |
| echo.├── . | |
| echo.│ | |
| echo.├──Launcher.bat | |
| echo.│ | |
| echo.└──Pcap_DNSProxy | |
| echo. │ ├──Config.ini | |
| echo. │ ├──dnscrypt-resolvers.csv | |
| echo. │ ├──Hosts.ini | |
| echo. │ ├──IPFilter.ini | |
| echo. │ ├──Pcap_DNSProxy.exe | |
| echo. │ ├──Pcap_DNSProxy_x86.exe | |
| echo. │ ├──Pcap_DNSProxy_XP.exe | |
| echo. │ ├──Routing.txt | |
| echo. │ ├──ServiceControl.bat | |
| echo. │ └──WhiteList.txt | |
| echo. │ | |
| echo. └──Tools | |
| echo. ├──WinPcap_4.1.3.exe | |
| echo. │ | |
| echo. ├──Support | |
| echo. │ ├──CCase.exe | |
| echo. │ ├──curl.exe | |
| echo. │ ├──md5.exe | |
| echo. │ └──sed.exe | |
| echo. │ | |
| echo. ├──Update_Routing | |
| echo. │ ├──Log_Lib | |
| echo. │ ├──ReadMe.md | |
| echo. │ ├──ReadMe.zh-Hans.md | |
| echo. │ ├──ReadMe.zh-Hant.md | |
| echo. │ ├──Update.bat | |
| echo. │ ├──Update_Big5.bat | |
| echo. │ └──Update_GB2312.bat | |
| echo. │ | |
| echo. └──Update_WhiteList | |
| echo. └──Update_WhiteList.bat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment