Found 1000 relevant articles
-
Reverse Engineering PDF Structure: Visual Inspection Using Adobe Acrobat's Hidden Mode
This article explores how to visually inspect the structure of PDF files through Adobe Acrobat's hidden mode, supporting reverse engineering needs in programmatic PDF generation (e.g., using iText). It details the activation method, features, and applications in analyzing PDF objects, streams, and layouts. By comparing other tools (such as qpdf, mutool, iText RUPS), the article highlights Acrobat's advantages in providing intuitive tree structures and real-time decoding, with practical case studies to help developers understand internal PDF mechanisms and optimize layout design.
-
Reverse Engineering Docker Container Startup Commands: Extracting Original docker run Commands from Running Containers
This paper provides an in-depth exploration of methods to reverse engineer original docker run commands from actively running Docker containers. Addressing practical scenarios where containers created via third-party GUI tools require command-line configuration modifications, it systematically analyzes the implementation principles and usage of the runlike tool, contrasts limitations of native docker inspect approaches, and offers comprehensive operational examples and best practice guidelines. The article details container metadata structures, demonstrates how to retrieve complete configuration information through Docker API and reconstruct executable run commands, assisting developers in flexible configuration migration and modification during container operations.
-
Windows Executable Reverse Engineering: A Comprehensive Guide from Disassembly to Decompilation
This technical paper provides an in-depth exploration of reverse engineering techniques for Windows executable files, covering the principles and applications of debuggers, disassemblers, and decompilers. Through analysis of real-world malware reverse engineering cases, it details the usage of mainstream tools like OllyDbg and IDA Pro, while emphasizing the critical importance of virtual machine environments in security analysis. The paper systematically examines the reverse engineering process from machine code to high-level languages, offering comprehensive technical reference for security researchers and reverse engineers.
-
APK Reverse Engineering: Complete Guide to Extracting Java Source Code from DEX Files
This article provides a comprehensive guide on extracting and decompiling Java source code from APK files. By analyzing common UnsupportedClassVersionError causes, it offers detailed steps using dex2jar and JD-GUI tools, including environment setup, command execution, and file processing. The discussion covers APK file structure, DEX format conversion principles, and considerations during decompilation, providing practical technical guidance for Android application reverse engineering.
-
APK Reverse Engineering: A Comprehensive Guide to Restoring Project Source Code from Android Application Packages
This paper provides an in-depth exploration of APK reverse engineering techniques for recovering lost Android project source code. It systematically introduces the dex2jar and JD-GUI toolchain, analyzes APK file structure, DEX bytecode conversion mechanisms, and Java code decompilation principles. Through comparison of multiple reverse engineering tools and technical solutions, it presents a complete workflow from basic file extraction to full project reconstruction, helping developers effectively address source code loss emergencies.
-
Android APK Decompilation: Reverse Engineering from Smali to Java
This article provides an in-depth exploration of Android APK decompilation techniques, focusing on the conversion of .smali files to readable Java code. It details the functionalities and limitations of APK Manager, systematically explains the complete workflow using the dex2jar and jd-gui toolchain, and compares alternative tools. Through practical examples and theoretical analysis, it assists developers in understanding the core technologies and practices of Android application reverse engineering.
-
MySQL Database Reverse Engineering: Automatically Generating Database Diagrams with MySQL Workbench
This article provides a comprehensive guide on using MySQL Workbench's reverse engineering feature to automatically generate ER diagrams from existing MySQL databases. It covers the complete workflow including database connection, schema selection, object import, diagram cleanup, and layout optimization, along with practical tips and precautions for creating professional database design documentation efficiently.
-
Deep Analysis of C Decompilation Tools: From Hex-Rays to Boomerang in Reverse Engineering Practice
This paper provides an in-depth exploration of C language decompilation techniques for 32-bit x86 Linux executables, focusing on the core principles and application scenarios of Hex-Rays Decompiler and Boomerang. Starting from the fundamental concepts of reverse engineering, the article details how decompilers reconstruct C source code from assembly, covering key aspects such as control flow analysis, data type recovery, and variable identification. By comparing the advantages and disadvantages of commercial and open-source solutions, it offers practical selection advice for users with different needs and discusses future trends in decompilation technology.
-
Strategies and Technical Practices for Preventing Reverse Engineering of Android APK Files
This article delves into technical solutions for preventing reverse engineering of Android APK files, focusing on core methods such as ProGuard code obfuscation, native library integration, and server-side logic migration. Through detailed code examples and architectural designs, it explains how to effectively enhance APK security, while emphasizing the impossibility of complete prevention and providing multi-layered protection strategies for varying security needs.
-
In-Depth Analysis of JNZ and CMP Instructions in x86 Assembly: From Flags to Conditional Jumps
This paper explores the workings of CMP and JNZ instructions in x86 assembly language, clarifying common misconceptions about JNZ by analyzing the zero flag (ZF) mechanism. Through code examples, it explains how CMP affects flags and how JNZ decides jumps based on ZF, while extending the discussion to classify conditional jumps and their applications, providing practical guidance for assembly programming and reverse engineering.
-
Research on Scaffolding DbContext from Selected Tables in Entity Framework Core
This paper provides an in-depth exploration of how to perform reverse engineering from selected tables of an existing database to generate DbContext and model classes in Entity Framework Core. Traditional approaches often require reverse engineering the entire database, but by utilizing the -t parameter of the dotnet ef dbcontext scaffold command, developers can precisely specify which tables to include, thereby optimizing project structure and reducing unnecessary code generation. The article details implementation methods in both command-line and Package Manager Console environments, with practical code examples demonstrating how to configure connection strings, specify data providers, and select target tables. Additionally, it analyzes the technical advantages of this selective scaffolding approach, including improved code maintainability, reduced compilation time, and avoidance of complexity from irrelevant tables. By comparing with traditional Entity Framework implementations, this paper offers best practices for efficiently managing database models in Entity Framework Core.
-
Generating UML from C++ Code: Tools and Methodologies
This paper provides an in-depth analysis of techniques for reverse-engineering UML diagrams from C++ code, examining mainstream tools like BoUML, StarUML, and Umbrello, with supplementary approaches using Microsoft Visio and Doxygen. It systematically explains the technical principles of code parsing, model transformation, and visualization, illustrating application scenarios and limitations in complex C++ projects through practical examples.
-
A Technical Guide to Retrieving Database ER Models from Servers Using MySQL Workbench
This article provides a comprehensive guide on generating Entity-Relationship models from connected database servers via MySQL Workbench's reverse engineering feature. It begins by explaining the significance of ER models in database design, followed by a step-by-step demonstration of the reverse engineering wizard, including menu navigation, parameter configuration, and result interpretation. Through practical examples and code snippets, the article also addresses common issues and solutions during model generation, offering valuable technical insights for database administrators and developers.
-
Comprehensive Guide to Searching Specific Values Across All Tables and Columns in SQL Server Databases
This article details methods for searching specific values (such as UIDs of char(64) type) across all tables and columns in SQL Server databases, focusing on INFORMATION_SCHEMA-based system table query techniques. It demonstrates automated search through stored procedure creation, covering data type filtering, dynamic SQL construction, and performance optimization strategies. The article also compares implementation differences across database systems, providing practical solutions for database exploration and reverse engineering.
-
Complete Technical Process of APK Decompilation, Modification, and Recompilation
This article provides a comprehensive analysis of the complete technical workflow for decompiling, modifying, and recompiling Android APK files. Based on high-scoring Stack Overflow answers, it focuses on the combined use of tools like dex2jar, jd-gui, and apktool, suitable for simple, unobfuscated projects. Through detailed steps, it demonstrates the entire process from extracting Java source code from APK, rebuilding the project in Eclipse, modifying code, to repackaging and signing. It also compares alternative approaches such as smali modification and online decompilation, offering practical guidance for Android reverse engineering.
-
Generating UML Class Diagrams from Java Projects Using eUML2 Plugin
This article provides a comprehensive guide on using the eUML2 plugin for Eclipse to generate UML class diagrams from Java source code through reverse engineering. It examines the limitations of traditional UML tools, details the installation and configuration of eUML2, and explains the diagram generation process and advanced analysis features. By comparing with other tools, it highlights eUML2's advantages in project architecture analysis and documentation, offering practical application scenarios and best practices.
-
Python Code Protection Strategies: Balancing Security and Practicality
This technical paper examines the challenges of protecting Python code from reverse engineering and unauthorized access. While Python's interpreted nature makes complete protection impossible, several practical approaches can mitigate risks. The analysis covers trade-offs between technical obfuscation methods and commercial strategies, with emphasis on C extensions for critical license checks, legal protections through contracts, and value-based business models. The paper concludes that a combination of limited technical measures and robust commercial practices offers the most sustainable solution for IP protection in Python applications.
-
Comprehensive Analysis of Django's reverse() Function: URL Reverse Resolution Mechanism and Practical Applications
This article provides an in-depth exploration of the core concepts, working principles, and practical application scenarios of the reverse() function in the Django web framework. By analyzing the URL reverse resolution mechanism and combining it with usage examples of HttpResponseRedirect, it explains how to implement the DRY principle through named URL patterns, avoiding maintenance issues caused by hardcoded URLs. The article also draws on refactoring concepts in software development, integrating reverse engineering ideas with Django URL design, and offers complete code examples and best practice guidance.
-
Android Bluetooth Traffic Sniffing: Protocol Analysis Using HCI Snoop Logs
This article provides an in-depth exploration of techniques for capturing and analyzing Bluetooth communication traffic on Android devices. Focusing on Android 4.4 and later versions, it details how to enable Bluetooth HCI Snoop logging through developer options to save Bluetooth Host Controller Interface packets to device storage. The article systematically explains the complete workflow of extracting log files using ADB tools and performing protocol analysis with Wireshark, while offering technical insights and considerations for practical application scenarios. This method requires no additional hardware sniffing devices, providing an effective software solution for Bluetooth protocol reverse engineering and application development.
-
Java Code Obfuscation: ProGuard Implementation and Security Boundaries
This paper comprehensively examines Java code obfuscation techniques, with a focus on ProGuard's working principles and implementation mechanisms. It begins by emphasizing the impossibility of absolute security, then systematically explains how obfuscation increases reverse engineering costs through key technologies like renaming and control flow obfuscation. Detailed code examples demonstrate ProGuard configuration and usage, while discussing limitations and complementary protection strategies, providing comprehensive technical guidance for secure software development.