ProtoBuf compiles and generates Google.Protobuf.dll and Protoc.exe, and customizes the code generation rules

Article directory ProtoBuf basic introduction Import ProtoBuf locally Compile and get Google.Protobuf.dll Compile to get the Protoc.exe executable file CMake compiles ProtoBuf into Visual Studio basic configuration Resolve errors after Finish Error 1 and solution: googletest Error 2 and solution: abseil-cpp Visual Studio generates basic exe operations Use Protoc.exe to compile Proto files into C# […]

MATLAB generates dll library and calls and parameter settings in Qt

Navigation Matlab generates dll and calls it in Qt Matlab generates dll Qt calls the generated dll dll library input and output parameters My experience when using it Reference link Matlab generates dll and calls it in Qt Manually converting Matlab algorithms into C++ is time-consuming and laborious, and the C/C++ code generated by matlab […]

SKF toolkit UKEY encryption and decryption JAVA interface calls UKEY DLL/SO driver

Recently, the company needs to develop national encryption and decryption based on the UKEY method. After searching around the Internet, I can only find the only UEKY interface of Longmai Technology, and there are only a few. After a period of exploration, I finally finished writing the test and passed it. (Ukey provided by Haitai […]

DLL hijacking & CS online host

DLL hijacking What is a DLL file Baidu Encyclopedia: The full name of DLL is Dynamic Link Library, which is called “dynamic link file” in Chinese. In the Windows operating system, DLL is very important for program execution, because when the program is executed, it must be linked to the DLL file in order to […]

How to generate DLL for ordinary Qt projects (including source code + comments)

Article directory 1. Example diagram 2. Contents that need to be modified in ordinary projects 3. Source code (a TestDLL project was created, and the changes were mainly in the pro file and maindow.h file) TestDLL.pro mainwindow.h mainwindow.cpp mainwindow.ui Summarize related articles 1. Sample image Compiling using different compilation modes will generate the “TestDll” folder […]

[Software Reverse] How to remotely inject dll under windows and perform virtual table hook

Tools required Microsoft Visual Studio development tools. IDA pro dynamic debugging tool. Process Hacker 2 process monitoring tool. Exe program that is remotely injected. (Take crackme.exe as an example) Remotely inject dll for virtual table hook 1. Decompile IDA pro to find the logical address of the function Use IDA pro to open crackme.exe and […]