Skip to content

Instantly share code, notes, and snippets.

@g0053
Forked from ifduyue/install-proxychains-ng.sh
Created November 30, 2018 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save g0053/48bfdc9cc62883d33e228444962683cd to your computer and use it in GitHub Desktop.
Save g0053/48bfdc9cc62883d33e228444962683cd to your computer and use it in GitHub Desktop.
Install proxychains-ng on CentOS
#!/bin/sh
# Usage:
# wget -O- https://gist.githubusercontent.com/ifduyue/dea03b4e139c5758ca114770027cf65c/raw/install-proxychains-ng.sh | sudo bash -s
set -eu
version=4.13
wget https://github.com/rofl0r/proxychains-ng/archive/v$version.tar.gz
tar xf v$version.tar.gz
(cd proxychains-ng-$version
./configure
make
make install
[[ -f /etc/proxychains.conf ]] || cp src/proxychains.conf /etc/proxychains.conf
)
rm -rf v$version.tar.gz proxychains-ng-$version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment