Skip to content

command line tool to change proxy socks settings of operation os x system

Notifications You must be signed in to change notification settings

sun8911879/socks-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

socks-cmd

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>

#Notes

  • Mac

Setting socks is an privileged action on Mac OS. sudo or elevate it as below.

There's an additional option to chown itself to root:wheel and add setuid bit.

socks setuid

About

command line tool to change proxy socks settings of operation os x system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages