当前位置:网站首页>如何使用MITMPROXy
如何使用MITMPROXy
2022-07-02 05:55:00 【雨水的早晨】
一、什么是mitmproxy
mitmproxy 就是用于 MITM 的 proxy,MITM 即中间人攻击(Man-in-the-middle attack)。用于中间人攻击的代理首先会向正常的代理一样转发请求,保障服务端与客户端的通信,其次,会适时的查、记录其截获的数据,或篡改数据,引发服务端或客户端特定的行为。
不同于 fiddler 或 wireshark 等抓包工具,mitmproxy 不仅可以截获请求帮助开发者查看、分析,更可以通过自定义脚本进行二次开发。举例来说,利用 fiddler 可以过滤出浏览器对某个特定 url 的请求,并查看、分析其数据,但实现不了高度定制化的需求,类似于:“截获对浏览器对该 url 的请求,将返回内容置空,并将真实的返回内容存到某个数据库,出现异常时发出邮件通知”。而对于 mitmproxy,这样的需求可以通过载入自定义 python 脚本轻松实现。
二、安装
○ 如果仅仅是想抓包,查看信息等,没有必要准备python环境
○ 如果需要进行脚本开发,比如篡改数据等,那么需要安装配置python3的环境
查资料,自行安装!
验证是否安装成功?mitmdump --version
边栏推荐
- 死磕大屏UI,FineReport开发日记
- Zzuli: maximum Convention and minimum common multiple
- php读文件(读取json文件,转换为数组)
- Yyds dry inventory what is test driven development
- 1035 Password
- Cube magique infini "simple"
- Stc8h8k Series Assembly and c51 Real combat - NIXIE TUBE displays ADC, Key Series port reply Key number and ADC value
- Practice C language advanced address book design
- php获取cpu使用率、硬盘使用、内存使用
- 测试 - 用例篇
猜你喜欢
Summary of MySQL constraints
Unity Shader 学习笔记(3)URP渲染管线带阴影PBR-Shader模板(ASE优化版本)
2022-2-14 learning xiangniuke project - section 23, section 5, development login and exit functions
Software testing Q & A
深度学习分类网络--VGGNet
Minimum value ruler method for the length of continuous subsequences whose sum is not less than s
PHP development and testing WebService (soap) -win
How to write good code - Defensive Programming Guide
Opencv LBP features
Win10 copy files, save files... All need administrator permission, solution
随机推荐
php读文件(读取json文件,转换为数组)
Some descriptions of Mipi protocol of LCD
CNN可视化技术 -- CAM & Grad-CAM详解及pytorch简洁实现
GRBL 软件:简单解释的基础知识
Software testing - concept
Zzuli: maximum Convention and minimum common multiple
外部中断无法进入,删代码再还原就好......记录这个想不到的bug
STC8H8K系列汇编和C51实战——数码管显示ADC、按键串口回复按键号与ADC数值
Typora installation (no need to enter serial number)
2022-2-14 learning xiangniuke project - section 23, section 5, development login and exit functions
[PHP是否安装了 SOAP 扩]对于php实现soap代理的一个常见问题:Class ‘SoapClient‘ not found in PHP的处理方法
Practice C language advanced address book design
3D 打印机 G 代码命令:完整列表和教程
PHP read file (read the specified line containing a string in the file)
ES6的详细注解
软件测试 - 概念篇
“簡單”的無限魔方
I want to understand the swift code before I learn it. I understand it
[personal test] copy and paste code between VirtualBox virtual machine and local
《CGNF: CONDITIONAL GRAPH NEURAL FIELDS》阅读笔记