Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a WSGI adapter that lets us serve a WSGI app out of mitmproxy. | Aldo Cortesi | 2012-04-24 | 2 | -0/+70 | |
| | | | | | | | | 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 | |
| | ||||||
* | Add an "f" shortcut key to load full body contents. | Aldo Cortesi | 2012-04-08 | 1 | -32/+39 | |
| | ||||||
* | XML/HTML pretty view tweaks. | Aldo Cortesi | 2012-04-07 | 1 | -8/+7 | |
| | ||||||
* | Integrate lxml for pretty-printing HTML and XML. | Aldo Cortesi | 2012-04-07 | 2 | -61/+20 | |
| | | | | | Tackling the pretty-printing performance problem head-on, at the cost of a major dependency. | |||||
* | Serialize requestcount for ClientConnect objects. | Aldo Cortesi | 2012-04-03 | 1 | -1/+2 | |
| | ||||||
* | Add a details page, available from a flow view with the 'X' shortcut | Aldo Cortesi | 2012-04-03 | 1 | -0/+1 | |
| | | | | | At the moment, this shows the upstream SSL certificate details. More fine-grained detail that doesn't fit in the flow view itself will be added. | |||||
* | Minor unit test bump. | Aldo Cortesi | 2012-04-03 | 2 | -2/+10 | |
| | ||||||
* | 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 | 5 | -7/+20 | |
| | | | | | | - 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 proxy.Server to fix a crash when replaying with -n | Aldo Cortesi | 2012-04-02 | 1 | -2/+2 | |
| | ||||||
* | Start rationalizing content views. | Aldo Cortesi | 2012-04-02 | 1 | -23/+11 | |
| | | | | | | We now no longer have distinction between "pretty" view and hex/raw. Instead, we simply a default AUTO view with a global override (M) and a local override (m). | |||||
* | Make "T" pretty view over-ride persistent when switching between flows. | Aldo Cortesi | 2012-04-02 | 1 | -2/+14 | |
| | | | | | We do this by adding a flow settings mechanism to ConsoleState. This is pretty rough at the moment and should become more sophisticated as needed. | |||||
* | Add a variant of cleanBin that escapes newlines and tabs. | Aldo Cortesi | 2012-03-27 | 1 | -0/+10 | |
| | | | | Use this to fix the hex display option. | |||||
* | Add a pretty-viewer for images. | Aldo Cortesi | 2012-03-26 | 6 | -0/+7 | |
| | | | | | This shows basic image information like dimensions, plus extracted EXIF tags and other metadata. | |||||
* | Pretty view now indents Javascript. | Aldo Cortesi | 2012-03-25 | 1 | -1/+6 | |
| | | | | Thanks to the JSBeautifier project, which is now included in the contrib directory. | |||||
* | Re-enable simple multipart form parsing and preview. | Aldo Cortesi | 2012-03-25 | 1 | -0/+26 | |
| | ||||||
* | Refactor pretty view mechanism. | Aldo Cortesi | 2012-03-24 | 2 | -0/+140 | |
| | | | | Also start adding unit tests for this subsystem. | |||||
* | Add error indications to GridEditor. | Aldo Cortesi | 2012-03-23 | 1 | -0/+4 | |
| | ||||||
* | Add a simple parser for content type specifications. | Aldo Cortesi | 2012-03-20 | 1 | -0/+11 | |
| | ||||||
* | Generalize GridEditor to N columns. | Aldo Cortesi | 2012-03-18 | 1 | -4/+7 | |
| | | | | Start adding a replacement rule editor. | |||||
* | 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 | |
| |