Installation and use of whistle packet capture tool

1. Installation

  1. Install node, after the download is complete, the next step is the
    node official website
  2. After the installation is complete, open the cmd window and
    enter node -v to display the version number and the installation is successful
    Icon
  3. Install whistle
    npm install -g whistle
    recommend using the specified mirror to install npm install whistle -g --registry=https://registry.npm.taobao.org
    Install whistle
  4. Start whistle
    w2 start
    Start whistle

2. Proxy settings on the mobile phone

  1. Turn on the connected WiFi network to ensure that the phone and computer are in the same local area networkClick the setting button of the connected network, different models are inconsistent
  2. Click on advanced settings Click on advanced settings
  3. Proxy server select manual, and enter the computer ip and whistle default port, saveProxy server select manual, and enter the computer ip and whistle default port port
  4. Computer ip view method
    Insert picture description here

Three, install the certificate

  1. Open the whistle address bar in the browser and enter 127.0.0.1:8899, press Enter
    Insert picture description here
  2. Click HTTPS
    Insert picture description here
  3. Scan code installation on mobile browser
    Mobile phone scan code installation
  4. The basic configuration is complete, and the mobile browser visits the Baidu website to try if the package can be captured
    Insert picture description here

Fourth, the PC browser needs to be configured when fetching PC requests

  1. It is recommended to use Google Chrome to install the plug-in
    . Download the SwitchyOmega plug
    - in from the official website. Third- party download and
    open the Google Chrome extension, enter chrome://extensions/ in the address bar, and then change the suffix of the downloaded .crx file to .zip and drag it into the browser. You can install it.
    Then you need to configure the proxy address and port.
    Insert picture description here
    Here you can configure the automatic switching mode. When you access a different domain name, it will automatically switch to a different network; this page can also manually add other scene modes
    Insert picture description here
    . After the mode is set, you can set a shortcut like
    Insert picture description here
    this You can click the button above to select the desired mode
    Insert picture description here

  2. Using Firefox browser, install the plug-in
    ProxySelector plug-in

Guess you like

Origin blog.csdn.net/weixin_41891385/article/details/113064750