aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* docs: logging and the contextAldo Cortesi2016-10-161-0/+6
|
* docs: overview, classes, argumentsAldo Cortesi2016-10-163-21/+24
|
* use flowfilter.matchThomas Kriechbaumer2016-10-031-4/+5
|
* rename mitmproxy.filt -> mitmproxy.flowfilterThomas Kriechbaumer2016-10-031-3/+3
|
* Fixes - #1555 sslstrip.py flow.response.headers (#1556)phackt2016-09-251-2/+14
| | | | | | | | | | * Fixes - #1555 sslstrip.py flow.response.headers * #1557 - add enhancements in inline script sslstrip.py with upgrade-insecure-requests stripping * #1557 - update to match python style guide * #1555, #1556, update to a bytes pattern
* Added a description to the shim loader, and renamed it.smill2016-09-141-0/+8
|
* Improved error-handling / supplemented documention.smill2016-09-041-0/+79
|
* Improve the way we handle upstream errorsAldo Cortesi2016-09-011-2/+2
| | | | | | | - Don't log a traceback for either HTTP or HTTPS DNS resolution or TCP connection errors. These are "ordinary" errors, not mitmproxy issues. - Ensure that the error handler is correctly called for SSL-related protocol errors.
* Adjust flowbasic example for Options API changesAldo Cortesi2016-09-011-11/+13
|
* introduce Response.make for simple response creationMaximilian Hils2016-08-231-6/+1
|
* Fix issue with binary content in jsonShadab Zafar2016-08-151-2/+3
|
* Use postData field in PUT, PATCH requests tooShadab Zafar2016-08-151-1/+1
| | | | | The HAR spec isn't really clear on whether this should be the case, but Google Chrome does this, so I think we should too.
* Refactor format_cookiesShadab Zafar2016-08-151-6/+6
|
* Support .zhar compressionShadab Zafar2016-08-151-2/+5
|
* Add text field to response contentShadab Zafar2016-08-151-2/+11
|
* Add serverIPAddress fieldShadab Zafar2016-08-151-0/+3
|
* Add postData fieldShadab Zafar2016-08-151-2/+11
|
* Add SSL & Connect timingsShadab Zafar2016-08-151-6/+22
|
* Add a ctx.log on finishShadab Zafar2016-08-151-2/+4
|
* Open JSON file in text modeShadab Zafar2016-08-151-1/+1
|
* Simplify name_valueShadab Zafar2016-08-151-11/+1
|
* Fix wrong importShadab Zafar2016-08-151-1/+1
|
* Improve cookies formattingShadab Zafar2016-08-151-4/+19
|
* Format Cookies according to the HAR SpecShadab Zafar2016-08-151-5/+29
|
* Remove pages objectShadab Zafar2016-08-151-1/+0
| | | | | | | The HAR Spec says that the field can be left out by applications that don't group by pages. http://www.softwareishard.com/blog/har-12-spec/#log
* Welcome har_dumpShadab Zafar2016-08-151-0/+145
|
* Goodbye har_extractorShadab Zafar2016-08-151-264/+0
|
* make the linter happyMaximilian Hils2016-07-231-1/+1
|
* add remote debug exampleMaximilian Hils2016-07-231-0/+19
|
* Addon iface: .configure(options) -> .configure(options, updated)Aldo Cortesi2016-07-231-1/+1
|
* scripts: refactor some examples that keep global stateAldo Cortesi2016-07-233-39/+43
| | | | We now have a better way to do this.
* Merge remote-tracking branch 'origin/master' into message-body-encodingMaximilian Hils2016-07-1523-100/+140
|\
| * Fix HAR extractorAldo Cortesi2016-07-151-3/+5
| | | | | | | | Thanks to @mhils
| * Adjust concurrent tests for start methodAldo Cortesi2016-07-151-2/+0
| |
| * Add .start for addons and scriptsAldo Cortesi2016-07-159-8/+17
| | | | | | | | Also improve error messages, fix various unit tests
| * Convert examples and example tests for new-style scriptsAldo Cortesi2016-07-149-11/+11
| | | | | | | | | | Remove the test that just loads all the example scripts for now - it's a very low-value test, and we need to think of something better.
| * move script context to mitmproxy.ctxMaximilian Hils2016-07-085-18/+18
| |
| * remove script contextsMaximilian Hils2016-07-071-3/+4
| |
| * remove context from all scriptsMaximilian Hils2016-07-0723-85/+107
| |
| * py3++Maximilian Hils2016-07-072-2/+2
| |
| * disable harparser on py3Maximilian Hils2016-07-071-0/+6
| |
| * py3++Maximilian Hils2016-07-062-4/+5
| |
| * remove clean_bin, clarify unicode handlingMaximilian Hils2016-07-051-6/+8
| |
* | update examples: no decoded() anymore :tada:Maximilian Hils2016-07-027-54/+46
|/
* Make har_extractor.py output HAR 1.2 spec-compliantTai Dickerson2016-06-141-1/+3
| | | | | | | | HAR files were failing to load in harviewer (http://www.softwareishard.com/har/viewer/) due to: - ISO 8601 dates for startedDateTime missing timezone (http://www.softwareishard.com/blog/har-12-spec/#pages) -- Used UTC but could add detection of default system timezone if desired - pages object missing pageTimings (http://www.softwareishard.com/blog/har-12-spec/#pageTimings) -- Used {} because all child fields are optional
* update examples, tests, docsMaximilian Hils2016-06-1311-26/+31
|
* Simplify script concurrency helpersAldo Cortesi2016-06-081-2/+2
| | | | We now have take() to prevent double-replies.
* A new interface for replyAldo Cortesi2016-06-082-2/+2
| | | | | | | | | | | Reply is now explicit - it's no longer a callable itself. Instead, we have: reply.kill() - kill the flow reply.ack() - ack, but don't send anything reply.send(message) - send a response This is part of an incremental move to detach reply from our flow objects, and unify the script and handler interfaces.
* Shift a bunch more string-related functions to strutilsAldo Cortesi2016-06-021-2/+3
|
* Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-021-2/+2
| | | | Extract a number of string and format-related functions to netlib.strutils.