aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
* Make scripted rewriting of saved traffic work in mitmdump.Aldo Cortesi2011-08-051-9/+10
|
* Rip out autodecodeAldo Cortesi2011-08-044-35/+10
| | | | | | | | 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-045-21/+12
|
* Move script.Context to flow.ScriptContextAldo Cortesi2011-08-042-13/+19
|
* 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-045-35/+71
|
* Further interface cleaning.Aldo Cortesi2011-08-035-46/+36
|
* Clean up interfaces by making some methods pseudo-private.Aldo Cortesi2011-08-031-48/+51
|
* Move all HTTP objects to flow.pyAldo Cortesi2011-08-034-588/+600
| | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers.
* Doc and help adjustments.Aldo Cortesi2011-08-031-4/+4
|
* Make "C" clear eventlog when it has focus.Aldo Cortesi2011-08-031-2/+17
|
* Enable "|" command to run a oneshot script on a single flow.Aldo Cortesi2011-08-032-8/+33
|
* Add script set/unset shortcut for mitmproxy.Aldo Cortesi2011-08-031-2/+30
|
* Move commands around to make space for "s" script shortcut.Aldo Cortesi2011-08-031-27/+7
| | | | | | | | New commands are: "w" - save all flows "W" - save this flow "S" - server replay
* Add script hooks, enable new engine for mitmdump.Aldo Cortesi2011-08-033-75/+45
|
* Move the event notification mechanism into flow.pyAldo Cortesi2011-08-033-32/+26
|
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-035-98/+73
| | | | Scripts are broken for now.
* Start stubbing out a much more powerful script architecture.Aldo Cortesi2011-08-031-0/+46
|
* Refresh current connection when toggling autodecode.Aldo Cortesi2011-08-021-0/+1
| | | | Also fix the unit tests I forgot to commit...
* Tweak encoding behaviourAldo Cortesi2011-08-023-8/+13
| | | | | | | | | - 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.
* Fix encoding import crash.Aldo Cortesi2011-08-021-1/+2
|
* Unit test++Aldo Cortesi2011-08-024-16/+20
|
* General cleanup.Aldo Cortesi2011-08-028-59/+30
| | | | | Cut out unused variables and code, generally shut up pychecker as much as is reasonable.
* Fix a rare undefined variable crash in proxy.py.Aldo Cortesi2011-08-021-1/+3
|
* Make ConnectionList key bindings work even if there are no entries.Aldo Cortesi2011-08-021-12/+23
|
* We no longer need to track clientconnections.Aldo Cortesi2011-08-021-13/+0
|
* Make the mitmproxy eventlog display useful information.Aldo Cortesi2011-08-021-3/+13
|
* Give a visual indication that the eventlog has focus.Aldo Cortesi2011-08-021-15/+20
|
* 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
|