application data packet capturing method, device and calculation equipment
The invention discloses an application data packet capturing method, a device and calculation equipment. The method comprises the following steps: obtaining a class loader of a target application, and obtaining a specified class through the class loader; when a client object of the okhttp network re...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an application data packet capturing method, a device and calculation equipment. The method comprises the following steps: obtaining a class loader of a target application, and obtaining a specified class through the class loader; when a client object of the okhttp network request part is created, utilizing the specified class to realize an interceptor interface of the okhttp network request part, and loading the interceptor interface into the client object; and obtaining a data packet of a network request of a target application according to the client object loaded with the interceptor interface. Therefore, according to the scheme of the invention, the specified class for realizing the interceptor is obtained through the class loader of the application by utilizing the interceptor characteristic of the okhttp network request part, so that the data packet of the application can be effectively captured without being influenced by the traditional anti-capture strategy such as certificat |
---|