Skip to content

C++ project showcasing executable file modification to alter MD5 hash while preserving functionality

License

Notifications You must be signed in to change notification settings

machinecodeenjoyer/md5-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

C++: Change MD5 Hash

Overview

This C++ project demonstrates a simple modification to an executable file to change its MD5 hash while keeping it functional. The main purpose is to showcase how changing specific bytes in the code section of an executable can affect its hash value.

How it works

The program reads the current executable file, locates the code section, and modifies a predefined pattern within the code. After modification, it writes the changes to a new file and calculates the MD5 hash for both the original and modified files.

Repository Details

Description

Explore the intricacies of modifying an executable file to change its MD5 hash while retaining functionality. This C++ project demonstrates the process of locating and altering specific bytes within the code section of an executable, providing insights into the impact on the resulting MD5 hash.

Topics

  • C++
  • Windows API
  • MD5 Hash
  • Executable Modification
  • Reverse Engineering
  • Windows Programming
  • Code Section Manipulation
  • Educational

Prerequisites

  • Windows operating system
  • Visual Studio or any C++ compiler that supports the Windows API

Usage

  1. Clone the repository:
git clone https://github.com/machinecodeenjoyer/modify-md5-hash.git
cd modify-md5-hash
  1. Build the project using your preferred C++ compiler or IDE.

  2. Run the executable. If successful, it will display the original and modified MD5 hashes.

Repository Structure

  • main.cpp: Main C++ source code file.
  • README.md: Project documentation.
  • LICENSE: License information.

Contributing

Feel free to contribute to this project by submitting issues or pull requests. Please follow the code of conduct.

License

This project is licensed under the MIT License.

Acknowledgments

Disclaimer

This project is for educational purposes only. Modifying executable files may lead to unintended consequences, and it is crucial to respect software licensing agreements and legal regulations.

Support

If you encounter any issues or have questions, please create an issue on the GitHub repository.

Authors

  • seized

Thank you for using and contributing to this project!

About

C++ project showcasing executable file modification to alter MD5 hash while preserving functionality

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages