Intermediary is a forwarding middleware based on the specific implementation of mitmdump, use it can Easily automate grabs
python >= 3.7
mitmproxy
python3 -m pip install -Ur requirements.txt
.
├── Intermediary
│ ├── Process.py # 处理策略工厂类
│ ├── config.py # 配置文件
│ └── script.py # mitmdump 处理脚本
├── README.md
├── requirements.txt
└── supervisord.conf
- first: You need edit
Intermediary/config.py
, add some target resouce message in ResourceList Field - Sencond: add new Strategy and process logic
# Base run
mitmdump -s DumpMan/script.py -p 8088
# Background run
mitmdump -s DumpMan/script.py -p 8088 > /dev/null 2>&1 &
# nohop
nohup mitmdump -s DumpMan/script.py -p 8088 > out.log 2>&1 &
# check jobs
jobs -l
# check netstat
netstat -ntlp
# check Port occupancy
lsof -i:8090
Docker、Kubernetes