Skip to content

davidjspencer/debugproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debugProxy

debugProxy is a web UI for mitmproxy. It's also the UI for debugproxy.com.

Note: The server implementation for this project is currently incomplete and many of the features in the UI are not yet supported by the server. Currently requests can be passivly viewed, but intercepting and modifying requests is not implemented. The initial goal is to get the server to feature parity with debugproxy.com and build a package that can be easily installed with pip.

The UI looks something like this:

debugproxy screenshort

Development

Proxy UI

Setup the environment

cd proxyui
npm install

Run the flow-type type checker

npm run-script flow

Run the tests, currently there is not many.

npm test

Run the tests with coverage, oh no!

node_modules/.bin/jest --coverage

Run the UI dev server

npm run

Proxy server

Setup the environment

python3 -m venv venv
. venv/bin/activate
pip3 install -U pip setuptools
pip3 install -r requirements.txt
python setup.py develop

Run the tests.

py.test tests

Run the tests with coverage:

py.test --cov-report term-missing --cov=proxyserver tests

Run the server.

./venv/bin/debugproxy

The web interface is:

http://localhost:5000

The proxy interface is:

localhost:8080

To send a basic request through the proxy run:

curl http://example.com --proxy localhost:8080

About

debugProxy.com web UI for mitmproxy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.1%
  • CSS 14.4%
  • Python 7.0%
  • HTML 0.5%