Table of contents
1. Introduction to ProxyChains
2. ProxyChains download and installation
1. Introduction to ProxyChains
ProxyChains is an open source proxy tool that can force any application's TCP connection to use a
SOCKS4, SOCKS or HTTP(S) proxy to connect.
2. ProxyChains download and installation
The Kali Linux system already comes with ProxyChains .
ProxyChains download address: https://github.com/rofl0r/proxychains-ng .
3. ProxyChains configuration
1. All configurations for ProxyChains operation are in the "/etc/proxychains.conf" file.
2. Add proxy IP and port under [ProxyList] , you can add proxy arbitrarily, one record per line. For example, add proxy IP and port, as shown below:
3. Other configuration items are used as follows:
dynamic_chain : This configuration item can run traffic through each proxy in the ProxyList, if one of themIf a proxy is down or unresponsive, it can automatically select the next proxy in the ProxyList;strict_chain : Change the configuration to the default configuration of ProxyChains, which is different from dynamic_chain and can also passruns traffic through each proxy in the ProxyList, but does not automaticallySwitch to the next one.random_chain : This configuration item will randomly select the proxy IP from the ProxyList to run traffic, ifThere are multiple proxy IPs in ProxyList. When using proxychains, different proxies will be used to access the target host.This makes it more difficult for the host to detect traffic.
4. ProxyChains
use
Proxychains uses the command form as:
proxychains <运行的命令> <命令参数>
5. Use ProxyChains proxy to access the website
$ proxychains curl http://172.18.206.150
6.ProxyChains proxysqlmap _
$ proxychains sqlmap
7.ProxyChains proxyfirefox _
$ proxychains firefox
8. ProxyChains proxy nmap
$ proxychains bash
$ nmap -sT -Pn -n -sV 192.168.1.3
9. ProxyChains Proxy Metasploit
$ proxychains bash
$ msfconsole