aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add "p" key binding to connection list view to copy a flow.Aldo Cortesi2012-02-191-0/+2
|
* Add API for duplicating flows.Aldo Cortesi2012-02-181-0/+18
|
* Firm up what we consider to be a valid proxy spec.Aldo Cortesi2012-02-181-0/+1
|
* Firm up reverse proxy specification.Aldo Cortesi2012-02-181-0/+9
| | | | | | - 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-0/+8
| | | | | | | - 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.
* Repair unit tests.Aldo Cortesi2012-02-182-32/+1
|
* 100% test coverage for flow.pyAldo Cortesi2012-02-102-0/+16
|
* Make filter matching act more sensibly.Aldo Cortesi2012-02-102-4/+9
|
* Add filter for detecting flows with errors.Aldo Cortesi2012-02-101-1/+9
| | | | Also, remove dependency on weird _is_response method.
* Expand test coverage.Aldo Cortesi2012-02-105-3/+65
|
* Methods for getting and setting form urlencoded data on Request.Aldo Cortesi2012-02-101-0/+12
|
* Add get_query and set_query methods to Request.Aldo Cortesi2012-02-091-5/+28
|
* Refactor console.Aldo Cortesi2012-02-071-11/+12
| | | | Split the console implementation out into logical components.
* Fix unit tests broken during previous commit.Aldo Cortesi2012-01-211-4/+4
|
* Fix an issue caused by some editors when editing a request/response body.Aldo Cortesi2012-01-213-5/+3
| | | | | | Many editors make it hard save a file without a terminating newline on the last line. When editing message bodies, this can cause problems. For now, I just strip the newlines off the end of the body when we return from an editor.
* Add support for filtering by HTTP method (get, post, etc.) using ~m operator.Mark E. Haase2011-12-281-0/+8
|
* Add HTTP body size limit specification to command-line tools.Aldo Cortesi2011-09-091-1/+13
|
* Basic infrastructure for request and response body size limits.Aldo Cortesi2011-09-092-6/+37
|
* Improve robustness against invalid data.Aldo Cortesi2011-09-051-0/+3
|
* Add attribution and license for tnetstring.pyAldo Cortesi2011-08-191-0/+1
|
* Move to typed netstrings for serialization.Aldo Cortesi2011-08-191-65/+0
| | | | This change is backwards incompatible with the old serialization format!
* Code cleanliness - appease pychecker.Aldo Cortesi2011-08-048-18/+11
|
* Move script.Context to flow.ScriptContextAldo Cortesi2011-08-041-5/+8
|
* Request class now has a clean pydoc profile.Aldo Cortesi2011-08-043-5/+5
|
* Further interface cleaning.Aldo Cortesi2011-08-032-6/+6
|
* Clean up interfaces by making some methods pseudo-private.Aldo Cortesi2011-08-031-23/+23
|
* Move all HTTP objects to flow.pyAldo Cortesi2011-08-037-375/+375
| | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers.
* Enable "|" command to run a oneshot script on a single flow.Aldo Cortesi2011-08-031-8/+0
|
* Add script hooks, enable new engine for mitmdump.Aldo Cortesi2011-08-035-31/+68
|
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-0310-53/+55
| | | | Scripts are broken for now.
* Start stubbing out a much more powerful script architecture.Aldo Cortesi2011-08-033-0/+47
|
* Refresh current connection when toggling autodecode.Aldo Cortesi2011-08-022-6/+5
| | | | Also fix the unit tests I forgot to commit...
* Unit test++Aldo Cortesi2011-08-023-21/+69
|
* General cleanup.Aldo Cortesi2011-08-023-25/+3
| | | | | 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-7/+0
|
* Improve performance of loading flows from a file hugely.Aldo Cortesi2011-08-011-4/+4
| | | | 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-8/+8
| | | | | 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-011-0/+25
|
* Merge remote-tracking branch 'alts/encoding'Aldo Cortesi2011-07-281-0/+25
|\
| * Adds test method for Response encoding and decodingStephen Altamirano2011-07-261-0/+25
| |
* | Changes replace logic to function in both Python 2.6.x and 2.7.xStephen Altamirano2011-07-261-2/+2
|/ | | | 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
* Add an eventlog option to mitmdumpAldo Cortesi2011-07-231-2/+3
| | | | | This shows client connections, disconnections and requests (before a complete flow is assembled). We need to add an analogous display to mitmproxy.
* Also replace strings path for requests.Aldo Cortesi2011-07-221-1/+3
|
* Add utility functions to search and replace strings in flowsAldo Cortesi2011-07-223-1/+46
| | | | | | | | | | 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
* Adds encode counterparts to decode functionsStephen Altamirano2011-07-171-16/+14
|
* Refine encoding supportAldo Cortesi2011-07-171-0/+2
| | | | | - 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-162-1/+32
|
* Add a pretty-printing mode for urlencoded form data.Aldo Cortesi2011-07-151-0/+7
|
* Introduce an anti-compression command-line argument.Aldo Cortesi2011-07-151-0/+1
| | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified.
* Refine path completion somewhat.Aldo Cortesi2011-07-141-1/+2
| | | | Make it match the behaviour of vim and mutt more closely