当前位置:网站首页>Appnium (II) installation and basic use of mitmproxy
Appnium (II) installation and basic use of mitmproxy
2022-06-12 14:28:00 【Makasa】
Preface
This chapter focuses on mitmproxy Installation and basic use of
- mitmproxy Like the commonly used packet capturing tools, it supports crawling HTTP and HTTPS Protocol data , And the use method is the same , Crawling data through agents , The main purpose of learning from him is to connect later python Use
- mitmproxy There are two associated components ,
1)mitmdump:mitmproxy Command line interface for , It can be used to dock Python Script , Realize the processing after listening ;
2)mitmweb:Web Program , Through it to clearly observe mitmproxy Captured requests , similar google Browser debug mode
One 、 Download and install
1、windows Installation in environment
- Official website :https://mitmproxy.org/

2、linux Installation in environment
pip3 install mitmproxy
Two 、 Certificate configuration
- And common packet capturing tools fiddle,Charles Both need to be configured ca certificate , So that you can grab https Request
1、 Generate ca certificate
mitmdump

2、 install ca certificate
- 2.1) stay C:\Users\Administrator.mitmproxy Certificate found

- 2.2) Double click installation






- 2.3) Verify that the installation is successful
mitmdump --version

3、 Phone configuration ca certificate
- 3.1) First the mitmproxy-ca-cert.pem Send file to mobile phone , Then install the certificate on the mobile phone


3、 ... and 、 Set up mobile agent
- Because this is before blog It has also been introduced in , I won't repeat it here
For details, please refer to the next chapter blog Of 3,4 part :
https://blog.csdn.net/Makasa/article/details/107810385
Four 、 start-up mitmdump
mitmdump

5、 ... and 、 Additional knowledge
- Common related orders
mitmdump # start-up mitmdump
mitmdump -p 8888 # Specify the port to start mitmdump
mitmdump -p 8888 -s test.py # Appoint python Script
mitmdump -w test.txt # Save intercepted data
边栏推荐
- 华为设备配置BGP AS号替换
- Leetcode 2185. 统计包含给定前缀的字符串
- Two methods of implementing asynchronous calling function with QT
- Array one
- Player practice 20 audio thread and video thread
- Software package for optimization scientific research field
- Shell notes
- How to realize the bidding strategy that pays more attention to transformation in the company's operation Google sem
- SystemC learning materials
- 如何使用android studio制作一个阿里云物联网APP
猜你喜欢

Redis data deletion policy in 2022

MobileOne: 移动端仅需1ms的高性能骨干,你值得拥有!

【活动早知道】LiveVideoStack近期活动一览

Summary of virtual box usage problems

华为设备配置H虚拟专用网

Player actual combat 25 unpacking module add close

完美收官|详解 Go 分布式链路追踪实现原理

Communication flow analysis

Player practice 17 xvideowidget

Copy word content to excel and automatically divide it into multiple columns
随机推荐
How to set, reset and reverse bit
SystemC uses SC_ report_ Handler processing log printing
For cross-border e-commerce, the bidding strategy focusing more on revenue - Google SEM
Markdown edit
Word insert picture blocked by text
What is automatic bidding? What are its advantages?
Design of PLC intelligent slave station based on PROFIBUS DP protocol
Vs2012: cannot assign a value of type 'char *' to an entity of type 'lpwstr'
Player practice 18 xresample
【OCR】AspriseOCR C# 英文、数字识别(中文不行)
SystemC common errors
chapter19 Allocation
Analysis of lua source code
Introduction to functions (inline functions and function overloading)
PMP agile knowledge points
Player actual combat 21 audio and video synchronization
Shell notes
Dynamic search advertising intelligent search for matching keywords
Player practice 20 audio thread and video thread
Tool notes - common custom tool classes (regular, random, etc.)