Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand SSL cert support | Aldo Cortesi | 2012-04-02 | 4 | -6/+51 |
| | | | | | | - Capture the remote SSL certificate - Expose the remote cert as an attribute on Response - Expand the certutils.SSLCert interface to expose more cert info | ||||
* | Nicer coloring for HTTP response codes. | Aldo Cortesi | 2012-04-02 | 2 | -10/+17 |
| | | | | | | | | 20x: green 30x: blue 40x: orange 50x: light red other (non-standard or uncommon): dark red | ||||
* | Refactor proxy.Server to fix a crash when replaying with -n | Aldo Cortesi | 2012-04-02 | 3 | -8/+21 |
| | |||||
* | Make it clearer when we fall back to Raw. | Aldo Cortesi | 2012-04-02 | 1 | -2/+5 |
| | |||||
* | Add an option to allow clearing of display mode override. | Aldo Cortesi | 2012-04-02 | 1 | -1/+3 |
| | |||||
* | More sensible display mode override indicator. | Aldo Cortesi | 2012-04-02 | 1 | -29/+26 |
| | |||||
* | Only cache the calculated body of a view. | Aldo Cortesi | 2012-04-02 | 1 | -13/+16 |
| | | | | This simplifies the code, and loses no time. | ||||
* | Move "M" shortcut key to global scope. | Aldo Cortesi | 2012-04-02 | 4 | -31/+64 |
| | | | | You now don't have to be viewing a flow to change global default view. | ||||
* | Start rationalizing content views. | Aldo Cortesi | 2012-04-02 | 3 | -125/+112 |
| | | | | | | 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 | 2 | -16/+33 |
| | | | | | 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. | ||||
* | Tune content viewing to maintain responsiveness: | Aldo Cortesi | 2012-04-01 | 1 | -7/+7 |
| | | | | | | - Reduce display cutoff to 20k. - Make sure that we only indent the visible part of a JS body, not the whole thing. | ||||
* | Fix GridEditor external edit functionality. | Aldo Cortesi | 2012-03-30 | 1 | -1/+1 |
| | |||||
* | When paging through flows in flowview, indicate when there are no more flows. | Aldo Cortesi | 2012-03-28 | 1 | -1/+2 |
| | |||||
* | Generate better-formed CAs. | Aldo Cortesi | 2012-03-27 | 1 | -3/+4 |
| | | | | | If you're having trouble with your certs in Firefox, you may want to delete your .mitmproxy directory to re-generate the CA. | ||||
* | Add a variant of cleanBin that escapes newlines and tabs. | Aldo Cortesi | 2012-03-27 | 1 | -3/+10 |
| | | | | Use this to fix the hex display option. | ||||
* | Add image pretty viewer to forcing options. | Aldo Cortesi | 2012-03-26 | 2 | -4/+16 |
| | |||||
* | Don't auto-view request if there's no response. | Aldo Cortesi | 2012-03-26 | 1 | -1/+1 |
| | | | | This is confusing when flicking through many flows. | ||||
* | Add a pretty-viewer for images. | Aldo Cortesi | 2012-03-26 | 1 | -1/+45 |
| | | | | | This shows basic image information like dimensions, plus extracted EXIF tags and other metadata. | ||||
* | Add Javascript to manual pretty type over-rides. | Aldo Cortesi | 2012-03-25 | 1 | -1/+4 |
| | |||||
* | Re-enable caching for content view calculation. | Aldo Cortesi | 2012-03-25 | 1 | -1/+6 |
| | |||||
* | Pretty view now indents Javascript. | Aldo Cortesi | 2012-03-25 | 11 | -5/+1601 |
| | | | | 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 | -27/+40 |
| | |||||
* | Refactor pretty view mechanism. | Aldo Cortesi | 2012-03-24 | 3 | -85/+95 |
| | | | | Also start adding unit tests for this subsystem. | ||||
* | Factor out content view apparatus into contentview.py | Aldo Cortesi | 2012-03-24 | 4 | -180/+192 |
| | |||||
* | Add error indications to GridEditor. | Aldo Cortesi | 2012-03-23 | 3 | -20/+58 |
| | |||||
* | Add modal help to GridEditor. | Aldo Cortesi | 2012-03-22 | 5 | -27/+34 |
| | | | | Also includes some minor refactoring and documentation stubs. | ||||
* | More work on pretty view forcing. | Aldo Cortesi | 2012-03-20 | 2 | -23/+23 |
| | | | | | | | - Make this setting apply only to the currently viewed flow. I think it's more likely that this is the behaviour the user will want, rather than globally setting the pretty type. - Update help. | ||||
* | Refactor pretty view forcing somewhat. | Aldo Cortesi | 2012-03-20 | 4 | -25/+36 |
| | | | | | | | - Use a lookup table of content types -> view modes. - Add a urlencoded forcing. Remove "html" - at the moment it's the same as "xmlish". - Display type when forced. | ||||
* | Add a simple parser for content type specifications. | Aldo Cortesi | 2012-03-20 | 2 | -0/+28 |
| | |||||
* | Allow a flow view's pretty-printed body type auto-detection to be overridden ↵ | Ulrich Petri | 2012-03-19 | 3 | -12/+74 |
| | | | | by the user | ||||
* | Grid editor refinements. | Aldo Cortesi | 2012-03-19 | 1 | -2/+3 |
| | | | | | | | - Correct column width calculation used in keystrokes. Arrow keys should now work as expected in multi-line fields. - Enable multi-line editing throughout. You now need to tab or esc to exit edit mode. | ||||
* | Add column headers to GridEditor. | Aldo Cortesi | 2012-03-19 | 1 | -21/+48 |
| | |||||
* | Specialize GridEditor into a number of subclasses. | Aldo Cortesi | 2012-03-19 | 4 | -17/+46 |
| | |||||
* | Generalize GridEditor to N columns. | Aldo Cortesi | 2012-03-18 | 4 | -34/+62 |
| | | | | Start adding a replacement rule editor. | ||||
* | KVEditor -> GridEditor | Aldo Cortesi | 2012-03-18 | 4 | -18/+18 |
| | |||||
* | Move mitmproxy reverse proxy shortcut to "P". | Aldo Cortesi | 2012-03-18 | 3 | -4/+5 |
| | | | | Also don't expose help from the help screen. | ||||
* | Fix unit tests. | Aldo Cortesi | 2012-03-17 | 1 | -2/+3 |
| | |||||
* | Add specification of replacement patterns on the command line. | Aldo Cortesi | 2012-03-17 | 3 | -1/+104 |
| | |||||
* | Hooks -> ReplaceHooks | Aldo Cortesi | 2012-03-17 | 1 | -17/+19 |
| | | | | | 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 | 3 | -8/+54 |
| | |||||
* | replace() methods now decode and re-encode contents before substitution. | Aldo Cortesi | 2012-03-16 | 1 | -9/+23 |
| | |||||
* | Add a decoded context manager. | Aldo Cortesi | 2012-03-16 | 1 | -0/+28 |
| | | | | | | | | | 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" | ||||
* | Set a "unique" serial number for each generated cert. | Aldo Cortesi | 2012-03-14 | 2 | -4/+4 |
| | |||||
* | Cleanliness fixes. | Aldo Cortesi | 2012-03-12 | 1 | -95/+2 |
| | | | | | - Remove unused code during previous commit. - Code coverage fixes. | ||||
* | Use PyOpenSSL for certificate generation. | Aldo Cortesi | 2012-03-11 | 2 | -42/+65 |
| | | | | We no longer call external OpenSSL commands at all. | ||||
* | Replace CA generation with PyOpenSSL version. | Aldo Cortesi | 2012-03-11 | 2 | -104/+47 |
| | | | | We no longer call an external command. | ||||
* | Merge remote-tracking branch 'meeee/master' | Aldo Cortesi | 2012-03-10 | 1 | -2/+6 |
|\ | |||||
| * | Fix SSL requests with Transfer-Encoding: chunked | Michael Frister | 2012-03-08 | 1 | -1/+5 |
| | | | | | | | | Add size parameter to FileLike.readline, used by read_chunked. | ||||
| * | Handle Transfer-Encoding header values case insensitive | Michael Frister | 2012-03-08 | 1 | -1/+1 |
| | | | | | | | | According to HTTP/1.1 RFC 2616 Section 3.6. | ||||
* | | Repair unit tests after nopop introduction. | Aldo Cortesi | 2012-03-10 | 1 | -1/+3 |
| | |