Skip to content

A mitmproxy addon that provides a WebSocket-based API for remote interceptions.

License

Notifications You must be signed in to change notification settings

hacker1024/mitmproxy_remote_interceptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mitmproxy Remote Interceptions

A mitmproxy addon that provides a WebSocket-based API for remote interceptions.

Usage

This addon requires Python 3.10 or newer.

# Install the addon requirements
pip install -r requirements.txt

# Launch mitmdump (or any addon-capable mitmproxy tool) with the addon
mitmdump -s src/mitmproxy_remote_interceptions.py

The addon will start a WebSocket server on port 8082 by default, but this can be customized with the ws_port option.

mitmdump -s src/mitmproxy_remote_interceptions.py --set ws_port=8000

Nix

A Nix derivation is included.

nix-shell -p 'callPackage ./. { }'
mitmridump

WebSocket API

WebSocket API documentation can be found in API.md.

Known client libraries

Language/framework Client library
Dart (native and JS) mitmproxy_ri_client