aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * revamp command processingMaximilian Hils2019-11-182-116/+150
| | | | | | | | | | | | | | | | | | | | | | | | - Display the parameter name instead of the parameter type whenver users interact with commands. This makes it easy to enter commands just by their signature. We may want to expose type information in the command list, but some quick testing showed that this are rather intuitive anyways. - Add shift tab backward cycling for the command completion. - Use inspect.Signature instead of homebrew argument matching solution. This gets rid of quite a bit of cruft. - Remove some type checking hacks in mitmproxy.types
| * Added coverage for the changes madeHenrique2019-11-171-0/+4
| |
| * Brought coverage up to 94% on test_commander.pyHenrique2019-11-161-4/+103
| |
| * Various changes to address PR commentsHenrique2019-11-162-2/+2
| | | | | | | | | | Made a change to make `CommandManager.execute` the main entry point for executing commands and made `call_strings` into a private method.
| * Fixing issues pointed during PR reviewHenrique2019-11-163-10/+25
| |
| * Merge branch 'master' into fix-command-bar-issue-3259Henrique M. D2019-11-153-4/+42
| |\
| * | Removed the custom lexer in favor of using pyparsing.Henrique2019-11-154-111/+134
| | |
| * | Added a new test to test that the issue from the previous commit won'tHenrique2019-11-131-1/+13
| | | | | | | | | | | | happen anymore
| * | Added tests to reach 100% coverageHenrique2019-11-132-3/+5
| | |
| * | Getting 100% coverage in the lexerHenrique2019-11-121-0/+14
| | |
| * | Fixing issues reported by the linterHenrique2019-11-122-1/+1
| | |
| * | Tests for the new lexerHenrique2019-11-121-0/+64
| | |
| * | Fixed test to use the new method to get the lexerHenrique2019-11-121-2/+2
| | |
| * | Fix for issues when using \ and " on the commander barHenrique2019-11-121-4/+4
| | |
* | | Use Github Actions for CI (#3713)Maximilian Hils2019-11-1913-25/+68
| | | | | | | | | switch to github actions for CI
* | | Merge branch 'master' into masterMaximilian Hils2019-11-164-19/+124
|\ \ \
| * \ \ Merge pull request #3705 from mhils/issue-3469Maximilian Hils2019-11-161-6/+28
| |\ \ \ | | | | | | | | | | Fix #3469
| | * | | tests++Maximilian Hils2019-11-151-6/+28
| | | | |
| * | | | Merge pull request #3448 from cript0nauta/masterMaximilian Hils2019-11-161-10/+55
| |\ \ \ \ | | |_|_|/ | |/| | | Fix command injection vulnerability when exporting to curl or httpie
| | * | | test coverage++Maximilian Hils2019-11-151-0/+8
| | | | |
| | * | | improve curl/httpie exportMaximilian Hils2019-11-151-7/+9
| | | | |
| | * | | Merge remote-tracking branch 'origin/master' into pr-3448Maximilian Hils2019-11-1519-60/+165
| | |\| |
| | * | | Merge branch 'master' of https://github.com/mitmproxy/mitmproxyMatías Lang2019-01-135-6/+8
| | |\ \ \
| | * | | | Fix command injection when exporting to httpieMatías Lang2019-01-131-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command generated by `export.clip httpie @focus` or `export.file httpie @focus /path/to/file` wasn't being properly escaped so it could contain a malicious command instead of just a simple httpie call.
| | * | | | 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