Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add specification of replacement patterns on the command line. | Aldo Cortesi | 2012-03-17 | 2 | -0/+62 |
| | |||||
* | 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" | ||||
* | Cleanliness fixes. | Aldo Cortesi | 2012-03-12 | 1 | -0/+1 |
| | | | | | - Remove unused code during previous commit. - Code coverage fixes. | ||||
* | Merge remote-tracking branch 'taiste/server-replay-pop' | Aldo Cortesi | 2012-03-10 | 1 | -6/+18 |
|\ | |||||
| * | 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 |
| | | |||||
* | | Create an SSL certificate class. | Aldo Cortesi | 2012-03-05 | 1 | -8/+6 |
|/ | |||||
* | Removed imports left unused after Py{OpenSSL,ASN1} | András Veres-Szentkirályi | 2012-03-01 | 1 | -1/+1 |
| | | | | | | Commits 533f61f67aab38f5bce882ad0dc03b7b5f292956 and 8b841bc9e370370716b473f26e001c65e2eee2af left some imports unused while swithing to PyOpenSSL and PyASN1 -- this commit removes these imports. | ||||
* | Use PyOpenSSL and PyASN1 for certificate parsing. | Aldo Cortesi | 2012-03-01 | 4 | -149/+191 |
| | | | | | Yes, these are two more major dependencies for mitmproxy, but if we're going to do all the cool things I want to do with SSL certs, there is no other way. | ||||
* | Factor out cert operations in to certutils.py. | Aldo Cortesi | 2012-02-29 | 2 | -63/+69 |
| | |||||
* | Repair unit tests. | Aldo Cortesi | 2012-02-27 | 1 | -3/+2 |
| | |||||
* | Fix cert generation harder. | Aldo Cortesi | 2012-02-27 | 1 | -1/+3 |
| | |||||
* | Better certificate parsing. | Aldo Cortesi | 2012-02-27 | 4 | -1/+114 |
| | |||||
* | Add upstream certificate lookup. | Aldo Cortesi | 2012-02-27 | 3 | -3/+76 |
| | | | | | | This initiates a connection to the server to obtain certificate information to generate interception certificates. At the moment, the information used is the Common Name, and the list of Subject Alternative Names. | ||||
* | Unit test++. | Aldo Cortesi | 2012-02-25 | 4 | -5/+30 |
| | |||||
* | Fix detection of URL-encoded forms. | Aldo Cortesi | 2012-02-24 | 1 | -1/+10 |
| | | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this. | ||||
* | Make "~q" filter work more intuitively. | Aldo Cortesi | 2012-02-23 | 1 | -4/+2 |
| | | | | It now matches any flow that has no response. | ||||
* | Refactor filter matching. | Aldo Cortesi | 2012-02-23 | 1 | -14/+20 |
| | |||||
* | Create ODictCaseless for headers, use vanilla ODict for everything else. | Aldo Cortesi | 2012-02-20 | 3 | -36/+50 |
| | |||||
* | 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 | 9 | -19/+14 |
| | |||||
* | 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 | 4 | -58/+62 |
| | | | | | 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 |
| | |||||
* | Firm up what we consider to be a valid proxy spec. | Aldo Cortesi | 2012-02-18 | 1 | -0/+1 |
| | |||||
* | Firm up reverse proxy specification. | Aldo Cortesi | 2012-02-18 | 1 | -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 proxying | Aldo Cortesi | 2012-02-18 | 1 | -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 Cortesi | 2012-02-18 | 2 | -32/+1 |
| | |||||
* | 100% test coverage for flow.py | Aldo Cortesi | 2012-02-10 | 2 | -0/+16 |
| | |||||
* | Make filter matching act more sensibly. | Aldo Cortesi | 2012-02-10 | 2 | -4/+9 |
| | |||||
* | Add filter for detecting flows with errors. | Aldo Cortesi | 2012-02-10 | 1 | -1/+9 |
| | | | | Also, remove dependency on weird _is_response method. | ||||
* | Expand test coverage. | Aldo Cortesi | 2012-02-10 | 5 | -3/+65 |
| | |||||
* | 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 |
| | |||||
* | Refactor console. | Aldo Cortesi | 2012-02-07 | 1 | -11/+12 |
| | | | | Split the console implementation out into logical components. | ||||
* | Fix unit tests broken during previous commit. | Aldo Cortesi | 2012-01-21 | 1 | -4/+4 |
| | |||||
* | Fix an issue caused by some editors when editing a request/response body. | Aldo Cortesi | 2012-01-21 | 3 | -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. Haase | 2011-12-28 | 1 | -0/+8 |
| | |||||
* | Add HTTP body size limit specification to command-line tools. | Aldo Cortesi | 2011-09-09 | 1 | -1/+13 |
| | |||||
* | Basic infrastructure for request and response body size limits. | Aldo Cortesi | 2011-09-09 | 2 | -6/+37 |
| | |||||
* | Improve robustness against invalid data. | Aldo Cortesi | 2011-09-05 | 1 | -0/+3 |
| | |||||
* | Add attribution and license for tnetstring.py | Aldo Cortesi | 2011-08-19 | 1 | -0/+1 |
| | |||||
* | Move to typed netstrings for serialization. | Aldo Cortesi | 2011-08-19 | 1 | -65/+0 |
| | | | | This change is backwards incompatible with the old serialization format! | ||||
* | Code cleanliness - appease pychecker. | Aldo Cortesi | 2011-08-04 | 8 | -18/+11 |
| | |||||
* | Move script.Context to flow.ScriptContext | Aldo Cortesi | 2011-08-04 | 1 | -5/+8 |
| | |||||
* | Request class now has a clean pydoc profile. | Aldo Cortesi | 2011-08-04 | 3 | -5/+5 |
| |