Netty practice — Netty handles sticky packet unpacking

TCP packet sticking/unpacking TCP processes data in a streaming manner. Unpacking: A complete data packet may be split into multiple packets by TCP for sending. Sticky packets: TCP may stick multiple small packets into one large data packet. Introduce dependency packages: <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>4.1.29.Final</version> </dependency> Example of sticky package unpacking: Server EchoServer: /** * […]

[Android Security] VMP Packing Example

A good, easy-to-understand introduction to Android VMP principles See: https://www.cnblogs.com/theseventhson/p/14933920.html Complete code of the interpreter in VMP: #include <jni.h> #include <string> // Raw code_item. struct CodeItem {<!– –> uint16_t registers_size_; // the number of registers used by this code // (locals + parameters) uint16_t ins_size_; // the number of words of incoming arguments to the […]

Obfuscation, encryption and packing of Java applications

Article directory background Preface my solution Implement code appendix question Problems with code obfuscation Problems with Java class file encryption Problems with virtualization protection Problems with AOT compilation Packaging of Java applications obfuscator Class loading and class encryption Bootstrap Class Loader Extension Class Loader System Class Loader Custom ClassLoader protector4j Packing Using Golang to package […]

JAVA Deepening Chapter_03–Packaging class, automatic unpacking and caching issues

Wrapper classes for basic data types The eight basic data types we learned earlier are not objects. In order to convert basic type data and objects into each other,Java provides corresponding wrapper classes for each basic data type. Basic knowledge of packaging Java is an object-oriented language, but it is not “purely object-oriented” because the […]

Netty unpacking and sticking problem

Netty uses the TCP/IP protocol, so it will inevitably encounter the problem of unpacking and sticking. Netty also provides relevant solutions and records how Netty solves the problem of unpacking and sticking. The TCP/IP protocol is a “stream” protocol, which is a data transmission method similar to water flow. When we request multiple times, there […]

Software protection technology: packing and unpacking

A brief analysis of the packing principle: 1. What is a shell: A type of software that is specifically responsible for compressing the program size, or protecting a program from illegal modification and reverse analysis. By attaching its own code to the protected object (original program), the shell executes the original program code in the […]

Linux CentOS installation packet capture and unpacking tool Wireshark graphical interface

1. Introduction to Wireshark Wireshark is an open source network protocol analysis tool that captures and analyzes network packets, providing in-depth network troubleshooting, network performance optimization, and security auditing. It is supported across multiple operating systems, including Windows, macOS, and Linux. 2. Main methods of using Wireshark Capture packets: Open Wireshark and select the network […]

C project and register packing (GPIO register)

void Delay(unsigned int Time) {<!– –> while(Time –); } #if 0 int main() {<!– –> /* Set GPX2_7 pin as output function by setting GPX2_CON register LED2 * Directly write *0x11000c40 system does not recognize this is an address, * It needs to be converted into a pointer that can point to the address of […]

C++ variable-length template parameters, parameter packing, tuple, index_sequence, comma operator, and folding expressions

Article directory 1. Variable-length template parameters 1. Variable-length template parameters and comma expressions 2. std::common_type_t 3. Implement a common_type that can get two types 4. Implement a common_type that can get multiple arbitrary types 5. All types of variable-length template parameters are int types 6. Can this type be converted to any of these types? […]