aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/xss_scanner.py
Commit message (Collapse)AuthorAgeFilesLines
* cleanup mypy usageMaximilian Hils2019-11-161-0/+2
|
* update mypyMaximilian Hils2019-11-121-2/+2
|
* Fix several DeprecationWarning: invalid escape sequenceMickaël Schoentgen2019-01-051-1/+1
| | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* [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.
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-2/+2
|
* Misc. typosluz.paz2018-02-241-4/+4
| | | | | | | | | | | | | | Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt` Where whitelist contains: ``` cas doubleclick nd ot seeked statics te thru ```
* Extend mypy checking, fix #2194 (#2819)Arushit Mudgal2018-02-031-41/+46
|
* Added scanning for CSS injection and iframe injectionDavid Dworken2017-10-171-5/+10
|
* fix #2477 (#2556)Suraj Tripathi2017-09-011-1/+1
|
* added XSS scanner example (#1907)David Dworken2017-02-271-0/+407