shunf4/proxychains-windows: Windows and Cygwin port of …
README | 简体中文文档
is a proxifier for Win32(Windows) or Cygwin/Msys2
programs. It hijacks most of the Win32 or Cygwin programs’ TCP
connection, making them through one or more SOCKS5 proxy(ies).
hooks network-related Winsock functions in
dynamically linked programs via injecting a DLL and redirects the
connections through SOCKS5 proxy(ies).
is a port or rewrite of
proxychains-ng to Win32 and
Cygwin. It also uses uthash
for some data structures and
minhook for API hooking.
is tested on Windows 10 x64 1909 (18363. 418), Windows 7
x64 SP1, Windows XP x86 SP3 and Cygwin 64-bit 3. 1. 2. Target OS should
have Visual C++ Redistributable for Visual Studio 2015
WARNING: ANONYMITY IS NOT GUARANTEED!
WARNING: this program works only on dynamically linked programs. Also
both and the program to call must be the same platform
and architecture (use to call x86 program,
to call x64 program; use Cygwin builds to call
WARNING: this program is based on hacks and is at its early development
stage. Any unexpected situation may happen during usage. The called
program may crash, not work, produce unwanted results etc. Be careful
when working with this tool.
WARNING: this program can be used to circumvent censorship. doing so
can be VERY DANGEROUS in certain countries. ALWAYS MAKE SURE THAT
WORKS AS EXPECTED BEFORE USING IT FOR
ANYTHING SERIOUS. This involves both the program and the proxy that
you’re going to use. For example, you can connect to some “what is my
ip” service like to make sure that it’s not using your real
ONLY USE IF YOU KNOW WHAT YOU’RE DOING. THE AUTHORS AND
MAINTAINERS OF PROXYCHAINS DO NOT TAKE ANY RESPONSIBILITY FOR ANY ABUSE
OR MISUSE OF THIS SOFTWARE AND THE RESULTING CONSEQUENCES.
Download the pre-built binaries from Release Page.
If you want to buid yourself…
First you need to clone this repository and run git submodule update –init –recursive in it to retrieve all submodules.
Open with a recent version Visual Studio (tested
with Visual Studio 2019) with platform toolset v141_xp on a 64-bit
Select the configuration (Debug/Release) and the platform (x86/x64).
Build the whole solution and you will see DLL file and executable file
generated under win32_output/.
Install Cygwin/Msys2 and various build tool packages (gcc,
w32api-headers, w32api-runtime etc). Run bash, switch to cygwin_build
/ msys_build directory and run make.
Copy proxychains*, [cyg/msys-]proxychains_hook* to some
directory included in your PATH environment variable. You can rename
the main executable (like) to names you
Last you need to create the needed configuration file in correct place.
looks for configuration in the following order:
file listed in environment variable PROXYCHAINS_CONF_FILE or provided
as a -f argument%USERPROFILE%. proxychains
(CSIDL_APPDATA)Proxychains (On modern Windows
versions, a typical path is C:Users
(CSIDL_COMMON_APPDATA)Proxychains (On modern
Windows versions, a typical path is C:ProgramDataProxychains)
as a -f argument
For options, see
proxychains ssh some-server
proxychains “Some Path”