| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| | |
wheel normalizes to no leading zeroes, and we don't want to special-case
that.
|
|\ \
| | |
| | | |
Update PyInstaller, add dev version info to builds.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Test that default key bindings are valid commands
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This now just sets a kill reply instead of committing directly.
First, this seems like the more sane thing to do.
Second, we have an iffy race condition where we call Reply.commit()
before the addonmanager finishes its invocation, the proxy thread then progresses
and sets a new flow.reply attribute, and the addonmanager then gets confused
when finishing. This commit doesn't fix that, but mitigates it for Flow.kill
which is now committed by the addonmanager.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
fixes #2724
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The set of people who understand "0.0.0.0" (and/or "::") is a subset of
the set of people who understand "*", so we can make things easier to understand
by using the less technical notation.
Empirical Evidence:
- https://discourse.mitmproxy.org/t/unable-to-use-mitmproxy-on-windows/735
- https://discourse.mitmproxy.org/t/how-to-view-the-proxy-servers-url/23
|
| |
| |
| |
| |
| | |
* @concurrent decorator should works for class methods
* modify test for @concurrent decorator in class.
* add docs
|
| | |
|
| |
| |
| |
| | |
Display context-sensitive argument types as an "underlay" in commander.
|
| |
| |
| |
| |
| |
| |
| | |
- Add palette entries specific to commander
- Highlight errors
- Introduce an Unknown type to keep track of extra unknown arguments to
commands
|
| |
| |
| |
| | |
Step 1 of the fancification of commander.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
improve websocket dumps
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
The type system was scattered over a number of places, making it hard to
follow. This collects all command types in types.py, and completion, validation
and parsing for each type is centralised. We should use the same mechanism for
options.
|
|\ \
| | |
| | | |
mitmproxy.types -> mitmproxy.coretypes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The types name is valuable, and we have a better use for it in collecting and
exposing types for options and commands.
The coretypes module should probably be split up anyway - it contains a
threading base class, a few container objects, and the defintion of our
serialization protocol. I was tempted to rename it to "uncagegorized" for the
sake of honesty.
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The JS test assets depend in a brittle way on the details of the tflow()
utility functions. We shouldn't have to fix JS tests when adjusting these.
Options:
- Manually generate the test assets in a script.
- Define the JS assets without using tflow, so they don't unexpextedly
vary.
|
| |
| |
| |
| | |
Fixes #2681
|
| |
| |
| |
| |
| |
| | |
- Remove shortcuts for request, response, etc. - we don't need them if we have completion
- Restrict cuts specification to a set of prefixes
- Extend cuts to add a few more items
|
| |
| |
| |
| |
| | |
Make the cuts API more transparent. Cut specifications are no longer a
centrally resolved core type, and flows are now passed explicitly.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This lets us complete commands passed to commands correctly.
|
|\ \
| | |
| | | |
Fix console logging during startup
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
We only return Cmd and str types for the moment.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This represents a command passed as an argument. Also split arguments from
command values themselves, making the command help for meta-commands much
clearer.
|
|/ /
| |
| |
| |
| | |
The builtin urwid.Edit widget is not sufficiently flexible for what we want to
do.
|
|\ \
| | |
| | | |
Replace our WebSocket stack with wsproto
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
commands: add a Path argument type
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is just an alias for str, and in this patch is used mostly to give an
appropriate type in help strings. More to come.
Fixes #2198
|
|\ \ \ \
| | | | |
| | | | | |
fix #2664
|