mitm常用命令

[kali安装mitmproxy]

pip3 install mitmproxy==4.0.1

pip3 install --upgrade werkzeug #解决报错TypeError: required field "type_ignores" missing from Module

(1)socks5_proxy

mitmproxy -p 39090 --mode socks5 --set block_global=false

(2)http(s)_proxy

mitmproxy -p 39080 --set block_global=false


[快捷键]

q=quit

i=insert

a=again再次发送

z=zero清零

e=edit


[截断]

i=interrupt

~u /Dunedin & ~q

f=filter

~u 666.com