aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
Commit message (Collapse)AuthorAgeFilesLines
* Very basic KV editor mockup.Aldo Cortesi2012-02-061-4/+1
|
* Simple fix for a unicode error when editing a request URL.Aldo Cortesi2011-10-261-10/+10
|
* Change size limit cmdline flag to -Z, enable size limits for replay.Aldo Cortesi2011-09-091-1/+5
|
* Add HTTP body size limit specification to command-line tools.Aldo Cortesi2011-09-091-1/+1
|
* Fix a rare crash in sticky cookies.Aldo Cortesi2011-08-261-1/+2
|
* Fix a problem with sticky cookie domain matching.Aldo Cortesi2011-08-261-5/+13
| | | | | Just like everything else cookie-related in the standard library, cookielib.domain_match is fucked up.
* Add attribution and license for tnetstring.pyAldo Cortesi2011-08-191-4/+4
|
* Move to typed netstrings for serialization.Aldo Cortesi2011-08-191-13/+15
| | | | This change is backwards incompatible with the old serialization format!
* Replaced unnecessary lists with generatorsAndrás Veres-Szentkirályi2011-08-181-3/+3
|
* Add a "done" event for scripts.Aldo Cortesi2011-08-051-11/+22
| | | | Called exactly once after all other events.
* Rip out autodecodeAldo Cortesi2011-08-041-1/+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.
* Code cleanliness - appease pychecker.Aldo Cortesi2011-08-041-1/+1
|
* Move script.Context to flow.ScriptContextAldo Cortesi2011-08-041-2/+16
|
* Clean pydoc profile for flow.FlowAldo Cortesi2011-08-041-12/+44
|
* Clean pydoc profile for flow.Response, flow.ErrorAldo Cortesi2011-08-041-9/+65
|
* Request class now has a clean pydoc profile.Aldo Cortesi2011-08-041-16/+52
|
* Further interface cleaning.Aldo Cortesi2011-08-031-28/+18
|
* Clean up interfaces by making some methods pseudo-private.Aldo Cortesi2011-08-031-48/+51
|
* Move all HTTP objects to flow.pyAldo Cortesi2011-08-031-23/+545
| | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers.
* Enable "|" command to run a oneshot script on a single flow.Aldo Cortesi2011-08-031-6/+16
|
* Add script hooks, enable new engine for mitmdump.Aldo Cortesi2011-08-031-51/+33
|
* Move the event notification mechanism into flow.pyAldo Cortesi2011-08-031-0/+16
|
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-031-10/+3
| | | | Scripts are broken for now.
* Tweak encoding behaviourAldo Cortesi2011-08-021-2/+0
| | | | | | | | | - Don't fail to identity encoding when an unknown encoding is specified. - Don't constrain encodings. I want to try to modify traffic as little as possible by default. - When decoding, delete content-encoding header rather than set it to "identity" - Refuse to decode/encode when there is an existing but unknown content-encoding header.
* General cleanup.Aldo Cortesi2011-08-021-6/+7
| | | | | Cut out unused variables and code, generally shut up pychecker as much as is reasonable.
* We no longer need to track clientconnections.Aldo Cortesi2011-08-021-13/+0
|
* 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-011-27/+47
| | | | | The naive approach we used before recalculated the view on every access, and consequently had serious performance problems.
* Changes replace logic to function in both Python 2.6.x and 2.7.xStephen Altamirano2011-07-261-5/+5
| | | | 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.
* Add utility functions to search and replace strings in flowsAldo Cortesi2011-07-221-0/+12
| | | | | | | | | | 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 should_autodecode attribute from Response. Adds commandline option ↵Stephen Altamirano2011-07-211-0/+1
| | | | 'd' to toggle autodecode, adds togglable option 'd' to do the same
* Adds support for content encoding, namely gip and deflatealts2011-07-161-3/+6
|
* Introduce an anti-compression command-line argument.Aldo Cortesi2011-07-151-0/+3
| | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified.
* Rewrite Headers object to preserve order and case.Aldo Cortesi2011-07-141-3/+4
|
* Don't redraw the screen more often than necessary.Aldo Cortesi2011-06-271-1/+1
|
* Don't backup flows before replay.Aldo Cortesi2011-06-231-1/+0
| | | | This lets us revert to the original request, even after replaying an edit.
* Add -r option to mitmdump and mitmproxy.Aldo Cortesi2011-05-151-5/+3
| | | | | | This option reads a set of flows from a file. I've also regularized the mitmdump and mitmproxy command-line signatures by removing mitmproxy's old way of specifying flow loads through naked arguments.
* Add a new flow loading mechanism.Aldo Cortesi2011-05-151-4/+21
| | | | | We now simulate the normal connection flow when we load flows. That means that we can run scripts, hooks, sticky cookies, etc.
* Add a stickyauth option.Aldo Cortesi2011-03-201-0/+32
| | | | | | | This allows us to replay an HTTP Authorization header, in the same way as we replay cookies using stickycookies. This lets us conveniently get at HTTP Basic Auth protected resources through the proxy, but is not enough to do the same for HTTP Digest auth. We'll put that on the todo list.
* Reverse order of flows in mitmproxy.Aldo Cortesi2011-03-201-1/+1
| | | | It matches user expectations much better to have new flows appended to the bottom.
* Server replay shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-0/+3
| | | | replay.
* Client playback shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-0/+3
| | | | client playback.
* Interrupt interception when deleting an intercepting flow.Aldo Cortesi2011-03-151-7/+5
| | | | Prompting the user for this is annoying.
* Do pre-processing of requests before replay.Aldo Cortesi2011-03-151-31/+36
| | | | | This enables scripts, anticache, server playback and sticky cookies for request replays.
* Add client plaback to mitmproxy.Aldo Cortesi2011-03-131-3/+3
|
* Rejigger status bar somewhat. Add indicators for various bits of state.Aldo Cortesi2011-03-131-0/+2
| | | | | In particular, we now display limits, sticky cookie expressions and intercepts in the bar.
* Fix stickycookie setting, indented view traceback.Aldo Cortesi2011-03-131-0/+2
|
* mitmproxy prompted input now display previously set value.Aldo Cortesi2011-03-131-5/+22
| | | | | E.g. if you set a limit, then re-enter the limit prompt, you start with the currently set value.
* Handle invalid bind address specifications gracefully.Aldo Cortesi2011-03-121-0/+2
|