Two ways to grab a bag: Wireshark grab bag and fiddler grab bag

Source: Internet
Author: User

1, the computer to do WiFi hotspot, mobile phone connected on the computer using Wireshark grab Bag

This method does not need root, and is suitable for all kinds of mobile phones (IOS, Android, etc.) with WiFi function. As long as the computer's wireless card has the wireless load-carrying function, you can. Here's how:

1. Make the computer network a hotspot

2. When the WiFi hotspot is turned on, the mobile phone is connected to the hotspot;

3. Start Wireshark, select the network card as the hotspot, click Start to grab the packet;

4. Operation mobile phone, can crawl to the phone all the network interaction with the packet, if need to stop, directly click on the Wireshark stop.

2, use Fiddler to crawl

This method only adapts to crawling HTTP. The biggest advantage of this approach is that HTTP can be intercepted or received, and HTTP request and response data can be modified. Therefore, this method can be used to simulate some special scenarios (such as packet not responding, simulating some difficult error codes, etc.).

This method is best to have a computer with a wireless card.

1. Computer and mobile phone connected to the same LAN (such as computer and mobile phone connected to the same WiFi)

2. The computer opens Fiddler, under Fiddler, Tools-fiddler Options, set the listening port number under the Connections tab and tick "Allow remote computers connect", click "OK"

3. Mobile phone under the WiFi option, select * * for "manual", then the host name in the computer's IP address, the port number is filled in just set the "8888" after the save.

4. After the setup is complete, the direct operation of the phone can be seen on the computer's Fiddler on the HTTP code stream.

Two ways to grab a bag: Wireshark grab bag and fiddler grab bag

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.