Commit Graph

8925 Commits

Author SHA1 Message Date
Maximilian Hils
647eab557b lint! 2020-07-22 18:28:40 +02:00
Maximilian Hils
407f9e7a8f fix http.Response.make type annotation 2020-07-22 18:25:13 +02:00
Tom Hacohen
1bca5597f6 Fix lint errors 2020-07-22 17:06:58 +03:00
Tom Hacohen
008ba5d726 Improve the formatting of the msgpack content viewer. 2020-07-22 17:06:58 +03:00
Brad Dixon
742a5d812d Add test case for flow with no response. 2020-07-22 10:05:03 -04:00
Tom Hacohen
5fd702934c Add a msgpack content viewer. 2020-07-22 16:47:08 +03:00
Brad Dixon
05a6c56b72 Fix incompatibility reading version 7 files when flow has no response.
A flow can be stored without a response. The compatibility functions
for version 8 and 9 assumed that all flows had a response. This changes
fixes that assumption.
2020-07-21 15:56:21 -04:00
gorogoroumaru
3e7f9e488a
Add utc_to_local option (#4081) 2020-07-21 08:59:09 +02:00
Maximilian Hils
46fbba639d
Merge pull request #4088 from mhils/http-authority
HTTPRequest -> http.Request, add request.authority
2020-07-19 11:43:43 +02:00
Martin Plattner
fc58a4dbf4 post-release updates 2020-07-18 23:09:52 +02:00
Martin Plattner
cc75d7109d bump version to 5.2 2020-07-18 22:05:03 +02:00
Maximilian Hils
366014d0a3
Merge pull request #4069 from mplattner/maplocal-addon
MapLocal addon
2020-07-18 14:24:45 +02:00
Maximilian Hils
fb743c7da7 map local: minor fixes 2020-07-18 14:12:45 +02:00
Martin Plattner
c98f12c4f3 map addons: fix tests 2020-07-17 19:55:34 +02:00
Martin Plattner
0c8a46253b map local: align ascii figures in docs 2020-07-17 17:54:46 +02:00
Martin Plattner
ebf857a88e map local: add warning if no candidate exists 2020-07-17 17:41:41 +02:00
Martin Plattner
b3c809c45a map local: improve candidate generation (url dec.) 2020-07-17 17:29:36 +02:00
Martin Plattner
565cbb2504 add server header to responses from MapLocal 2020-07-17 14:58:47 +02:00
Martin Plattner
627a03c8e0 move parse_spec to util.spec 2020-07-17 14:56:33 +02:00
Maximilian Hils
06734f498d fix flaky test socket 2020-07-16 22:13:48 +02:00
Maximilian Hils
50a1f6bdd1
Merge pull request #4089 from Kriechi/fix-3990
match HTTP-WebSocket handshake flow for ~websocket filter
2020-07-16 18:43:06 +02:00
Thomas Kriechbaumer
04abe6b85b match HTTP-WebSocket handshake flow with ~websocket
fixes #3990
2020-07-16 17:49:47 +02:00
Maximilian Hils
5af57cfa99 HTTPRequest -> http.Request, add request.authority 2020-07-16 16:55:15 +02:00
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