Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Nose mopup: docs, no cover pragmas, a few missing path specs. | Aldo Cortesi | 2012-06-09 | 1 | -1/+1 | |
| | ||||||
* | Port mitmproxy test suite entirely to nose. | Aldo Cortesi | 2012-06-09 | 1 | -107/+89 | |
| | ||||||
* | Fix a crashing bug when replacing text in a flow with unicode bodies. | Aldo Cortesi | 2012-05-25 | 1 | -0/+5 | |
| | ||||||
* | Refuse to replay a request with missing content. | Aldo Cortesi | 2012-05-16 | 1 | -0/+10 | |
| | ||||||
* | Add the ability to flag content as missing in a request or a response. | Aldo Cortesi | 2012-05-16 | 1 | -0/+6 | |
| | | | | | | | We'll use this in a number of situations. First, we'll soon have response streaming that directly pipes responses to clients. These will be content-less from mitmproxy's perspective. Second, we'll be growing new events that fire after headers are received, but before content is read. | |||||
* | Add a WSGI adapter that lets us serve a WSGI app out of mitmproxy. | Aldo Cortesi | 2012-04-24 | 1 | -0/+9 | |
| | | | | | | | | This commit adds: - A WSGI App adapter for mitmproxy - An app registry in the proxy instance that lets us link WSGI apps with (hostname, port) combinations. - Fixes for a number of bugs discovered while creating this feature. | |||||
* | Serialized data version check. | Aldo Cortesi | 2012-04-11 | 1 | -1/+12 | |
| | ||||||
* | Serialize requestcount for ClientConnect objects. | Aldo Cortesi | 2012-04-03 | 1 | -1/+2 | |
| | ||||||
* | Add accessor method for SSLCert object on Response. | Aldo Cortesi | 2012-04-02 | 1 | -0/+7 | |
| | ||||||
* | Expand SSL cert support | Aldo Cortesi | 2012-04-02 | 1 | -3/+3 | |
| | | | | | | - Capture the remote SSL certificate - Expose the remote cert as an attribute on Response - Expand the certutils.SSLCert interface to expose more cert info | |||||
* | Refactor pretty view mechanism. | Aldo Cortesi | 2012-03-24 | 1 | -0/+5 | |
| | | | | Also start adding unit tests for this subsystem. | |||||
* | Add error indications to GridEditor. | Aldo Cortesi | 2012-03-23 | 1 | -0/+4 | |
| | ||||||
* | Generalize GridEditor to N columns. | Aldo Cortesi | 2012-03-18 | 1 | -4/+7 | |
| | | | | Start adding a replacement rule editor. | |||||
* | Hooks -> ReplaceHooks | Aldo Cortesi | 2012-03-17 | 1 | -20/+23 | |
| | | | | | It makes more sense to specialize this, which will let me build a nicer interface for replacement hooks in mitmproxy. | |||||
* | Add a hooks mechanism, based on filter expressions. | Aldo Cortesi | 2012-03-16 | 1 | -0/+35 | |
| | ||||||
* | replace() methods now decode and re-encode contents before substitution. | Aldo Cortesi | 2012-03-16 | 1 | -0/+18 | |
| | ||||||
* | Add a decoded context manager. | Aldo Cortesi | 2012-03-16 | 1 | -0/+24 | |
| | | | | | | | | | This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar" | |||||
* | Added tests for ServerPlaybackState with nopop | Valtteri Virtanen | 2012-03-05 | 1 | -0/+12 | |
| | ||||||
* | Fixed old tests | Valtteri Virtanen | 2012-03-05 | 1 | -6/+6 | |
| | ||||||
* | Unit test++. | Aldo Cortesi | 2012-02-25 | 1 | -2/+11 | |
| | ||||||
* | Fix detection of URL-encoded forms. | Aldo Cortesi | 2012-02-24 | 1 | -1/+10 | |
| | | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this. | |||||
* | Create ODictCaseless for headers, use vanilla ODict for everything else. | Aldo Cortesi | 2012-02-20 | 1 | -32/+46 | |
| | ||||||
* | Use ODict for request.get_form_urlencoded and set_form_urlencoded | Aldo Cortesi | 2012-02-20 | 1 | -3/+3 | |
| | ||||||
* | Unit test import cleanups. | Aldo Cortesi | 2012-02-20 | 1 | -3/+3 | |
| | ||||||
* | Use ODict for Request.get_query and Request.set_query | Aldo Cortesi | 2012-02-20 | 1 | -3/+3 | |
| | ||||||
* | Rename Headers class to ODict | Aldo Cortesi | 2012-02-20 | 1 | -51/+13 | |
| | | | | | ODict is an ordered dictionary class that will be useful in many other parts of our API. | |||||
* | Add "p" key binding to connection list view to copy a flow. | Aldo Cortesi | 2012-02-19 | 1 | -0/+2 | |
| | ||||||
* | Add API for duplicating flows. | Aldo Cortesi | 2012-02-18 | 1 | -0/+18 | |
| | ||||||
* | Repair unit tests. | Aldo Cortesi | 2012-02-18 | 1 | -1/+1 | |
| | ||||||
* | 100% test coverage for flow.py | Aldo Cortesi | 2012-02-10 | 1 | -0/+14 | |
| | ||||||
* | Make filter matching act more sensibly. | Aldo Cortesi | 2012-02-10 | 1 | -3/+8 | |
| | ||||||
* | Expand test coverage. | Aldo Cortesi | 2012-02-10 | 1 | -0/+44 | |
| | ||||||
* | Methods for getting and setting form urlencoded data on Request. | Aldo Cortesi | 2012-02-10 | 1 | -0/+12 | |
| | ||||||
* | Add get_query and set_query methods to Request. | Aldo Cortesi | 2012-02-09 | 1 | -5/+28 | |
| | ||||||
* | Code cleanliness - appease pychecker. | Aldo Cortesi | 2011-08-04 | 1 | -7/+3 | |
| | ||||||
* | Request class now has a clean pydoc profile. | Aldo Cortesi | 2011-08-04 | 1 | -2/+2 | |
| | ||||||
* | Further interface cleaning. | Aldo Cortesi | 2011-08-03 | 1 | -5/+5 | |
| | ||||||
* | Clean up interfaces by making some methods pseudo-private. | Aldo Cortesi | 2011-08-03 | 1 | -23/+23 | |
| | ||||||
* | Move all HTTP objects to flow.py | Aldo Cortesi | 2011-08-03 | 1 | -16/+334 | |
| | | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers. | |||||
* | Enable "|" command to run a oneshot script on a single flow. | Aldo Cortesi | 2011-08-03 | 1 | -8/+0 | |
| | ||||||
* | Add script hooks, enable new engine for mitmdump. | Aldo Cortesi | 2011-08-03 | 1 | -10/+26 | |
| | ||||||
* | Unit test++ | Aldo Cortesi | 2011-08-02 | 1 | -0/+23 | |
| | ||||||
* | General cleanup. | Aldo Cortesi | 2011-08-02 | 1 | -1/+1 | |
| | | | | | Cut out unused variables and code, generally shut up pychecker as much as is reasonable. | |||||
* | We no longer need to track clientconnections. | Aldo Cortesi | 2011-08-02 | 1 | -7/+0 | |
| | ||||||
* | Improve performance of loading flows from a file hugely. | Aldo Cortesi | 2011-08-01 | 1 | -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 Cortesi | 2011-08-01 | 1 | -7/+7 | |
| | | | | | The naive approach we used before recalculated the view on every access, and consequently had serious performance problems. | |||||
* | Add utility functions to search and replace strings in flows | Aldo Cortesi | 2011-07-22 | 1 | -0/+15 | |
| | | | | | | | | | | 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 | |||||
* | Introduce an anti-compression command-line argument. | Aldo Cortesi | 2011-07-15 | 1 | -0/+1 | |
| | | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified. | |||||
* | Cast some data read from dump files to str, to prevent unicode promotion. | Aldo Cortesi | 2011-07-01 | 1 | -1/+5 | |
| | | | | | This fixes a bug that caused a traceback when de-serialized requests were replayed. Also adds unit tests for the problem. | |||||
* | Add a new flow loading mechanism. | Aldo Cortesi | 2011-05-15 | 1 | -0/+21 | |
| | | | | | We now simulate the normal connection flow when we load flows. That means that we can run scripts, hooks, sticky cookies, etc. |