Commit Graph

9502 Commits

Author SHA1 Message Date
Maximilian Hils
91bb757660 commands: add bytes type 2021-06-23 13:46:57 +02:00
Maximilian Hils
a19e95e6c9 [wip] injection: change argument type to bytes 2021-06-22 17:49:00 +02:00
Maximilian Hils
1858564b91 add WebSocketMessage.text 2021-06-22 17:39:55 +02:00
Maximilian Hils
a33ab986ba revise based on @prinzhorn's feedback 2021-06-22 16:54:29 +02:00
Maximilian Hils
9b119c3dac web: major upgrades
This commit brings a bunch of under-the-hood mitmweb improvements:

 - migrate large parts of the codebase to typescript
 - introduce modern react testing conventions
 - vendor react-codemirror to silence warnings
 - use esbuild for both bundles and tests
 - move from yarn to npm
 - various fixes across the board
2021-06-21 17:51:47 +02:00
Maximilian Hils
f135be8e65
[requires.io] dependency update (#4649)
Co-authored-by: requires.io <support@requires.io>
2021-06-21 15:33:29 +00:00
Maximilian Hils
80bcd2f881
[requires.io] dependency update (#4647)
Co-authored-by: requires.io <support@requires.io>
2021-06-21 16:56:26 +02:00
Maximilian Hils
ef69701b0a
Merge pull request #4645 from mhils/polish
Minor UX Improvements
2021-06-20 02:20:10 +02:00
Maximilian Hils
2fe4a49d8f logging: don't pick up later mutations 2021-06-20 02:15:09 +02:00
Maximilian Hils
d6975e0b80 add next_layer docs + example, minor fixes 2021-06-20 02:15:09 +02:00
Maximilian Hils
159c064fb4 enable addons to hardcode client.alpn 2021-06-19 12:29:18 +02:00
Maximilian Hils
6178b4b72a raise if server address is updated on non-closed connections 2021-06-19 12:28:40 +02:00
zokutyou2@gmail.com
d6fc9a7b27 clean FlowRow arguments 2021-06-19 09:55:55 +09:00
zokutyou2@gmail.com
3b541a0b87 implement actions to the menu 2021-06-18 22:37:09 +09:00
Maximilian Hils
15adb2cd79
Update tls_passthrough.py 2021-06-18 08:49:48 +02:00
Maximilian Hils
f342061319
Update addons-api-changelog.md 2021-06-17 20:15:29 +02:00
Maximilian Hils
863c792f41
Merge pull request #4643 from mhils/issue-4642
Fix HTTPS Reverse Proxy TLS Layer Logic
2021-06-17 20:12:06 +02:00
Maximilian Hils
74aa5cea56
[requires.io] dependency update (#4641)
Co-authored-by: requires.io <support@requires.io>
2021-06-17 20:10:50 +02:00
Maximilian Hils
c075d33997 minor style fix 2021-06-17 20:02:40 +02:00
Maximilian Hils
5c0d700839 fix #4642 2021-06-17 20:02:32 +02:00
Maximilian Hils
0958f39f40 add upgrade docs for mitmproxy 7 2021-06-17 15:53:22 +02:00
Maximilian Hils
a034b7c2c1 replace dropdown with popper.js-based implementation 2021-06-16 22:28:29 +02:00
Maximilian Hils
34a620e57b
Docker: Add aarch64 Images (#4637)
* feat(cibuild): add buildx multi arch builds

* chore: add changelog for arm64

* temporarily enable docker ci job for PRs

* Update cibuild.py

* Update cibuild.py

* chore(cibuild): create docker-container xbuilder

* chore(cibuild): fix lint

* temporarily remove run check to see error message

* Update cibuild.py

* Update cibuild.py

* Update cibuild.py

* Update main.yml

* Update main.yml

* Update main.yml

* Update cibuild.py

* Update cibuild.py

* Update Dockerfile

* cleanup #1

* next test

* move to test branch

* fixup

* now upload

* enable armv6/7

* use multi-stage build to reduce image size

* armv7?

* drop armv6/armv7

Co-authored-by: Niels Hofmans <hello@ironpeak.be>
2021-06-15 13:47:50 +00:00
Maximilian Hils
5120c1dbe2
Merge pull request #4635 from mhils/upstream-auth
[sans-io] add support for upstream_auth
2021-06-15 11:00:12 +02:00
Maximilian Hils
fb625c6868 fix h2 bug found via fuzzing 2021-06-15 10:45:26 +02:00
Maximilian Hils
76f0b8f65e fix tests 2021-06-15 10:45:26 +02:00
Maximilian Hils
fa6e8f1e9c [sans-io] add support for upstream_auth 2021-06-15 10:45:26 +02:00
Maximilian Hils
9ee735ad28
bump ruamel.yaml version 2021-06-15 10:42:18 +02:00
Brad Dixon
4ee6bc79a0
Add json() method for HTTP Request and Response classes. (#4612)
* Add `json()` method for HTTP Request and Response classes.

* Raise errors when fetching content to decode as json.

* Update http.py

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-06-15 08:39:48 +00:00
zokutyou2@gmail.com
f69c91cb36 apply requested change 2021-06-14 09:21:55 +09:00
Maximilian Hils
7dbd171887
Merge pull request #4634 from mhils/update-dependencies
Update Dependencies
2021-06-13 20:04:42 +02:00
Maximilian Hils
1b13411383 update ruamel.yaml, adjust api 2021-06-13 19:59:11 +02:00
Maximilian Hils
bed008e6d1 update mypy 2021-06-13 17:17:10 +02:00
Maximilian Hils
8cec4a2a80
Merge pull request #4633 from mhils/body-size
Re-add `body_size_limit`, move HTTP streaming into the proxy core.
2021-06-13 16:39:19 +02:00
Maximilian Hils
8e52c16b4c [sans-io] add support for body_size_limit 2021-06-13 15:56:33 +02:00
Maximilian Hils
199670cad4 move body streaming into proxy core, fix #4470 2021-06-13 15:56:33 +02:00
zokutyou2@gmail.com
fffd0017d8 add dropdown submenu 2021-06-13 21:11:52 +09:00
zokutyou2@gmail.com
6824666424 Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 22:17:34 +09:00
zokutyou2@gmail.com
ccb48f3cc3 apply suggested changes 2021-06-10 22:13:49 +09:00
gorogoroumaru
a4f5edb5b7
[mitmweb] Add "one click resume / accept all" button (#4615)
* Add one-click-resume button

* Add one-click-resume button

* update jest snapshot

* update style

* Disable forward button when the flow is not intercepted

* update jest snapshot

* group items in main menu

* add layout for quick actions menu

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-06-10 14:59:30 +02:00
zokutyou2@gmail.com
96d6804f5a Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 09:11:06 +09:00
Maximilian Hils
8a17866113
Merge pull request #4631 from mhils/issue-4630
fix #4630
2021-06-10 00:23:52 +02:00
Maximilian Hils
83a46b13b9 further simplify ALPN selection 2021-06-10 00:18:37 +02:00
Maximilian Hils
d47eb7556a fix #4630 2021-06-09 23:59:44 +02:00
Maximilian Hils
de0951462d
Merge pull request #4629 from mhils/update-web-deps
Update Web Dependencies
2021-06-09 18:07:36 +02:00
Maximilian Hils
0e9206ceb1 switch to esbuild for bundling 2021-06-09 18:02:05 +02:00
Roy Tu
bd00132b65
Fix multipart forms losing boundary values on edit (#4625)
* Fix for issue #4613

* Adding tests

* Updated CHANGELOG.md

* Restoring contentviews

* Reverting contentview tests

* Adding boundary generation and tests

* Extra newline for flake8

* Janky byte fix

* Revert "Extra newline for flake8"

This reverts commit 683ba167de2264d29f318e2bab83e13cbfb8812d.

* Reverting a commit that was supposed to go to dev branch

* Update CHANGELOG.md

* Update test_http.py

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-06-09 10:26:19 +00:00
Maximilian Hils
743b409f7f fix some react deprecation warnings 2021-06-09 12:08:41 +02:00
Maximilian Hils
d3f33b90a6 web dependency upgrade: get tests to pass 2021-06-09 12:00:11 +02:00
Maximilian Hils
2c5c6cfa5a wip: update web dependencies 2021-06-08 11:22:59 +02:00