command line tool to change socks proxy settings on os x system.
socks modify binaries from the pac-cmd project.
A command line tool to change proxy socks settings of operation os x system.
Note - you will need to run make separately on each platform.
#Notes
There's an additional option to chown itself to root:wheel and add setuid bit.
socks modify binaries from the pac-cmd project.
A command line tool to change proxy socks settings of operation os x system.
Note - you will need to run make separately on each platform.
Install
gcc -Wall -c -D DARWIN -D AMD64 -x objective-c main.c common.h
gcc -o socks main.o -framework Cocoa -framework SystemConfiguration -framework Security
Usage
socks <on | off><ip><port>
- Mac
sudo
or elevate it as below.There's an additional option to chown itself to root:wheel and add setuid bit.
socks setuid
from https://github.com/sun8911879/socks-cmd
相关项目:
https://github.com/getlantern/pac-cmd
https://github.com/getlantern/pac