Skip to content

spr-networks/spr-mitmproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spr-mitmproxy

Example mitmproxy container for PLUS members using SPR

Usage

Prepare the plugin

from the SPR directory

cd plugins
git clone https://github.com/spr-networks/spr-mitmproxy
echo [\"plugins/spr-mitmproxy/docker-compose.yml\"] > ../configs/base/custom_compose_paths.json
docker compose restart superd #temporary workaround for bug in <= v0.3.1, you can skip this later
cd spr-mitmproxy
docker compose build

Configure SPR

  1. Add mitmproxy as a plugin
  • be sure its been added to configs/base/custom_compose_paths.json as above
  • Enable it by toggling the slider
Screen Shot 2023-11-14 at 8 20 38 PM
  1. Add mitmweb0 to the custom interface rules. You can verify your container's network address in the Container tab -> Under Firewall-> Custom Interface Access Add a new rule, make sure mitmproxy has wan at least to access the internet.
Screen Shot 2023-11-14 at 8 22 34 PM
  1. Create a forwarding rule to the container web interface :8081. Pick an arbitrary IP in the subnet -- although not the same one as the container as that confuses dnat.
Screen Shot 2023-11-14 at 8 54 12 PM
  1. Create a site forward rule with PFW for traffic to intercept
Screen Shot 2023-11-14 at 8 56 34 PM

Using mitmproxy

Then make a curl request from any of the LAN devices, and it should populate on the mitmweb host. This was the :8081 host that was earlier defined Screen Shot 2023-11-14 at 9 20 56 PM

About

Example mitmproxy container for SPR PLUS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published