-
-
Save wxlg1117/1fadf9d83db1d6fba10d24df7904c400 to your computer and use it in GitHub Desktop.
Install proxychains-ng on CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Usage: | |
| # wget -O- https://gist.github.com/ifduyue/dea03b4e139c5758ca114770027cf65c/raw/install-proxychains-ng.sh | sudo bash -s | |
| set -eu | |
| version=4.14 | |
| 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