Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Python's docker Crawler Technology in "docker practice"-breakpoint setting of fiddler (8)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Original articles, welcome to reprint. Reprint please indicate: reproduced from IT Story Association, thank you!

Original link address: "docker practice" python's docker crawler technology-fiddler breakpoint setting (8)

In fact, the ultimate goal of many people is to grab the bag. In fact, I have already seen through your idea, that is, to set breakpoints and modify the data to see his magic. In fact, this is the tool of the middleman. There is a saying that there are more messages, less money and less money. If you modify the data intermediary, this is the role.

# two ways to set breakpoints

# (1) based on graphical interface

The breakpoint can be set before the request or after the response. It is not recommended to intercept any request!

Start Before Requests Settings

Modify GET request jianshu, change it to baidu, delete Host

As a result, jump to baidu. But the connection address is still jianshu.

The node can select repsonpse and return the code result of http

Select 404 and click Run to completion

# (2) intercept by command

Bpu http://www.baidu.com, the way the command line here

After entering enter

Baidu search is actually two requests, in which two wd need to be modified. After modifying the wd, you need to click break on response

Modify the wd content, and then click breank on response

Modify the wd content, and then click breank on response

When both wd are modified, click the first Run to Completion

We have followed the revised search.

Clear is bpu enter

Summarize how to intercept modified data:

Bpu http://www.baidu.com binds the domain name request API to be modified, view the details page, and stop on the blocking port to modify the value in Inspectors-webform. Multiple scenarios where you first click Break on Response and click Run to Completion to send modified data to clean up the crawled website and enter it directly into bpubpafter.

When developing online, if there is a problem with the online js, you may need to debug it online after local modification. It would be too low to debug the code if you are uploading it. Now try uploading the local one directly and changing the local js to replace the remote js through fiddler modification.

1. Drag files to autoResponder

two。 Click on the file and select the red box

3. You can change it to a local file according to the remote file you dragged in. For example, if the remote is js, you choose the local js. If there is a problem with the remote js, upload the local js after local modification.

PS: how to tamper with data and how to intercept are basically done. It's not complicated. Intercept specified images can be intercepted as long as they can be selected. Then replace the local one for easy debugging.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report