First understanding of mitmproxy packet capture (basic command) under Linux environment

Port settings

Insert picture description here
Insert picture description here
Set to the same port as mitmproxy

Start mitmproxy

Insert picture description here
Insert picture description here
Start access, get request status
Insert picture description here

Select operation

Arrow ↑
Arrow down
Select get and
press enter to view details.
Press i to intercept the request
.
Press enter to view details. Press tab to select content.
Press e to edit (a selection window will pop up at this time).
Press Q to return to the previous level of operation
Press a to release

After that, the return of the intercepted request will be automatically intercepted again, and the operation can be repeated at this time.

Button screening

Press l to search and
filter
For example; /.js selects so js requests.
For i interception, we can also use
~u URL interception, or directly select a URL
~ u. php to intercept all php requests.

Guess you like

Origin blog.csdn.net/FUTEROX/article/details/109545369