Maximilian Hils
f8826b29a2
cache socks5 auth for entire connection
2021-08-25 17:23:49 +02:00
Maximilian Hils
73d809a4c7
refactor proxyauth addon
...
the previous version was difficult to read,
this is hopefully better now.
2021-08-25 17:23:49 +02:00
Maximilian Hils
a3eca0b859
socks5 upstream auth: use proxyauth option
2021-08-25 17:23:49 +02:00
Jinjie Zhang
0c366f6436
feat: add test script for socks5auth
2021-08-23 16:55:57 +08:00
Jinjie Zhang
5876e431ce
fix: fix unused ctx import
2021-08-22 21:36:08 +08:00
Jinjie Zhang
9d31a66570
feat: add --socks5auth option to support socks5 userpassword authentication
2021-08-22 21:31:29 +08:00
Zoltán Reegn
a92eb1c4c8
Add script instructions for MacOS to mitm.it ( #4765 )
2021-08-19 16:14:52 +02:00
Aldo Cortesi
f7f0ac8ba7
[requires.io] dependency update on main branch ( #4764 )
...
* [requires.io] dependency update
* Update setup.py
Co-authored-by: requires.io <support@requires.io>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-08-19 10:35:14 +02:00
Maximilian Hils
f9b63e973e
Remove asyncio event loop workaround for tornado ( #4762 )
...
* remove asyncio event loop workaround for tornado
* Update CHANGELOG.md
2021-08-18 14:12:39 +00:00
Alexander Prinzhorn
edbb3d6791
update ws injection example, fixes #4751 ( #4761 )
...
* update ws injection example, fixes #4751
* Update websocket-inject-message.py
* Revert "Update websocket-inject-message.py"
This reverts commit 86b4cda2f4d6d694db7d0d8b30ec04c3ef123181.
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-08-18 11:37:28 +00:00
Povilas Balciunas
b36ce70ead
Add more type hints ( #4754 )
...
* Add more type hints
* Update mitmproxy/net/tls.py
Co-authored-by: Thomas Kriechbaumer <Kriechi@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
Co-authored-by: Thomas Kriechbaumer <Kriechi@users.noreply.github.com>
2021-08-18 13:24:36 +02:00
Thomas Kriechbaumer
92518f3b67
Merge pull request #4747 from KORraNpl/korran/fix_DeprecationWarning_in_har_dump.py
...
Fix DeprecationWarning in har_dump.py
2021-08-13 22:42:25 +02:00
KORraNpl
52c81c287e
Fix DeprecationWarning in har_dump.py
2021-08-11 20:32:39 +02:00
Maximilian Hils
ab6f1ebb44
Merge pull request #4741 from Mattwmaster58/main
...
case insensitive encoding
2021-08-10 08:18:56 +02:00
Maximilian Hils
4fb3e4c321
treat encoding names case-insensitively, fix #4735
...
Co-authored-by: Mattwmaster58 <mattwmaster58@gmail.com>
2021-08-10 08:11:34 +02:00
Maximilian Hils
1ce7e8e02e
[requires.io] dependency update on main branch ( #4740 )
...
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* Update setup.py
Co-authored-by: requires.io <support@requires.io>
2021-08-10 08:07:49 +02:00
Maximilian Hils
fb53df0cc1
expose full ClientHello object in tls_clienthello hook ( #4744 )
2021-08-09 15:41:05 +00:00
Maximilian Hils
c4dd46c3db
[requires.io] dependency update on main branch ( #4738 )
...
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
Co-authored-by: requires.io <support@requires.io>
2021-08-08 16:16:27 +02:00
Maximilian Hils
fcec63eebc
fix tnetstread crash found via fuzzing
2021-08-08 16:12:37 +02:00
Maximilian Hils
ca1229d60f
Merge pull request #4736 from mhils/py310
...
Add CI for Python 3.10rc1
2021-08-06 13:02:26 +02:00
Maximilian Hils
8ede5a4cb0
fix Python 3.10 compatibility
2021-08-06 10:22:49 +02:00
Maximilian Hils
5990f9e30f
add CI for python 3.10rc1
2021-08-06 10:03:24 +02:00
Maximilian Hils
7efefb716e
docs: remove outdated http/2 advice
2021-08-04 17:30:36 +02:00
Maximilian Hils
4abd00afab
Merge pull request #4731 from aaron-tan/improve-render-size
...
Improve rendering of size column
2021-08-04 17:26:20 +02:00
Maximilian Hils
6aa9d8658f
size column: add a bit more precision
2021-08-04 17:14:42 +02:00
Maximilian Hils
aa2abb9bf4
reopen main for development
2021-08-04 15:12:51 +02:00
Maximilian Hils
8b88e8f0a5
mitmproxy 7.0.2
2021-08-04 15:01:35 +02:00
Maximilian Hils
53a916e39b
fix websocket regression introduced in 7.0.1 ( #4733 )
2021-08-04 12:59:48 +00:00
Aaron Tan
4266c4852c
Improve rendering of size column
2021-08-04 21:02:43 +10:00
Maximilian Hils
88374e958b
reopen main for development
2021-08-03 17:33:06 +02:00
Maximilian Hils
2ebcd5f157
mitmproxy 7.0.1
2021-08-03 17:17:14 +02:00
Maximilian Hils
c90aaf55d9
Minor fixes, Docs++ ( #4730 )
...
* simplify upstream_cert logic
* docs: update ignore domains tutorial
* update certificate docs
* add proxy-auth header for plain http requests, fix #4728
* update CHANGELOG
2021-08-03 17:15:44 +02:00
Maximilian Hils
45123cd287
update CHANGELOG
2021-08-03 17:14:07 +02:00
Maximilian Hils
416e5046bc
add proxy-auth header for plain http requests, fix #4728
2021-08-03 17:02:49 +02:00
Maximilian Hils
359406e7a5
update certificate docs
2021-08-03 17:02:49 +02:00
Maximilian Hils
aca3456fee
docs: update ignore domains tutorial
2021-08-03 16:31:57 +02:00
Maximilian Hils
7d2525b4c7
simplify upstream_cert logic
2021-08-03 16:31:16 +02:00
Maximilian Hils
2ad3e5c698
Merge pull request #4716 from Zheaoli/fix-unittest
...
fix #4705
2021-08-03 14:43:18 +02:00
Maximilian Hils
7624e19010
tnetstring: accept IO[bytes], not just BinaryIO
2021-08-03 14:39:12 +02:00
Maximilian Hils
04a1ff4a42
catch TypeError when reading flows, fix #4705
2021-08-03 14:34:16 +02:00
Maximilian Hils
083987c007
minor export fixups, fix #4718 , fix #4714 ( #4725 )
2021-08-02 18:32:01 +00:00
Brad Dixon
68cc3e721f
Fix #4614 Options and Keybinding screen: home and end crash mitmproxy ( #4693 )
...
* Fix #4614 Options and Keybinding screen: home and end crash mitmproxy
* fix flake8
* Add integration test for fix to #4614
* fix the flake8, again.
2021-08-02 19:18:22 +02:00
Maximilian Hils
3b87d3f66e
[requires.io] dependency update on main branch ( #4723 )
...
* [requires.io] dependency update
* [requires.io] dependency update
Co-authored-by: requires.io <support@requires.io>
2021-08-02 19:17:29 +02:00
Maximilian Hils
703fdea1a5
asgiapp: lowercase header names, refs #4717 ( #4722 )
2021-08-02 14:45:40 +00:00
Maximilian Hils
648a799525
don't fail on invalid certs, fix #4713 ( #4721 )
2021-08-02 13:15:05 +00:00
Maximilian Hils
b57bc68c51
Merge pull request #4710 from mhils/issue-4706
...
Improve HTTP Stream Modification
2021-08-02 14:36:44 +02:00
Maximilian Hils
51a15be50c
extend test coverage for HTTP stream modification
2021-08-02 14:31:52 +02:00
Maximilian Hils
e865484c45
don't emit WS CONT. frames when the peer does not send any, fix #4701 ( #4719 )
2021-08-02 12:23:56 +00:00
Maximilian Hils
df797cd1b0
improve .stream docs
2021-08-02 14:02:54 +02:00
Maximilian Hils
c7e8b82420
update streaming example
2021-08-02 13:57:12 +02:00