Using mitmproxy to crack two-way encryption

Article directory First bomb Encryption and decryption analysis and implementation Mitmproxy implements automatic encryption and decryption Second round Encryption and decryption analysis and implementation Mitmproxy implements automatic encryption and decryption First bullet Encryption and decryption analysis and implementation This test is code audit + penetration, so the encryption method can be directly analyzed. After capturing […]

rtmp streaming media server construction (Windows environment)

@[TOC# rtmp streaming media server construction (Windows environment) 1. System and version Windows Server* 2019 (any Windows system is acceptable, I built it on a server, and the server system version is this) 2. Environment preparation 1. Environment: nginx + nginx-rtmp-module nginx 1.7.12.1 Lizard.zip Download address: [http://nginx-win.ecsds.eu/download/nginx 1.7.12.1 Lizard.zip](http://nginx-win.ecsds.eu/download/nginx 1.7.12.1 Lizard.zip) nginx-rtmp-module-1.2.2.zip Download address: https://codeload.github.com/arut/nginx-rtmp-module/zip/refs/tags/v1.2.2 […]

FFmpeg collects camera images and pushes them to RTSP/RTMP

In a very typical application scenario: push the stream to RTSP, RTMP, HLS server, and the server forwards it to other users for viewing. Many developers also call the FFmpeg API to implement streaming. It is very simple to use FFmpeg to make a stream pusher. The calling process is basically the same as the […]

How to use OpenCV+MMPEAG to open the camera and push the RTMP stream while displaying.

Note that in settings: Detailed code explanation: 1. char* outUrl = “rtmp://localhost/live/livestream”; This address is the default address of AMS (Adeobe Media Server). 2, //Register all codecs avcodec_register_all(); //Register all wrappers av_register_all(); //Register all network protocols avformat_network_init(); //Open the camera VideoCapture cam; namedWindow(“video”); Mat frame; //Pixel format conversion context SwsContext* vsc = NULL; //Output data […]

How does the Android side pull the RTSP/RTMP stream and call back the YUV/RGB data and then inject the lightweight RTSP service?

Technical background When we were developing audio and video modules for the Android platform, we encountered such a problem. Manufacturers wanted to pull the RTSP streams from Hikvision, Dahua and other cameras, and then send the decoded YUV or RGB data back to them, and they would make videos. After analysis or processing, it is […]

Window system: nginx (nginx-rtmp-module module) implements rtmp server

Download Just click on the link below to download. The download contains rtmp server related functions, but it needs to be configured. Index of /download/ (ecsds.eu) nginx 1.7.11.3 Gryphon.zip Just click on the link below to download http://nginx-win.ecsds.eu/download/nginx 1.7.11.3 Gryphon.zip Configuration Modify configuration file The configuration file path is the nginx-win.conf configuration file in the […]

C-style file input/output — operations on files — (std::remove, std::rename, std::tmpfile, std::tmpnam)

The C I/O subset of the C++ standard library implements C-style stream input/output operations. The <cstdio> header file provides general file support and provides functions with narrow and multibyte character input/output capabilities, while the <cwchar> header file provides functions with wide character input/output capabilities. Operations on files Delete files std::remove int remove( const char* fname); […]

c++ handles yolov5s pre- and post-processing, picture frames, rtmp streaming

c++ handles yolov5s pre- and post-processing, picture frames, rtmp streaming Stop talking nonsense and get straight to the process. decode–>yolov5 pre_process->nnet processing->yolov5 post_proess–>x264 encode –>rtmp streaming // g + + VideoFFmpeg_2.cpp -o VGAppF_2g + + pkg-config –cflags –libs opencv4 // icpx -fsycl VideoFFmpeg_2.cpp -o VGAppF_2ipcx pkg-config –cflags –libs opencv4 // Steam Server: rtmp://127.0.0.1:1935/live #include #include […]