aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Address lintbeth2020-01-201-2/+2
|
* Update WSGI examplebeth922020-01-201-4/+4
|
* Fix converting to HAR in case of void responseShrub, Aliaksei2019-11-291-2/+2
|
* Merge pull request #3693 from typoon/fix-command-bar-issue-3259Maximilian Hils2019-11-211-2/+2
|\ | | | | Improve Command Bar UX
| * adjust remote debug example to latest pycharm versionMaximilian Hils2019-11-181-2/+2
| |
* | cleanup mypy usageMaximilian Hils2019-11-163-1/+4
|/
* update mypyMaximilian Hils2019-11-121-2/+2
|
* bump depsThomas Kriechbaumer2019-09-282-0/+0
|
* fix lintingThomas Kriechbaumer2019-09-281-1/+1
|
* make dict comprehension more readableMaximilian Hils2019-09-051-1/+4
|
* Updated har_dump,py timings dictionary functionRamiBerm2019-09-031-1/+1
| | | | | | the HAR file spec (http://www.softwareishard.com/blog/har-12-spec/#timings) states that timings that do not apply for a certain requests should be set to -1, this example may set -1000 as a timings value for certain requests. This ends up producing invalid HAR files in many cases. My proposed fix is to assign -1 into the dic and only multiply by 1000 for other values
* Merge pull request #3444 from BoboTiG/fix-resource-leaksMaximilian Hils2019-01-061-3/+3
|\ | | | | Fix ResourceWarning: unclosed file, prevent resource leaks
| * Fix ResourceWarning: unclosed file, prevent resource leaksMickaël Schoentgen2019-01-061-3/+3
| | | | | | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* | Fix several DeprecationWarning: invalid escape sequenceMickaël Schoentgen2019-01-052-3/+3
|/ | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* Corrected keep_host_header usage optionAlex Lauerman2018-10-251-1/+1
| | | I tested this locally to verify this change is correct.
* Added link_expander.py example to simple examples (#3348)jbrule2018-10-122-0/+29
|
* add websocket exampleThomas Kriechbaumer2018-10-091-0/+13
|
* [examples/xss_scanner] replace relative importDavid Kremer2018-08-151-3/+3
| | | | | | | | | | | | | test_xss_scanner.py was utterly failing because of a trouble (bug?) with the `monkeypatch` fixture failing to replace `gethostbyname` with the correct mock function. Indeed, when stepping through the code, the `gethostbyname` presumably mocked was reported as a builtin python function. The problem could then come from the fact that it is hard to monkeypatch builtin function in python. Using absolute imports seems to resolve the problem.
* Merge pull request #3186 from andersonvom/masterAldo Cortesi2018-07-111-0/+0
|\ | | | | Add scripting example to intercept & change requests
| * Rename scripting fileAnderson Mesquita2018-06-081-0/+0
| | | | | | | | | | In order to add the more scripting examples, it makes sense to rename this file and avoid confusion.
* | Update CLI usage instructionsPierre Cavan2018-06-261-3/+3
| |
* | View API slightly extended; codebase cleaned in some pointsmadt1m2018-06-131-1/+1
|/
* typoMiroslav2018-05-271-1/+1
|
* websocket: inject messages via flowThomas Kriechbaumer2018-05-161-0/+23
|
* docs: console key binding docs and exampleAldo Cortesi2018-05-151-0/+11
|
* Fixing TyposJoaquin2018-05-132-2/+2
|
* fix tcp exampleThomas Kriechbaumer2018-05-111-12/+11
|
* Merge pull request #3106 from cortesi/noprintMaximilian Hils2018-05-084-9/+8
|\ | | | | Ditch the addon stdout wrapper
| * Ditch the addon stdout wrapperAldo Cortesi2018-05-084-9/+8
| | | | | | | | | | | | This results in a 30% improvement in our core request throughput. Fixes #3102
* | har_dump example cmdline invocation0xHJK2018-05-081-0/+6
|/
* events: document behaviour of done() more fullyAldo Cortesi2018-05-081-2/+6
|
* Merge pull request #3097 from cortesi/exampAldo Cortesi2018-05-051-4/+10
|\ | | | | Revamp dup_and_replay example
| * Revamp dup_and_replay exampleAldo Cortesi2018-05-051-4/+10
| | | | | | | | | | | | | | | | - Exposes view.add as a command - Copes with cases where a view addon isn't present - Avoids infinite loop caused by replaying replays Fixes #3096
* | Remove the tick eventAldo Cortesi2018-05-021-5/+0
|/ | | | Mitmproxy: the tickless wonder.
* fix Python 3.6 variable type annotations #3053oscure762018-04-145-9/+9
|
* fix example filenameThomas Kriechbaumer2018-04-131-1/+1
|
* Typo fixBarry Lee2018-03-101-4/+4
|
* Merge pull request #2922 from kajojify/new_exampleAldo Cortesi2018-02-262-16/+9
|\ | | | | Replaces upsidedown with mirror reflection
| * Replace upsidedown with mirror reflectionMiroslav2018-02-252-16/+9
| |
* | Misc. typosluz.paz2018-02-244-7/+7
|/ | | | | | | | | | | | | | Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt` Where whitelist contains: ``` cas doubleclick nd ot seeked statics te thru ```
* All new documentationAldo Cortesi2018-02-229-0/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch does a lot. - Ditch sphinx in favor of hugo. This gives us complete control of the layout and presentation of our docs. Henceforth, docs will be hosted on our website rather than ReadTheDocs. - Create a simple, clean doc layout and theme. - Remove large parts of the documentaion. I've ditched anything that was a) woefully out of date, b) too detailed, or c) too hard to maintain in the long term. - Huge updates to the docs themselves: completely rewrite addons documentation, add docs for core concepts like commands and options, and revise and tweak a lot of the existing docs. With this patch, we're also changing the way we publish and maintain the docs. From now on, we don't publish docs for every release. Instead, the website will contain ONE set of docs for each major release. The online docs will be updated if needed as minor releases are made. Docs are free to improve during minor releases, but anything that changes behaviour sufficiently to require a doc change warrants a new major release. This also leaves us free to progressively update and improve docs out of step with our release cadence. With this new scheme, I feel CI over the docs is less important. I've removed it for now, but won't object if someone wants to add it back in.
* Merge pull request #2884 from kajojify/hotkeys-cleanupMaximilian Hils2018-02-201-4/+0
|\ | | | | Hotkeys cleanup. #2877
| * Hotkeys cleanupMiroslav2018-02-201-4/+0
| |
* | update log_events example documentationMaximilian Hils2018-02-201-3/+1
| |
* | add documentation for custom_option.pyMaximilian Hils2018-02-201-0/+10
|/
* Extend mypy checking, fix #2194 (#2819)Arushit Mudgal2018-02-034-49/+62
|
* Fix mistakes in examples/simple/Readme.md.Aniket Panjwani2018-01-291-16/+16
| | | | | 1. Delete row for script_arguments.py. 2. Add row for custom_option.py, using script_arguments.py's Description.
* rename TLS/SSL-related attributesThomas Kriechbaumer2018-01-062-3/+3
| | | | | | SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for attributes.
* Added scanning for CSS injection and iframe injectionDavid Dworken2017-10-171-5/+10
|
* fix #2477 (#2556)Suraj Tripathi2017-09-011-1/+1
|