| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | |
| | | |
| | | | |
Correction in key short cut for TCP Proxy
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This temporarily reverts commit 3b4d8d6ecae3ee1f57dd71af990bb480e6c82d6c,
which broke the snapshot builds.
|
|\ \ \ \
| |/ / /
|/| | | |
Updated for python 3
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
web: Add websocket filter
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fixes #2102
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
clearly indentify git-checkout as dev version
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[web] Add mouse support for FilterInput popover.
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The mechanism for booleans attaches the short flag to whatever the opposite of
the default is.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have one option "proxyauth". If this is "any", we accept any
credentials, if it starts with an @ it's treated as a path to an htpasswd file,
if it is of the form username:password it's a single-user credential.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Regularise presentation and wording
- Help is mandatory for all options
- Auto-generate wording to say that sequence options can be passed multiple
times on the command-line
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have --set, so only options that really deserve it get a dedicated flag.
I'm inclined to strip this back even more. Feel free to argue that YOUR
favourite option deserves special treatment here.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The --set option is a universal flag for setting options. Some examples:
Turn on a boolean:
mitmdump --set onboarding=false
Add a value to a sequence:
mitumdupm --set setheaders=/foo/bar/voing
Zero a sequence:
mitumdupm --set setheaders
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that options are completely regular, we can automate reading them out of
arguments, rather than listing them out by hand like savages.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of having two representations we have one canonical specification.
Fixing the editor in console is left ot a further patch.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have:
--mode regular (the default)
--mode transparent
--mode socks5
--mode reverse:SPEC
--mode upstream:SPEC
Where SPEC is a host specification.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Regularise to Sequence[str]
- Move conversion and checking into proxy config object
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have one option to control this. If the path is prefixed with a "+" we
append, otherwise we overwrite.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Move all simple string options to the new scheme. Also regularise some names.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Start dealing with corner cases:
- Sizes are always stored in options as strings
- Add a new core addon that's responsible for verifying settings that don't
belong to an addon
- Add a _processed scratch space on the Options object for processed core
values to be stored in. This is pretty dirty, but less dirty than re-parsing
values every time. We'll come up with something better down the track.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Moves all integer options apart from a few tricky ones like verbosity over to
auto generation. Also add a metavar argument to parser generation to support
this.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit:
- Adds a help field to options
- Adds a function to generate parser definitions from options
- Uses this to migrate all boolean flags over to the new system
- Makes all booleans consistently follow the --foo/--not-foo convention
There are a number of things left to be done here:
- Argparse doesn't give us a nice way to format --foo --not-foo help. Click
does, and moving to click is a goal down the track.
- For now, we remove all short aliases. I want to re-evaluate these
systematically once we have the new structure in place.
|
| |_|/
|/| |
| | |
| | |
| | | |
- Options are now explicitly initialized with an add_option method
- We have one canonical Options class - ditch dump.Options
|
|\ \ \
| | | |
| | | | |
[web] fix scroll bug in flow detail. (#2083)
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Call error handler and mark flow on HTTPException
|
| |/ /
| | |
| | |
| | |
| | | |
This allows scripts to handle HTTPExceptions such as "HTTP Body too
large" raised in mitmproxy/net/http/http1/read.py:131
|
| | | |
|
|\ \ \
| | | |
| | | | |
web: Fix #1888
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Adds --keep-host-header option (#2039)
|
| | | | |
|
| |\ \ \
| |/ / /
|/| | | |
|
| | | | |
|
| | | | |
|