aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * Automate slurping up command-line optionsAldo Cortesi2017-03-076-124/+23
| | | | | | | | | | | | | | | | | | | | Now that options are completely regular, we can automate reading them out of arguments, rather than listing them out by hand like savages.
| | | * Replacements and setheaders are always stringsAldo Cortesi2017-03-064-44/+38
| | | | | | | | | | | | | | | | | | | | Instead of having two representations we have one canonical specification. Fixing the editor in console is left ot a further patch.
| | | * Unify mode specificationAldo Cortesi2017-03-0614-129/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have: --mode regular (the default) --mode transparent --mode socks5 --mode reverse:SPEC --mode upstream:SPEC Where SPEC is a host specification.
| | | * Options unification: certsAldo Cortesi2017-03-063-30/+23
| | | | | | | | | | | | | | | | | | | | - Regularise to Sequence[str] - Move conversion and checking into proxy config object
| | | * Options unification: streamfileAldo Cortesi2017-03-064-30/+11
| | | | | | | | | | | | | | | | | | | | We now have one option to control this. If the path is prefixed with a "+" we append, otherwise we overwrite.
| | | * Options unification: string choicesAldo Cortesi2017-03-064-46/+66
| | | |
| | | * Options unification: simple string sequencesAldo Cortesi2017-03-063-76/+73
| | | |
| | | * Options unification: simple stringsAldo Cortesi2017-03-068-163/+126
| | | | | | | | | | | | | | | | Move all simple string options to the new scheme. Also regularise some names.
| | | * Options unification: sizesAldo Cortesi2017-03-0612-46/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Start unifying options and the command-line: intsAldo Cortesi2017-03-053-33/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Start unifying options and the command-line: booleansAldo Cortesi2017-03-0516-255/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Revamp optionsAldo Cortesi2017-03-0514-381/+266
| |_|/ |/| | | | | | | | | | | - Options are now explicitly initialized with an add_option method - We have one canonical Options class - ditch dump.Options
* | | Merge pull request #2095 from MatthewShao/fix-#2083Clemens Brunner2017-03-041-2/+1
|\ \ \ | | | | | | | | [web] fix scroll bug in flow detail. (#2083)
| * | | [web] fix scroll bug in flow detail. (#2083)Matthew Shao2017-03-041-2/+1
| | | |
* | | | Merge pull request #2082 from tarnacious/masterMaximilian Hils2017-03-041-0/+2
|\ \ \ \ | |/ / / |/| | | Call error handler and mark flow on HTTPException
| * | | Call error handler and mark flow on HTTPExceptiontarnacious2017-03-011-0/+2
| |/ / | | | | | | | | | | | | This allows scripts to handle HTTPExceptions such as "HTTP Body too large" raised in mitmproxy/net/http/http1/read.py:131
* | | update release docsMaximilian Hils2017-03-045-16718/+18855
| | |
* | | Merge pull request #2081 from s4chin/add-pretty-hostMaximilian Hils2017-03-042-5/+2
|\ \ \ | | | | | | | | web: Fix #1888
| * | | web: Fix #1888Sachin Kelkar2017-03-032-5/+2
| | | |
* | | | Merge pull request #2053 from krsoninikhil/on-issuesMaximilian Hils2017-03-047-13/+35
|\ \ \ \ | |_|_|/ |/| | | Adds --keep-host-header option (#2039)
| * | | update docs wordingMaximilian Hils2017-03-041-2/+2
| | | |
| * | | Merge branch 'master' into on-issuesNikhil Soni2017-03-0356-680/+1674
| |\ \ \ | |/ / / |/| | |
* | | | docs: fix cert install linkMaximilian Hils2017-03-021-1/+1
| | | |
* | | | docs: http -> https where possibleMaximilian Hils2017-03-021-6/+6
| | | |
* | | | Merge pull request #2087 from TomTasche/patch-1Maximilian Hils2017-03-021-1/+1
|\ \ \ \ | |_|_|/ |/| | | link to stackoverflow for chrome certificate management
| * | | link to stackoverflow for chrome certificate managementThomas Taschauer2017-03-021-1/+1
|/ / /
* | / http2: fix h2 header normalization test (#2080)Thomas Kriechbaumer2017-03-012-72/+0
| |/ |/|
* | added XSS scanner example (#1907)David Dworken2017-02-272-0/+775
| |
* | Merge pull request #2072 from MatthewShao/devThomas Kriechbaumer2017-02-271-0/+1
|\ \ | | | | | | [web] Fix #2071, remove client_connect.mitmcert when dumping flow into json.
| * | Fix #2071, remove client_connect.mitmcert when dumping flow into json.Matthew Shao2017-02-271-0/+1
|/ /
* | Merge pull request #2069 from JordanLoehr/iss2068Maximilian Hils2017-02-271-2/+2
|\ \ | | | | | | Added console_ prefix to options in palettepicker to resolve issue #2068
| * | Added console_ prefix to options in palettepicket to resolve issue #2068Jordan Loehr2017-02-261-2/+2
| | |
* | | Merge pull request #2067 from whackashoe/fix-2065Maximilian Hils2017-02-261-1/+1
|\ \ \ | | | | | | | | fix #2065 by setting correct content encoding for brotli
| * | | fix #2065 by setting correct content encoding for brotliJett2017-02-261-1/+1
| |/ /
* | | Merge pull request #2066 from Kriechi/certs-testsThomas Kriechbaumer2017-02-264-17/+39
|\ \ \ | | | | | | | | certs: coverage++
| * | | do not return IP addresses in SSLCert.altnamesThomas Kriechbaumer2017-02-262-2/+3
| | | |
| * | | certs: coverage++Thomas Kriechbaumer2017-02-264-17/+38
|/ / /
* | | connections: coverage++ (#2064)Thomas Kriechbaumer2017-02-265-41/+211
| | |
* | | Merge pull request #2063 from ujjwal96/hardump-supportMaximilian Hils2017-02-262-8/+3
|\ \ \ | |/ / |/| | Remove pytz in hardump
| * | Remove pytz in hardumpUjjwal Verma2017-02-252-8/+3
|/ /
* | optmanager: coverage++ (#2062)Thomas Kriechbaumer2017-02-252-9/+15
| |
* | http: coverage++ (#2060)Thomas Kriechbaumer2017-02-242-2/+25
| |
* | move tests around (#2059)Thomas Kriechbaumer2017-02-242-225/+232
| |
* | move tests around (#2058)Thomas Kriechbaumer2017-02-243-67/+68
| |
* | Merge pull request #2057 from Kriechi/flowfilter-coverageThomas Kriechbaumer2017-02-246-4/+105
|\ \ | | | | | | flowfilter: coverage++
| * | flowfilter: coverage++Thomas Kriechbaumer2017-02-246-4/+105
|/ /
* | Merge pull request #2050 from Kriechi/create_connectionThomas Kriechbaumer2017-02-2438-254/+210
|\ \ | | | | | | nuke tcp.Address and add proper IPv6 support
| * | fix constant definitionMaximilian Hils2017-02-241-4/+3
| | |
| * | nuke tcp.Address and add proper IPv6 supportThomas Kriechbaumer2017-02-2438-254/+211
|/ /
* | Merge pull request #2055 from Kriechi/http2-normalize-headersThomas Kriechbaumer2017-02-231-2/+0
|\ \ | | | | | | http2: normalize headers before sending