当前位置:网站首页>There is no network after configuring the agent by capturing packets with Fiddler mobile phones

There is no network after configuring the agent by capturing packets with Fiddler mobile phones

2022-07-05 23:54:00 Big.

For the first time fiddler Grab the bag , After configuring my own computer agent on my mobile phone, I found that there was no network connection , Configure others' agents to have network connections . After Baidu , After trying various methods, it was successfully solved , The whole operation process is recorded below :
1. Confirm that the mobile agent is not configured incorrectly :
Computer search id Address method : Start —— function ——cmd—— determine ——ipconfig—— enter ;
IPv4 The address is the computer id Address :
 Insert picture description here
mobile phone HTTP The configuration agent in the agent , Select Manual , Then input the computer's ip Address , Port input fiddler The port set in ( It's usually 8888);
 Insert picture description here
 Insert picture description here
2. Modify registry information ;
Open the registry : function ——cmd—— determine ——regedit—— enter , stay HKEY_CURRENT_USER\Software\Microsoft\Fiddler2 Next create a DWORD, Value is set to 80( Decimal system )( Right click , Choose new ):
 Insert picture description here
 Insert picture description here
3. edit fiddlerScript rule;
stay fiddler In the menu bar , Click on Rules, choice Customize Rules, And then through ctrl+f lookup OnBeforeRequest Method to add a line of code ;

if (oSession.host.toLowerCase() == "webserver:8888") 
{
        oSession.host = "webserver:80";

}

  • 1
  • 2
  • 3
  • 4
  • 5

 Insert picture description here
 Insert picture description here
PS: After setting these on my computer , Reopen fiddler I can't find it , Still no network connection , So I thought about whether to install the certificate , I will reinstall the certificate , Then reopen fiddler, Sure enough . Here are the steps to reinstall the certificate :
1. stay fiddler In the menu bar , Click on Tools, choice Options…
 Insert picture description here
2. Click on HTTPS, choice Actions, And then choose Reset All Certificates, Click ok ;
 Insert picture description here
 Insert picture description here
 Insert picture description here
3. Then the prompt message of installing the certificate will pop up , choice YES, Installation certificate ;
 Insert picture description here
4. Once installed , stay Actions Choose from Open Windows Certificate Manager, You can view the installed certificate .
 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[Big.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207052339272329.html