Commit Graph

9002 Commits

Author SHA1 Message Date
Maximilian Hils
2dfcb537f2
downgrade & pin urwid to 2.0.1 (#4086)
refs https://github.com/mitmproxy/mitmproxy/issues/3936
refs https://github.com/mitmproxy/mitmproxy/issues/3967
2020-07-16 16:52:52 +02:00
Maximilian Hils
e39b52b159
Merge pull request #3989 from nikitastupin/master
Add minimal TCP interception and modification!
2020-07-15 21:55:43 +02:00
Nikita Stupin
cf63396d84 Fix bug: TCP interception do not adhere ctx.options.intercept_active 2020-07-15 22:38:00 +03:00
Nikita Stupin
7d9e3dd9a3 Add tests for TCP flow interception 2020-07-15 22:36:00 +03:00
Maximilian Hils
dfcc1578e5
Merge pull request #3962 from anneborcherding/feature/selenium-auth-addon
Added add-on with support for proxy authentication using selenium.
2020-07-15 13:54:48 +02:00
Maximilian Hils
c339c4f82a
Merge pull request #4083 from mhils/fix-browser-selection
mitmweb: use x-www-browser
2020-07-14 22:43:42 +02:00
Maximilian Hils
ac5ca0fc63 mitmweb: use x-www-browser 2020-07-14 17:22:45 +02:00
Maximilian Hils
8d6251b5f9
Merge pull request #3980 from sarthak212/tcpcrasherror
fix console tab error
2020-07-14 16:53:05 +02:00
Maximilian Hils
83c6ab1393 move selenium example into contrib 2020-07-14 16:46:36 +02:00
Anne Borcherding
57f46fa099 moved addon for selenium authentication to new sub-folder of examples/complex.
Co-authored-by: weichweich <14820950+weichweich@users.noreply.github.com>
2020-07-14 16:43:48 +02:00
Anne Borcherding
7f89a70edf moved addon for selenium authentication to examples/complex.
Co-authored-by: weichweich <14820950+weichweich@users.noreply.github.com>
2020-07-14 16:43:48 +02:00
Anne Borcherding
7dd98b4959 Added add-on with support for proxy authentication using selenium.
Co-authored-by: weichweich <14820950+weichweich@users.noreply.github.com>
2020-07-14 16:43:21 +02:00
Vikas Gupta
1acbcc2437
add addon to check SSL-pinning on client (#3196) 2020-07-14 16:38:13 +02:00
Ed Medvedev
14dfdec8f4
Add a JSON dump script: write data into a file or send to an endpoint as JSON (#2861) 2020-07-14 16:35:03 +02:00
Maximilian Hils
f36dcd8915
revise map local docs
provide a short summary at the start (with easy-to-copy examples) and then discuss the nitty-gritty details below.
2020-07-14 15:55:31 +02:00
Maximilian Hils
4bf93ec379
Merge pull request #4075 from sidahmed-malaoui/patch-1
Command that can generates errors in the documentation
2020-07-14 15:13:00 +02:00
Maximilian Hils
7002455033
Merge pull request #4080 from gorogoroumaru/master
Fix deadlock caused by the "replay.client.stop" command
2020-07-14 15:12:23 +02:00
gorogoroumaru
4e6a991854 moved "ctx.master.addons.trigger" function outside of "with self.q.mutex" 2020-07-12 16:46:33 +09:00
gorogoroumaru
2bbffef3e1
add default timeout value (#4068) 2020-07-11 14:42:46 +02:00
Martin Plattner
d6293004e0 map local: update docs 2020-07-10 20:51:18 +02:00
Martin Plattner
7781dcb15f map local: fix mimetype detection 2020-07-10 20:44:54 +02:00
Martin Plattner
257c178bbe map local: fix tests 2020-07-10 20:44:23 +02:00
Thomas Kriechbaumer
a7ccbd31e1
Merge pull request #4074 from tunnelpr0/patch-1
Secure fix for the DNS Rebind Protection issue from #4072
2020-07-10 15:54:38 +02:00
Martin Plattner
8de8157450 Merge branch 'maplocal-addon' of github.com:mplattner/mitmproxy into maplocal-addon 2020-07-10 15:02:01 +02:00
Maximilian Hils
c3894b0f58 map local: minor docs improvements 2020-07-10 14:29:51 +02:00
Maximilian Hils
3bbcbacd68 map local: 404 if not found 2020-07-10 14:28:12 +02:00
sidahmed-malaoui
ef13270ff2
Command that can generates errors in the documentation
In the title _Work-around to redirect traffic originating from the machine itself_, add the flag `-H` to `sudo` command to avoid errors on certain Linux based OS.
2020-07-10 12:43:37 +01:00
Martin Plattner
434538f11d Merge branch 'maplocal-addon' of github.com:mplattner/mitmproxy into maplocal-addon 2020-07-10 13:36:37 +02:00
Maximilian Hils
fe1b76bdef refactor spec parsing, map_local candidate generation 2020-07-10 13:23:13 +02:00
tunnelpr0
817216116c
Update app.py
Updated DNS Rebind Protection RegEx Pattern
2020-07-10 12:12:43 +02:00
tunnelpr0
be8cb243b5
Update CHANGELOG
Fixed the DNS Rebind Protection for secure support of IPv6 addresses (@tunnelpr0)
2020-07-09 21:33:06 +02:00
tunnelpr0
253220f733
Update app.py
Fixed the DNS Rebind Protection for secure handling of IPv6 addresses
2020-07-09 21:28:09 +02:00
Martin Plattner
eca6dc4d1c maplocal addon: fix linting 2020-07-08 23:58:02 +02:00
Martin Plattner
8942ae88d5 maplocal addon: update docs 2020-07-08 23:53:44 +02:00
Martin Plattner
41c99810ef maplocal addon: improve tests 2020-07-08 23:52:22 +02:00
Martin Plattner
55bba92653 maplocal addon: improvements 2020-07-08 23:39:44 +02:00
Martin Plattner
53644de820 maplocal addon: add some tests 2020-07-08 01:34:48 +02:00
Martin Plattner
b1609697cd maplocal addon: minor improvements 2020-07-08 01:34:14 +02:00
Martin Plattner
7022a54737 maplocal addon: add mimetype guessing 2020-07-07 23:19:29 +02:00
Martin Plattner
1b6b3cd96c add MapLocal addon draft 2020-07-07 16:12:23 +02:00
Thomas Kriechbaumer
51b9ee109e
Merge pull request #4067 from gorogoroumaru/master
Fix "RuntimeError: dictionary changed size during iteration" in the "expire" function of "mitmproxy/certs.py"
2020-07-06 19:10:38 +02:00
gorogoroumaru
b456c3afa1 Changed iteration to list comprehension in order to prevent "RuntimeError: dictionary changed size during iteration" 2020-07-06 19:01:10 +02:00
Thomas Kriechbaumer
49e10d7cc2 add http trailers changelog entry 2020-07-06 18:54:55 +02:00
Thomas Kriechbaumer
46a0f69485
Merge pull request #4042 from sanlengjingvv/develop
support HTTP/2 trailers
2020-07-06 17:14:17 +02:00
Thomas Kriechbaumer
c0f62cc559 fix missing message body and end_stream for trailers 2020-07-06 17:04:16 +02:00
Thomas Kriechbaumer
828ba0c2e7 refactor h2 trailer support
This allow's trailers without the initial Trailer header announcement. In HTTP/2 the stream ends with any frame containing END_SREAM. In the case of trailers, it is a final HEADERS frame after all the DATA frames. Therefore we do not need to explicitly check for the trailer announcement header, but can simply wait until the response message / stream has ended.
2020-07-06 01:05:26 +02:00
gorogoroumaru
0e998e9b52
Fix typespec_to_str funcion to process typing.Optional[int] (#4066)
* Fix typespec_to_str funcion to process typing.Optional[int]

* Add test

* Add test

Co-authored-by: gorogoroumaru <zokutyou2@gmail.com>
2020-07-05 11:20:39 +02:00
Maximilian Hils
65318603ae
Merge pull request #4058 from Vane11ope/vane11ope/fix
List was not cycled right for tab auto-completion
2020-07-05 04:04:44 +02:00
Vane11ope
ecf076cb24 Add tests for list completer 2020-07-05 10:40:48 +09:00
Vane11ope
2e0c078e7c Use -1 as an initial value for the pos 2020-07-05 04:55:10 +09:00