1. The difference between Fiddler and other packet capture tools 1. Although Firebug can capture packets, it is not powerful enough to analyze the detailed information of http requests. The function of simulating HTTP requests is not enough, and Firebug often requires “no refresh modification”. If the page is refreshed, all modifications will not be […]
Tag: capture
The whole process of linux C++ crash stack capture
1. Crash signal processing When a program crashes, the operating system sends a signal to the program to notify it that an exception has occurred. In C++, you can register a signal handler through the signal function so that the program can execute custom code when it receives the signal. #include <execinfo.h> #include <signal.h> #include […]
Use Qt+FFmpeg to capture the desktop for rtsp streaming and write SEI information in real time
FFmpegMedia.h #pragma once #include <QObject> class QMutex; template<typename> class QFutureWatcher; class FFmpegMedia: public QObject { Q_OBJECT public: FFmpegMedia(QObject *parent = nullptr); ~FFmpegMedia(); inline void setCodecName(const QString & amp;codec) { mdesCodec = codec; } inline void setTargetWindowTitle(const QString & amp;title) { mwindowTitle = title; } inline void setFrameRate(int rate) { mframeRate = rate; } inline int […]
iOS in-app packet capture, NSURLProtocol intercepts network requests within APP
Foreword When developing, you need to obtain data in the SDK. Since you cannot see the code, you can only monitor all network request data and intercept the corresponding return data. This can be achieved through NSURLProtocol, and can also be used to interact with H5. 1. NSURLProtocol intercepts requests 1. Introduction to NSURLProtoco Official […]
Packet capture and analysis of mysql traffic under Linux C/C++ (protocol analysis)
The MySQL communication protocol is a stateful protocol mainly used for communication between MySQL clients and servers. This protocol is implemented in MySQL client connectors (such as Connector/C, Connector/J, etc.), MySQL Proxy, and master-slave replication. Features of the protocol include support for SSL, compression and authentication. The interaction process between the MySQL client and the […]
[Linux Network] Linux network packet capture tool tcpdump
1. Introduction to tcpdump tcpdump is a Linux network packet capture tool. It allows users to intercept and display TCP/IP and other data packets sent or received over the network connection to the computer. tcpdump is suitable for most Unix-like operating systems (such as linux, BSD, etc.). 2. Installation & Usage Instructions 1) Installation $ […]
QT captures keyboard input and displays the input shortcut key combinations, and solves the problem that some key combinations (such as Ctrl+Shift+letters) cannot be recognized in the Linux environment
Recently I am working on a QT project, which requires identifying keyboard input keys to generate shortcut keys. There is a class QKeySequenceEdit in QT. Using this, you can directly obtain keyboard input. However, if you want to filter out the keys you do not want to recognize, you must rewrite it. ThekeyPressEvent(QKeyEvent *e) function. […]
[App packet capture prompts network abnormality, how to solve it?
Background When you test the App, you want to use Fiddler/Charles and other tools to capture packets and check the data of the https request. You will find that most Apps prompt network exception/no data and other information. Take “Shell Housing Search” as an example: 455 x 705 The request seen in Fiddler is like […]
040-Third generation software development-new waveform capture algorithm
Third generation software development-new waveform capture algorithm Article directory Third generation software development-new waveform capture algorithm Project Introduction New waveform capture algorithm Code explanation Keywords: Qt、 Qml、 Catch the wave, Interception, Waveform Project introduction Welcome to our QML & C++ project! This project combines the power of QML (Qt Meta-Object Language) and C++ to develop […]
springboot2.x uses @RestControllerAdvice to implement universal exception capture
Article directory demo address achieve effect introduce Basic class preparation 1. General enumeration and error status enumeration 2. Define universal return results 3. Customized business exceptions Unified exception catching test demo address demo project address Achieve results When we enter 1, the normal response result is returned When we enter 2, an exception is thrown, […]