Skip to content

Injects Proxy-Authentication header into http/https requests and then acts as a tunnel between an application and a proxy.

Notifications You must be signed in to change notification settings

lexmart/proxy-auth-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

proxy-auth-injector

The program is a bandaid for applications that don't support proxies with username/password authentication (I'm looking at you Chrome). This program will look like a normal proxy to the application you're working with. But behind the scenes, it's relaying each request to the actual proxy you want while adding the necessary username/proxy authentication.

Usage

make
./proxy <localhost> <localport> <remoteproxy_ip> <remoteproxy_port> <username:password>

Then direct your application to use 127.0.0.1:4321 as the proxy if 127.0.0.1 and 4321 were the host and port you specified. For example, for Chrome you would add the flag --proxy-server=http://127.0.0.1:4321

TODO

  • Look into using splice and pipes to avoid kernel to userspace copy.

About

Injects Proxy-Authentication header into http/https requests and then acts as a tunnel between an application and a proxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published