Skip to content
getlanternPublic

About

command line tool to change proxy auto-config settings of operation system

Resources

Stars

29 stars

Watchers

16 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

pac-cmd

A command line tool to change proxy auto-config settings of operation system.

Binaries included in repo. Simply make to build it again.

Note - you will need to run make separately on each platform.

Usage

pac show
pac on  <pac-url>
pac off [old-pac-url-prefix]

pac off with old-pac-url will turn off pac setting only if the existing pac url is prefixed with old-pac-url-prefix.

#Notes

  • Mac

Setting pac 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.

pac setuid
  • Windows

Install MinGW-W64 to build pac, as it has up to date SDK headers we require.

To avoid bringing up console window, it doesn't show anything directly to console. Piping the result to other utilities should work.

pac show | cat
  • Linux

sudo apt-get install libgtk2.0-dev

About

command line tool to change proxy auto-config settings of operation system

Resources

Stars

29 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages