当前位置:网站首页>Mitmproxy tampering with returned data
Mitmproxy tampering with returned data
2022-07-24 20:27:00 【Angry Apple ext】
Catalog
Preface
mitmproxyIt's a very powerful bag grabbing tool , You can also tamper with data , Act as a middleman . Support usepythonThe script completes some custom operations on traffic .- There are the following 3 Medium mode can start
mitmproxy:mitmproxyIt's an interactive 、 Support SSL/TLS The interception agent of , have HTTP/1、HTTP/2 and WebSockets Console interface .mitmwebyes mitmproxy be based on web The interface of .mitmdumpyes mitmproxy The command line version of .
- This article USES the
mitmwebComplete data tampering .
actual combat
Install the corresponding certificate
- Install the certificate first .

- After clicking , Will enter http://mitm.it/, Be careful : This page must use mitmproxy The agent can enter the correct page . The correct page is shown in the figure below .

Intercept
Let's get familiar with the operation interface first .

The main function is to intercept the input box , For example, I want to block the interface shown in the figure below .

I want it to return
hello world.
This web page should be used in advance mitmproxy Agent for . I used it
SwitchyOmega
- I will first enter the input box in the intercepted input box
baidu. - When I make a request ,
mitmproxyIt's stopped , As shown in the figure below .
- I do not modify the request , Just click
Resume, Now there is the return value , As shown in the figure below .
Modify the returned data
- Click on Edit Modify the returned data ,Done complete , As shown in the figure below .

- Continue clicking
Resume, Then view the web page . Modification successful , As shown in the figure below .
Summary
mitmproxyIt can be used on many platforms , Very powerful , I only use a few features here . The details can be seen https://docs.mitmproxy.org/stable/overview-features/.- I wrote one before Bypass anti debugging fuck-debugger, Now think about it
mitmproxyIt can also achieve the effect .
mitmproxyYou can gethttpsThe data of , Doesn't mean it puts https It's broken , Because the premise is that the certificate must be installed on the monitored machine in advance .
边栏推荐
- 147-利用路由元信息设置是否缓存——include和exclude使用——activated和deactivated的使用
- A new UI testing method: visual perception test
- 【LeetCode】1184. 公交站间的距离
- [training Day8] tent [mathematics] [DP]
- How to set the allure test report
- API data interface of A-share transaction data
- Richview table table alignment
- Do you want to enroll in a training class or study by yourself?
- Analysis of xmldecoder parsing process
- Fluoronisin peptide nucleic acid oligomer complex | regular active group alkyne, SH thiol alkynyl modified peptide nucleic acid
猜你喜欢

C# 窗体应用TreeView控件使用

English grammar_ Demonstrative pronoun this / these / that / those

Understand the domestic open source Magnolia license series agreement in simple terms

Connect the smart WiFi remote control in the home assistant

Home Assistant中接入博联WiFi智能遥控

Leetcode 146: LRU cache

Thymeleaf application notes

Software testing interview tips | if you don't receive the offer, I'll wash my hair upside down

Synthesis route of ALA PNA alanine modified PNA peptide nucleic acid | AC ala PNA

Working principle of envy of istio I
随机推荐
How to learn automated testing? Can you teach yourself?
147 set whether to cache by using the routing meta information - use of include and exclude - use of activated and deactivated
Microservice architecture | service monitoring and isolation - [sentinel] TBC
Machine learning job interview summary: five key points that resume should pay attention to
Methods of using tyrosine modified peptide nucleic acid PNA | Tyr PNA | BZ Tyr PNA | 99Tcm survivinmrna antisense peptide nucleic acid
PD user manual
Pix2seq: Google brain proposes a unified interface for CV tasks!
Lights of thousands of families in the year of xinchou
English translation Chinese common dirty words
Huawei set up login with account and password
Working principle of envy of istio I
[training Day8] [luogu_p6335] staza [tarjan]
Click the button to return to the top smoothly
[training Day6] game [mathematics]
微服务架构 | 服务监控与隔离 - [Sentinel] TBC...
How to set appium script startup parameters
Oracle 19C datagruad replication standby rman-05535 ora-01275
Leetcode 206 reverse linked list, 3 longest substring without repeated characters, 912 sorted array (fast row), the kth largest element in 215 array, 53 largest subarray and 152 product largest subarr
Redisgraph graphic database multi activity design scheme
"Hualiu is the top stream"? Share your idea of yyds