aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* added add-ons that enhance the performance of web application scanners. (#3961)anneborcherding2020-05-046-0/+646
| | | | | * added add-ons that enhance the performance of web application scanners. Co-authored-by: weichweich <14820950+weichweich@users.noreply.github.com>
* Improve compatibility of wsgi_flask_app example on OS Xsenyuuri2020-04-291-2/+2
|
* examples: reformat to prevent too long linesThomas Kriechbaumer2020-04-113-35/+48
|
* Merge pull request #3846 from kimbo/kl/block-dohThomas Kriechbaumer2020-04-052-0/+178
|\ | | | | Example for detecting/blocking DNS over HTTTPS queries
| * broke up long line into multiple lineskimbo2020-04-041-1/+54
| |
| * replace scraping and DNS lookups with static listkimbo2020-04-041-127/+3
| |
| * fix lint errorskimbo2020-03-041-3/+17
| |
| * add block doh example to examples/complex/READMEkimbo2020-03-041-0/+1
| |
| * example for blocking DNS queries over HTTPSkimbo2020-03-041-0/+234
| |
* | improve scripting docsThomas Kriechbaumer2020-04-046-96/+113
| |
* | lint!Maximilian Hils2020-04-031-1/+0
| |
* | fix nonblocking exampleMaximilian Hils2020-04-031-3/+3
|/ | | this fixes #3877
* 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