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
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
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
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
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
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
Maximilian Hils
d52b17f200
Merge pull request #4065 from mitmproxy/codecov-fails-too-much
...
Don't fail on covecov errors
2020-07-04 12:29:36 +02:00
Maximilian Hils
96ce21687e
blacklist -> blocklist
2020-07-04 12:09:51 +02:00
Maximilian Hils
b46ffe1395
don't fail on covecov errors
...
this happens quite a bit, so let's stop failing tests for that.
2020-07-04 11:52:26 +02:00
Maximilian Hils
491123df23
Merge pull request #4064 from TeddJohnson/patch-1
...
Update concepts-certificates.md
2020-07-04 11:51:25 +02:00
Maximilian Hils
c60c3dbb75
docs: consistently use backticks for highlighting
2020-07-04 11:29:53 +02:00
Maximilian Hils
75ef914c05
Merge pull request #4062 from mhils/fix-tests
...
Minor addon improvements, fix tests
2020-07-04 11:29:02 +02:00
Maximilian Hils
50d7b4e84f
don'
2020-07-04 11:20:34 +02:00
Maximilian Hils
0ee0cf5668
minor addon improvements, fix tests
2020-07-04 11:19:23 +02:00
Tedd Johnson
c3d3b75517
Update concepts-certificates.md
...
{{< highlight bash >}} doesn't render properly on the wiki, so converted to codeblock
2020-07-04 01:14:21 -07:00
Maximilian Hils
cf158022d9
Merge pull request #4060 from mplattner/mapremote-addon
...
add mapremote addon to modify request URLs
2020-07-03 19:08:11 +02:00
Martin Plattner
cee4da4e8c
fix docs and url encoding
2020-07-03 16:31:41 +02:00
Maximilian Hils
417c213dd7
minor docs improvements
2020-07-03 15:29:17 +02:00
Martin Plattner
89fad1e2b1
add mapremote addon to modify request URLs
2020-07-03 14:27:37 +02:00
Thomas Kriechbaumer
288ce65d73
add h2 trailers example and fix sending
2020-07-03 12:49:31 +02:00
Thomas Kriechbaumer
ebb061796c
unify HTTP trailers APIs
2020-07-02 18:31:47 +02:00
Maximilian Hils
73163c876c
Merge pull request #4046 from mplattner/modify-body-addon
...
Replace replacements addon with new modify body addon
2020-07-02 15:02:37 +02:00
Martin Plattner
fe662b4282
improve modify addons docs
...
fixes #3945
2020-07-02 13:49:20 +02:00
sanlengjingvv
d589f13a1d
fix lint error
2020-07-02 18:46:38 +08:00
Martin Plattner
a782bb47a7
fix linting error
2020-07-02 12:42:14 +02:00
sanlengjingvv
22eb492a13
update FLOW_FORMAT_VERSION version
...
fix error when dump flow with http trailers
add testcase for http trailers
2020-07-02 18:32:12 +08:00
Vane11ope
e43c4e3cb1
Fix a type error
2020-07-02 11:31:04 +09:00
Vane11ope
7806a34858
List was not cycled right for tab autocompletion
2020-07-02 09:46:24 +09:00
Martin Plattner
aee1b81260
fix test coverage
2020-07-01 23:51:55 +02:00
Maximilian Hils
2a4933eb9d
minor fixes
2020-07-01 22:52:35 +02:00
Martin Plattner
2a408c9379
refactor modify addons
...
Use a universal ModifySpec class to represent rules.
ModifyHeaders now supports reading the header value from a file.
2020-07-01 13:25:28 +02:00
Thomas Kriechbaumer
9f6c0ebc7e
Merge pull request #4056 from Kriechi/update-changelog
...
Update changelog and add PR template
2020-07-01 12:22:38 +02:00
Maximilian Hils
5169962fdf
alternative PR template wording proposal
2020-07-01 12:13:33 +02:00
Thomas Kriechbaumer
540c293741
add PR template
2020-07-01 11:47:54 +02:00
Thomas Kriechbaumer
ac95f84a4c
update changelog
2020-07-01 11:47:42 +02:00