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

How to build a mobile phone bag-grabbing environment in big data

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Big data in how to build a mobile phone bag environment, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

1 tool preparation

1) one computer

It is better to have a laptop because it has an unlimited network card built in. If you use a desktop computer, you need to buy your own wireless card. You don't need to buy professional packet grabbing network cards, but buy those USB mini wireless network cards to meet the requirements. If you are not sure what network card to buy, you can choose Xiaomi WIFI.

2) one mobile phone

3) grab the package software

The commonly used package capture software are WireShark, Fiddler, Charles, miniproxy and so on. I use Fiddler here as an example to explain, they grab the principle of the package is basically the same. Look at the individual like to choose to grab the package software.

4) soft AP software

Now there are many network cards on the market that can create soft AP (Soft-AP) software. Common software are: cheetah free WIFI, 360 free WIFI, WIFI sharing wizard.

2 principle analysis

1) what is the content of grabbing the mobile phone App?

Mobile App is inseparable from the interaction with the server. Links are established between them through the HTTP/HTTPS protocol, and most of the data is transmitted in JSON format. To grab the bag of App, it is also HTTP/HTTPS 's bag.

2) what is the principle of packet capture software?

Packet capture software can be regarded as a proxy server, and all packets are forwarded through this proxy server. During the forwarding process, the proxy server will intercept the data. This is what we see as "grabbing the bag".

3) do you need soft AP software?

This has something to do with your network. If your computer and phone are on the same network segment, you don't need to use soft AP to create a WIFI network. If you are not on the same network segment, you need to use soft AP software. The most common scenario should be the wired network used by the computer and the wireless network used by the mobile phone. It is likely that the two devices are not on the same network segment.

4) how to determine whether two devices are on the same network segment?

Network segment is the concept of IP address classification. The IP address we use now is still IPv4. An IP address looks something like this: 192.168.1.110. In general, if the first three digits of the IP address of two devices are the same, they are on the same network segment.

The IP address of my computer is:

The IP address of my mobile phone is:

The above two pictures show that they are on the same network segment.

If two devices are not on the same network segment, use your computer to open a soft AP, and then connect your phone to the WIFI network. So they are in the same network segment.

3 build the environment

Next, I will explain the situation when the two devices are not in the same network segment. Because the probability of this kind of situation is very high.

First, download cheetah free WIFI. After the installation is successful, open WIFI and connect your phone to the WIFI you just created.

Then go to Fiddler's official website to download the installation package. After all, the Fiddler official website is a foreign website, and the visit is sometimes very slow. If you can't download it, you can download it from a domestic software mall. If the installation is successful, open the Fiddler software and we will see the following interface. On the left is the captured packet, and on the right is the packet analysis interface.

Then turn on the "whether to allow remote devices to connect" option. Tools-> Fiddler Options-> Connections, check "Allow remote computers to connect".

In addition, we can see the 8888 port number that Fildder is listening to. This is the port number of the mobile phone setting agent. Configure the proxy in the settings of the connected WIFI of the phone. The proxy IP address is the IP address of the computer, and the port is the port 8888 just set. One thing to note here is to make sure that the computer and the mobile phone are on the same network segment.

We use soft AP to create WIFI, which ensures that computers and phones are on the same network. The IP address needs to be checked again.

Then fill in the IP address and port you just obtained into the proxy configuration of WIFI.

Now both Google and Apple are pushing to use the HTTPS protocol, so we also need to configure the package to crawl HTTPS.

Finally, use the mobile browser to access the proxy server address to install the certificate. According to the image above, I visited 192.168.192.2Switzerland 8888, and the browser prompted whether to install the certificate. After the installation is successful, you can grab the package of the mobile phone App.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

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

Internet Technology

Wechat

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

12
Report