MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / mitmdump

Function mitmdump

mitmproxy/tools/cmdline.py:123–136  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

121
122
123def mitmdump(opts):
124 parser = argparse.ArgumentParser(usage="%(prog)s [options] [filter]")
125
126 common_options(parser, opts)
127 opts.make_parser(parser, "flow_detail", metavar="LEVEL")
128 parser.add_argument(
129 "filter_args",
130 nargs="...",
131 help="""
132 Filter expression, equivalent to setting both the view_filter
133 and save_stream_filter options.
134 """,
135 )
136 return parser
137
138
139def mitmweb(opts):

Callers

nothing calls this directly

Calls 2

common_optionsFunction · 0.85
make_parserMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…