aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial key bindings and event handlers for event log.Aldo Cortesi2011-08-021-7/+51
|
* Start stubbing out a UI for the eventlog in mtimproxy.Aldo Cortesi2011-08-021-1/+23
|
* Exit with error if mitmproxy can't load a file specified on cmdline.Aldo Cortesi2011-08-011-4/+11
|
* Improve performance of loading flows from a file hugely.Aldo Cortesi2011-08-011-3/+0
| | | | Fell into the "expensive __eq__ method" trap. Oh, Python, you little scamp.
* Refactor the way we calculate views of the flow list.Aldo Cortesi2011-08-012-32/+51
| | | | | The naive approach we used before recalculated the view on every access, and consequently had serious performance problems.
* Add decoding/encoding for requests.Aldo Cortesi2011-08-012-42/+46
|
* Merge remote-tracking branch 'alts/encoding'Aldo Cortesi2011-07-282-7/+23
|\
| * Adds encode and decode methods to Response objectsStephen Altamirano2011-07-262-10/+26
| |
* | Changes replace logic to function in both Python 2.6.x and 2.7.xStephen Altamirano2011-07-263-25/+25
|/ | | | Tests now only assume Python 2.6.x rather than requiring 2.7.x. This does not preclude the use of flags as a kwarg in replace
* Fix crash when sticky cookies are read from file.Aldo Cortesi2011-07-241-1/+1
| | | | Cookielib expects strings, not unicode.
* Fix a crash in mitmdump event display.Aldo Cortesi2011-07-232-2/+2
|
* Unbreak mitmproxy. Oops.Aldo Cortesi2011-07-231-0/+1
|
* Extend eventlog information.Aldo Cortesi2011-07-232-8/+23
| | | | Also, squash an SSL-related bug revealed by the extended logging.
* Add an eventlog option to mitmdumpAldo Cortesi2011-07-232-0/+20
| | | | | This shows client connections, disconnections and requests (before a complete flow is assembled). We need to add an analogous display to mitmproxy.
* Don't turn off output if -v flag is passed more than twice.Aldo Cortesi2011-07-231-1/+2
|
* Also replace strings path for requests.Aldo Cortesi2011-07-222-1/+2
|
* Make script pipe globally available.Aldo Cortesi2011-07-221-7/+15
|
* Add utility functions to search and replace strings in flowsAldo Cortesi2011-07-223-0/+56
| | | | | | | | | | This is a common task in pentesting scenarios. This commit adds the following functions: utils.Headers.replace proxy.Request.replace proxy.Response.replace flow.Flow.replace
* Removes last_encoding attribute from Response. Prompts for encoding on ↵Stephen Altamirano2011-07-212-12/+27
| | | | identity responses
* Removes should_autodecode attribute from Response. Adds commandline option ↵Stephen Altamirano2011-07-215-10/+24
| | | | 'd' to toggle autodecode, adds togglable option 'd' to do the same
* Drop cert expiry time to avoid a bug in some OpenSSL versions.Aldo Cortesi2011-07-221-3/+4
|
* Switches hotkeys. En/decode is now bound to 'z', kill connection now 'X'Stephen Altamirano2011-07-201-4/+4
|
* Fixes issue #10 regarding broken json printingStephen Altamirano2011-07-191-1/+1
|
* Switches hotkey to unused 'g', adds help messageStephen Altamirano2011-07-181-1/+2
|
* Adds ability to toggle between encodings in the response viewStephen Altamirano2011-07-182-11/+28
|
* Adds encode counterparts to decode functionsStephen Altamirano2011-07-171-4/+25
|
* Add explicit notice when data has been auto-decoded.Aldo Cortesi2011-07-181-28/+38
|
* Correctly detect urlencoded dataAldo Cortesi2011-07-171-1/+1
| | | | This broke when we introduced case preservation for headers.
* Fix error in anticomp commandline specification.Aldo Cortesi2011-07-171-1/+1
|
* Make help display for options nicer.Aldo Cortesi2011-07-171-21/+59
|
* Expose the anticompression flag as an option through the "o" key in mitmproxy.Aldo Cortesi2011-07-171-0/+6
|
* Refine encoding supportAldo Cortesi2011-07-172-6/+15
| | | | | - Push decoding down into the LRU cache - Cope gracefully with corrupted data and incorrect encoding headers
* Adds support for content encoding, namely gip and deflatealts2011-07-165-25/+90
|
* Add a pretty-printing mode for urlencoded form data.Aldo Cortesi2011-07-152-2/+22
|
* Introduce an anti-compression command-line argument.Aldo Cortesi2011-07-155-1/+21
| | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified.
* Don't sort headers when displaying them in mitmproxy.Aldo Cortesi2011-07-141-1/+1
|
* Refine path completion somewhat.Aldo Cortesi2011-07-141-4/+0
| | | | Make it match the behaviour of vim and mutt more closely
* Rewrite Headers object to preserve order and case.Aldo Cortesi2011-07-145-114/+76
|
* Merge branch 'master' of github.com:cortesi/mitmproxyAldo Cortesi2011-07-111-1/+1
|\
| * Specify certificate creation waiting time argument to fix type error in ↵Felix Wolfsteller2011-07-091-1/+1
| | | | | | | | proxy.py .
* | Bail out if no command was specified after | shortcut.Aldo Cortesi2011-07-081-1/+2
|/
* Cast some data read from dump files to str, to prevent unicode promotion.Aldo Cortesi2011-07-011-5/+5
| | | | | This fixes a bug that caused a traceback when de-serialized requests were replayed. Also adds unit tests for the problem.
* Show view mode in statusbar.Aldo Cortesi2011-06-301-24/+33
| | | | Also make "m" keyboard shortcut available globally.
* Fix edit prompt display, return code editing.Aldo Cortesi2011-06-301-3/+6
|
* JSON pretty-printing.Aldo Cortesi2011-06-302-25/+54
| | | | | Also rename the display modes ("pretty" instead of "indent"), and expand the built-in documentation.
* Prep for 0.5 releaseAldo Cortesi2011-06-271-1/+1
| | | | | | - Update CHANGELOG and CONTRIBUTORS - Bump version - Include Apple Gamecenter highscore setting tutorial in docs
* Make the certificate wait time configurable.Aldo Cortesi2011-06-273-3/+11
| | | | | | | | | Since OpenSSL doesn't let us set certificate start times in the past, the client and proxy machine time must be synchronized, or the client might reject the certificate. We can bodgy over small discrepancies by waiting a few seconds after a new certificate is generated (i.e. the first time an SSL domain is contacted). Make this a configurable option, and turn it off by default.
* Try not to hang when user views large request & response bodiesAldo Cortesi2011-06-272-5/+39
| | | | | | | | | | Two different strategies here: - Use a simple heuristic to detect if we're looking at XML data when indent mode is used. On non-XML data we can hang even on small documents. - Only view partial data for large bodies. At the moment the cutoff is 100k. I might finetune this later.
* Don't redraw the screen more often than necessary.Aldo Cortesi2011-06-273-4/+11
|
* Repair a problem that sometimes caused SSL connections to peg the CPU.Aldo Cortesi2011-06-231-3/+6
|