aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* update docs, fix #215Maximilian Hils2014-03-101-1/+1
|
* add advanced proxying options, add SSL-terminating capability to mitmproxyMaximilian Hils2014-03-101-14/+65
|
* finish proxy.py split upMaximilian Hils2014-03-091-2/+2
|
* Improve explicit certificate specificationAldo Cortesi2014-03-021-1/+1
| | | | | - Support cert/key in the same PEM file - Rationalize arguments, expand tests, clean up a bit
* Use the mitm.it domain for the app, turn it on by default.Aldo Cortesi2014-01-271-3/+3
|
* Silence pyflakesAldo Cortesi2014-01-191-2/+0
| | | | And pick up one bug as a consequence.
* Script refactoring: move script command parsing into script module.Aldo Cortesi2014-01-121-1/+1
|
* Fix app in mitmproxy console, update to bootstrap 3.Aldo Cortesi2014-01-031-1/+3
|
* Merge branch 'master' into 0.10Maximilian Hils2013-12-081-0/+5
|\
| * Merge pull request #134 from mhils/scripts_improvementsAldo Cortesi2013-12-081-3/+6
| |\ | | | | | | Support multiple scripts and script arguments. refs #76
| * | Added -F http[s]://server:port option that allows MITM to forward traffic to ↵JC2013-08-301-0/+5
| | | | | | | | | | | | another http server upstream.
* | | add option to expose webapp externally, remove distinct ip settingMaximilian Hils2013-08-181-11/+16
| | |
* | | Merge branch 'master' into 0.10Maximilian Hils2013-08-171-15/+18
|\| |
| * | Remove GPL notices left in source files after our change to the MIT license.Aldo Cortesi2013-08-011-15/+0
| | | | | | | | | | | | Thanks to Roy Shamir for reporting this.
| * | Move app instantiation out of proxy.py.Aldo Cortesi2013-07-241-0/+18
| | |
* | | Merge remote-tracking branch 'origin/scripts_improvements' into 0.10Maximilian Hils2013-06-161-3/+6
|\ \ \ | |/ / |/| / | |/
| * add support for multiple scripts and script arguments. refs #76Maximilian Hils2013-06-131-3/+6
| |
* | always read files in binary modeMaximilian Hils2013-06-161-1/+1
|/
* Add a basic built-in web app.Aldo Cortesi2013-03-251-1/+8
|
* Add the --host option, which uses the value in the Host header for dispaly URLs.Aldo Cortesi2013-03-171-0/+6
| | | | | - Can be toggled with "o" then "h" in mitmproxy - Useful for transparent mode
* Remove cert_wait_time flag.Aldo Cortesi2013-01-061-5/+0
| | | | | We now cater for this by generating certs with a commencement date an hour in the past in netlib.
* Refactor proxy auth a bitAldo Cortesi2013-01-021-25/+8
| | | | | | - Remove authentication scheme option. We only support basic at the moment - we'll add the option back when we diversify. - Add some meta variables to make printout nicer
* adding some simple authetication code to limit proxy accessisrael2012-12-301-1/+47
|
* Command-line options for header setting.Aldo Cortesi2012-08-191-25/+78
|
* add dummy cert dirMaximilian Hils2012-08-171-2/+2
|
* use argparse instead of optparseMaximilian Hils2012-08-171-42/+38
|
* Adds --dummy-certs option to specify certdirJim Lloyd2012-08-061-0/+6
| | | | | | If --dummy-certs=CERTSDIR is provided, use CERTSDIR as the location for generating/finding the dummy certs. And in this case, preserve the CERTSDIR directory on exit.
* Make upstream-cert the default. There's now a --no-upstream-cert option to ↵Aldo Cortesi2012-07-031-3/+3
| | | | turn it off.
* Move palette option getting/setting to mitmproxy.Aldo Cortesi2012-07-031-7/+0
| | | | Unbreaks mitmdump.
* Add --palette option to select color paletteAlexis Hildebrandt2012-07-011-0/+7
|
* Transparent proxy command-line flag stub.Aldo Cortesi2012-06-261-0/+5
|
* Remove -T and -U command-line options.Aldo Cortesi2012-06-261-16/+2
| | | | They're redundant convenience options, and we need more space.
* add missing parser.add_option_group(group)Maximilian Hils2012-06-061-0/+1
|
* Minor cruft removal.Aldo Cortesi2012-04-091-1/+1
|
* Docs: replacements, upstream certs.Aldo Cortesi2012-04-041-1/+1
| | | | Also, move reverse proxy command-line flag to -P.
* Add specification of replacement patterns on the command line.Aldo Cortesi2012-03-171-1/+96
|
* Adds space between sentences on no-pop's helpValtteri Virtanen2012-03-051-1/+1
|
* Adds no-pop option to server-side replayValtteri Virtanen2012-03-051-0/+7
|
* Rationalise upstream cert flag and variable names.Aldo Cortesi2012-02-281-3/+3
|
* Add upstream certificate lookup.Aldo Cortesi2012-02-271-6/+11
| | | | | | This initiates a connection to the server to obtain certificate information to generate interception certificates. At the moment, the information used is the Common Name, and the list of Subject Alternative Names.
* License notifications, minor docs.Aldo Cortesi2012-02-231-0/+15
|
* Firm up reverse proxy specification.Aldo Cortesi2012-02-181-1/+1
| | | | | | - Extract proxy spec parsing and unparsing functions. - Add a status indicator in mitmproxy. - Add the "R" keybinding for changing the reverse proxy from within mitmproxy.
* Refactor reverse proxyingAldo Cortesi2012-02-181-1/+1
| | | | | | | - Retain the specification from the Host header as a Request's description. - Expand upstream proxy specifications to include the scheme. We now say https://hostname:port - Move the "R" revert keybinding to "v" to make room for a reverse proxy binding that matches the command-line flag.
* Implemented reverse proxy mode: -R upstreamhost:port makes theHeikki Hannikainen2012-02-161-0/+5
| | | | | | proxy accept a 'GET / HTTP/1.0' request and fill up the destination host and port from the ones given with -R (for example, "-R localhost:80").
* Change size limit cmdline flag to -Z, enable size limits for replay.Aldo Cortesi2011-09-091-7/+7
|
* Add HTTP body size limit specification to command-line tools.Aldo Cortesi2011-09-091-0/+6
|
* Rip out autodecodeAldo Cortesi2011-08-041-6/+0
| | | | | | | | We simplify things as follows: - If we're in "pretty" view mode, we autodecode. - Otherwise, we display raw data, and the user can manually encode/decode with z shortcut.
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-031-21/+15
| | | | Scripts are broken for now.
* Add an eventlog option to mitmdumpAldo Cortesi2011-07-231-0/+6
| | | | | This shows client connections, disconnections and requests (before a complete flow is assembled). We need to add an analogous display to mitmproxy.
* Removes should_autodecode attribute from Response. Adds commandline option ↵Stephen Altamirano2011-07-211-0/+6
| | | | 'd' to toggle autodecode, adds togglable option 'd' to do the same