aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | Fix command injection when exporting to curlMatías Lang2019-01-131-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command generated by `export.clip curl @focus` or `export.file curl @focus /path/to/file` wasn't being properly escaped so it could contain a malicious command instead of just a simple curl.
| * | | | | Merge pull request #3420 from rjt-gupta/multipart-fixMaximilian Hils2019-11-152-3/+41
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | multipart-fix
| | * | | | test coverage improvedrjt-gupta2019-02-061-0/+19
| | | | | |
| | * | | | multipart encoder and testsrjt-gupta2019-02-062-4/+22
| | | | | |
| | * | | | multipart-fixrjt-gupta2019-02-061-2/+3
| | | | | |
* | | | | | Adding raw_request and raw_response to exportMichael McKeirnan2019-11-161-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a proposed change for https://github.com/mitmproxy/mitmproxy/issues/3701 which alters the behavior of a raw http export to include both the request and the response. Additionally, this introduces two new export options "raw_request" and "raw_response" which allow for exporting the raw HTTP request or response individually.
* | | | | | Adding export raw http responseMichael McKeirnan2019-11-151-8/+30
|/ / / / / | | | | | | | | | | | | | | | | | | | | Adding a new export type for raw http response, and changing export raw to export raw_request to distinguish between the two. This is a proposed change for https://github.com/mitmproxy/mitmproxy/issues/3701
* | | | | Merge pull request #3691 from mhils/sans-io-adjustmentsMaximilian Hils2019-11-121-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Update mypy, sans-io adjustments
| * | | | update mypyMaximilian Hils2019-11-121-1/+1
| | | | |
| * | | | minor improvements and sans-io adjustmentsMaximilian Hils2019-11-112-2/+2
| | | | |
* | | | | Merge pull request #3679 from tomlabaude/pf_ipv6Maximilian Hils2019-11-072-0/+11
|\ \ \ \ \ | | | | | | | | | | | | Added support for IPv6 in pf.py for macOS
| * | | | | pfctl state output always have 2 lines for each socket. Adding outgoing ↵Tom2019-11-052-0/+11
| |/ / / / | | | | | | | | | | | | | | | lines in data which matches lines before incoming ones. Also adding IPv6 data and tests
* / / / / make duration formatting more forgivingMaximilian Hils2019-11-071-0/+1
|/ / / /
* | | | several fixes on command exports has several problems: #3676Yoann L2019-10-281-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * authority can usually rely on actual URL. as `:authority` headers will break curl command. (advise if it's better to change them to Host, or if it should be reported on curl side) * `content-length`: 0 is added for each request. if it's found in the curl argument list, it'll try to fetch an empty body (and crash). also trying to guess on accept-encoding header to add the `--compress` option when fetching potentially compressed content. * ditto for httpie
* | | | Move onboardingapp from tornado to flask (#3661)Maximilian Hils2019-10-062-1/+0
| | | |
* | | | Add key_size option to define rsa key size (#3657)vin012019-09-301-10/+10
| | | |
* | | | bump more depsThomas Kriechbaumer2019-09-282-8/+8
| | | |
* | | | bump depsThomas Kriechbaumer2019-09-282-7/+7
| | | |
* | | | Merge pull request #3464 from rjt-gupta/url-fixThomas Kriechbaumer2019-09-281-0/+16
|\ \ \ \ | | | | | | | | | | Non ascii characters in url
| * | | | non ascii fix and testsrjt-gupta2019-02-031-0/+16
| |/ / /
* | | | Merge pull request #3486 from rjt-gupta/unicode-filterThomas Kriechbaumer2019-09-281-0/+23
|\ \ \ \ | | | | | | | | | | filter unicode fix
| * | | | filter unicode fixrjt-gupta2019-02-241-0/+23
| |/ / /
* | | | Merge pull request #3526 from pierlon/feature/allow-hostsThomas Kriechbaumer2019-09-282-2/+58
|\ \ \ \ | | | | | | | | | | Add --allow_hosts option
| * | | | Verify ignore_hosts & allow_hosts are mutually exclusivePierre Gordon2019-04-191-0/+9
| | | | |
| * | | | Add --allow_hosts optionPierre Gordon2019-04-191-2/+49
| |/ / / | | | | | | | | | | | | Closes #3295
* | | | Merge pull request #3631 from mhils/lintMaximilian Hils2019-09-052-14/+14
|\ \ \ \ | | | | | | | | | | Fix CI
| * | | | lintMaximilian Hils2019-09-052-14/+14
| | | | |
* | | | | encoding: add support for zstd (zstandard)Tero Saaristo2019-09-051-0/+1
|/ / / / | | | | | | | | | | | | Handles zstandard-compressed bodies labeled as zstd.
* / / / update formatdate for cookies and tests to use GMT formattingAnthony Biondo2019-04-161-1/+1
|/ / /
* | | Merge pull request #3437 from yan12125/fix-tests-on-mojaveThomas Kriechbaumer2019-01-261-1/+5
|\ \ \ | |_|/ |/| | Fix a failing test on macOS Mojave
| * | Fix a failing test on macOS MojaveChih-Hsuan Yen2018-12-291-1/+5
| |/
* | Merge pull request #3444 from BoboTiG/fix-resource-leaksMaximilian Hils2019-01-062-2/+4
|\ \ | | | | | | Fix ResourceWarning: unclosed file, prevent resource leaks
| * | Fix ResourceWarning: unclosed file, prevent resource leaksMickaël Schoentgen2019-01-062-2/+4
| |/ | | | | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* / Fix several DeprecationWarning: invalid escape sequenceMickaël Schoentgen2019-01-053-4/+4
|/ | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* charset in meta tags (#3411)Rajat Gupta2018-12-131-0/+10
| | | original contribution from @0xHJK in https://github.com/mitmproxy/mitmproxy/pull/3150
* fix query arrayRajat Gupta2018-12-032-2/+17
| | | | fixes #3072 closes #3254
* bump dependenciesThomas Kriechbaumer2018-12-023-5/+5
|
* Change variable o to organization for generated certficates.Abhigyan Khaund2018-11-111-3/+3
|
* Add Organization field for the generated certificate (#3376)Abcdefghijklmnopqrstuvwxyzxyz2018-11-091-2/+7
| | | add organization field for the generated certificate
* test_dumper.py - Add sio_err everywhere + adjust test_simpleJessica Favin2018-11-041-4/+26
|
* Fix test_dumper.py - Dumper constructorJessica Favin2018-11-041-2/+2
|
* Update test_dumper.pyJessica Favin2018-11-041-2/+4
|
* use skip_windows decorator consistentlyMaximilian Hils2018-10-231-4/+2
|
* Skip file permission test on WindowsFred Miller2018-10-231-0/+4
|
* Make private keys readable only by the ownerFred Miller2018-10-221-0/+7
|
* keys.yaml priority over defaultkeys.py. Test for this.Miroslav2018-09-291-0/+15
|
* Merge pull request #3319 from mhils/issue-3316Maximilian Hils2018-09-0714-297/+310
|\ | | | | Fix #3316
| * fix #3316Maximilian Hils2018-09-0714-297/+310
| |
* | [test/xss_scanner] add fixtures in testsDavid Kremer2018-08-151-35/+40
|/ | | | | | | | | | The previous version of that script made a repetitive use of the pytest builtin fixture, with always the same arguments. This is a small refactoring and cleanup, mainly adding the 'function' scope to ensure proper cleaning and using the @pytest.fixture decorator where I could.
* session: implemented changes requested after PR review.madt1m2018-08-051-20/+20
|