Proxychains笔记

背景

使用 Ubuntu,想在终端使用代理服务器,改了系统代理却没丝毫影响?试看看 Proxychains 吧~

安装

$ sudo apt-get install proxychains

修改配置文件

proxychains looks for config file in following order:

  1. file listed in environment variable PROXYCHAINS_CONF_FILE or
    provided as a -f argument to proxychains script or binary.
  2. ./proxychains.conf
  3. $(HOME)/.proxychains/proxychains.conf
  4. $(sysconfdir)/proxychains.conf **

** usually /etc/proxychains.conf

使用

在需要的命令前加上 proxychains 即可

$ proxychains python test.py

参考

  • 感谢学友 pangda
  • ProxyChains

你可能感兴趣的:(Proxychains笔记)