Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add coding style check, reformat. | Aldo Cortesi | 2015-05-30 | 1 | -1/+7 |
| | |||||
* | pretty_size now lives in netlib.utils | Aldo Cortesi | 2015-04-30 | 1 | -10/+5 |
| | |||||
* | Housekeeping and cleanups | Aldo Cortesi | 2015-04-14 | 1 | -1/+2 |
| | | | | | | | | - No output to stdout on load in examples - they muck up the test suite. - Use the odict module directly, rather than aliasing it. The small convenience this gives to scripters is not worth it. - Move the cookie tests from the flow test module to the protocol_http test module. | ||||
* | Merge pull request #515 from krzysiekbielicki/master | Maximilian Hils | 2015-03-26 | 1 | -1/+18 |
|\ | | | | | [#514] Add support for ignoring payload params in multipart/form-data | ||||
| * | Added tests | Krzysztof Bielicki | 2015-03-16 | 1 | -1/+18 |
| | | |||||
* | | Replace far-too-clever decorator LRU cache with something simpler | Aldo Cortesi | 2015-03-22 | 1 | -13/+13 |
|/ | |||||
* | fixed formatting and added a 'test' (sort of) | Marcelo Glezer | 2015-03-02 | 1 | -0/+2 |
| | |||||
* | added to flowlist / flowdetail time elapsed between request sent and ↵ | Marcelo Glezer | 2015-02-26 | 1 | -0/+13 |
| | | | | response received | ||||
* | suppress SPDY/HTTP2 announcement headers, fix #277 | Maximilian Hils | 2014-08-03 | 1 | -6/+0 |
| | |||||
* | add advanced proxying options, add SSL-terminating capability to mitmproxy | Maximilian Hils | 2014-03-10 | 1 | -8/+0 |
| | |||||
* | Fix pretty_size unit tests. | Aldo Cortesi | 2013-08-23 | 1 | -1/+1 |
| | |||||
* | Move cleanBin and hexdump into netutils. | Aldo Cortesi | 2012-09-24 | 1 | -11/+0 |
| | |||||
* | removed unused imports | András Veres-Szentkirályi | 2012-07-15 | 1 | -2/+1 |
| | |||||
* | Refactor protocol.py to remove dependence on flow and utils. | Aldo Cortesi | 2012-06-17 | 1 | -26/+0 |
| | |||||
* | Start conversion to nose. | Aldo Cortesi | 2012-06-09 | 1 | -172/+138 |
| | | | | RIP pry. | ||||
* | Fix a crashing bug when replacing text in a flow with unicode bodies. | Aldo Cortesi | 2012-05-25 | 1 | -0/+5 |
| | |||||
* | Integrate lxml for pretty-printing HTML and XML. | Aldo Cortesi | 2012-04-07 | 1 | -58/+0 |
| | | | | | Tackling the pretty-printing performance problem head-on, at the cost of a major dependency. | ||||
* | 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 simple parser for content type specifications. | Aldo Cortesi | 2012-03-20 | 1 | -0/+11 |
| | |||||
* | Cleanliness fixes. | Aldo Cortesi | 2012-03-12 | 1 | -0/+1 |
| | | | | | - Remove unused code during previous commit. - Code coverage fixes. | ||||
* | 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. | ||||
* | Factor out cert operations in to certutils.py. | Aldo Cortesi | 2012-02-29 | 1 | -63/+0 |
| | |||||
* | 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 | 1 | -0/+6 |
| | |||||
* | Add upstream certificate lookup. | Aldo Cortesi | 2012-02-27 | 1 | -3/+15 |
| | | | | | | 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 import cleanups. | Aldo Cortesi | 2012-02-20 | 1 | -3/+3 |
| | |||||
* | 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. | ||||
* | Expand test coverage. | Aldo Cortesi | 2012-02-10 | 1 | -1/+11 |
| | |||||
* | Fix unit tests broken during previous commit. | Aldo Cortesi | 2012-01-21 | 1 | -4/+4 |
| | |||||
* | Add HTTP body size limit specification to command-line tools. | Aldo Cortesi | 2011-09-09 | 1 | -1/+13 |
| | |||||
* | Improve robustness against invalid data. | Aldo Cortesi | 2011-09-05 | 1 | -0/+3 |
| | |||||
* | Code cleanliness - appease pychecker. | Aldo Cortesi | 2011-08-04 | 1 | -1/+1 |
| | |||||
* | Move all HTTP objects to flow.py | Aldo Cortesi | 2011-08-03 | 1 | -104/+25 |
| | | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers. | ||||
* | Unit test++ | Aldo Cortesi | 2011-08-02 | 1 | -0/+7 |
| | |||||
* | General cleanup. | Aldo Cortesi | 2011-08-02 | 1 | -23/+1 |
| | | | | | Cut out unused variables and code, generally shut up pychecker as much as is reasonable. | ||||
* | Add utility functions to search and replace strings in flows | Aldo Cortesi | 2011-07-22 | 1 | -0/+9 |
| | | | | | | | | | | 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 support for content encoding, namely gip and deflate | alts | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | Add a pretty-printing mode for urlencoded form data. | Aldo Cortesi | 2011-07-15 | 1 | -0/+7 |
| | |||||
* | Rewrite Headers object to preserve order and case. | Aldo Cortesi | 2011-07-14 | 1 | -92/+22 |
| | |||||
* | JSON pretty-printing. | Aldo Cortesi | 2011-06-30 | 1 | -1/+9 |
| | | | | | Also rename the display modes ("pretty" instead of "indent"), and expand the built-in documentation. | ||||
* | Try not to hang when user views large request & response bodies | Aldo Cortesi | 2011-06-27 | 1 | -0/+8 |
| | | | | | | | | | | Two different strategies here: - Use a simple heuristic to detect if we're looking at XML data when indent mode is used. On non-XML data we can hang even on small documents. - Only view partial data for large bodies. At the moment the cutoff is 100k. I might finetune this later. | ||||
* | Add a hideous kludge to fix not-yet-valid certificates. | Aldo Cortesi | 2011-06-11 | 1 | -0/+2 |
| | | | | | | | | | | | | - The OpenSSL x509 has no way to explicitly set the notBefore value on certificates. - If two systems have the same configured time, it's possible to return a certificate before the validity start time has arrived. - We "solve" this by waiting for one second when a certificate is first generated before returning the cert. The alternative is to rewrite pretty much all of our certificate generation, a thought too horrible to contemplate. | ||||
* | Revamp key generation. | Aldo Cortesi | 2011-03-18 | 1 | -0/+6 |
| | | | | | | | | | | | We now create three different files in the .mitmproxy directory when a dummy CA is made: mitmproxy-ca.pem - the CA, including private key mitmproxy-ca-cert.p12 - A pkcs12 version of the certificate, for distribution to Windows. mitmproxy-ca-cert.pem - A PEM version of the certificate, for distribution to everyone else. | ||||
* | Improve responsiveness of request and response viewing. | Aldo Cortesi | 2011-03-15 | 1 | -0/+31 |
| | | | | | | | | - Computing the view of a large body is expensive, so we introduce an LRU cache to hold the latest 20 results. - Use ListView more correctly, passing it individual urwid.Text snippets, rather than a single large one. This hugely improves render time. | ||||
* | Store timestamps on flow components as a UTC time tuple. | Aldo Cortesi | 2011-03-07 | 1 | -1/+1 |
| | | | | | | Format is: (tm_year,tm_mon,tm_mday,tm_hour,tm_min, tm_sec,tm_wday,tm_yday,tm_isdst) | ||||
* | Minor housekeeping - unused code, nocover directives. | Aldo Cortesi | 2011-02-24 | 1 | -3/+0 |
| | | | | 95% test coverage. | ||||
* | Revamp SSL configuration. | Aldo Cortesi | 2011-02-20 | 1 | -0/+6 |
| | | | | | | | | - Move option parsing utiliities to proxy.py - Don't have a global config object. Pass it as an argument to ProxyServer. - Simplify certificate generation logic. |