Navigate:
All Reposproxychains
~$PROXYC0.1%

ProxyChains: TCP connection proxy redirection tool

Force TCP connections through chained SOCKS/HTTP proxies via LD_PRELOAD.

LIVE RANKINGS • 06:52 AM • STEADY
OVERALL
#201
19
NETWORKING
#6
30 DAY RANKING TREND
ovr#201
·Netwo#6
STARS
7.6K
FORKS
676
DOWNLOADS
7D STARS
+5
7D FORKS
0
See Repo:
Share:

Learn more about proxychains

ProxyChains is a Unix utility that redirects TCP connections through proxy servers by hooking network-related libc functions in dynamically linked programs. It works by preloading a shared library that intercepts calls to connection functions, allowing traffic to be routed through SOCKS4a, SOCKS5, or HTTP proxies. The tool supports proxy chaining, mixing different proxy types in sequence, and includes built-in DNS resolution through proxies. It operates only on dynamically linked binaries that share the same libc as the ProxyChains installation, and requires no modifications to target applications.

proxychains

1

Proxy chain mixing

Supports combining multiple proxy types in a single chain, such as SOCKS5 followed by HTTP followed by SOCKS4, allowing flexible routing through heterogeneous proxy infrastructure.

2

Dynamic DNS resolution

Performs DNS lookups through the proxy chain rather than locally, enabling access to resources only resolvable from within the proxy network and supporting Tor onion addresses.

3

Transparent application proxification

Uses libc function interception to redirect connections without requiring application-level proxy support or source code modifications, working with unmodified binaries like telnet, nmap, and other network tools.


import ctypes
import os

# Preload ProxyChains library to intercept network calls
os.environ['LD_PRELOAD'] = '/usr/lib/libproxychains.so.3'

import requests

# All requests will now route through configured proxies
response = requests.get('https://api.ipify.org?format=json')
print(f"Public IP: {response.json()['ip']}")


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers