Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add more commands to start applications with mitmproxy preconfigured #5247

Description

@mhils

Many mitmproxy users only want to proxy one specific application. We already have a browser.start command to boot up a Chrome instance, it would be very useful to have similar wrappers for other browsers and applications:

  • Firefox
  • Edge
  • Safari
  • Docker Containers
  • Android Devices

Implementation Steps

  1. Take one of the targets above and figure out how to start it with a proxy server preconfigured.
  2. Extend the browser addon with a custom command that invokes the application.
  3. Add a test in https://github.com/mitmproxy/mitmproxy/blob/main/test/mitmproxy/addons/test_browser.py. These tests aren't particularly useful as we want to mock the actual application, but we require 100% test coverage for all builtin addons.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions