Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2015, 14:11
CryptXor CryptXor is offline
Friend
 
Join Date: Oct 2015
Posts: 68
Rept. Given: 0
Rept. Rcvd 24 Times in 12 Posts
Thanks Given: 34
Thanks Rcvd at 131 Times in 39 Posts
CryptXor Reputation: 24
[C#] Patcher2 - Small binary file patcher utility

Patcher2
========

Small C# binary file patcher utility.
The interesting bit is the byte pattern based search and replace.
Should handle file sizes up to 2GB, and is really fast.
(A lot less fast, while making patch patterns, and only handles files of a few hundred megabytes.)
(Created for educational porpoises.)

---

Notes:

Pattern format is like in 010 Editor, but Cheat Engine AOBScan format is also accepted.
Replace is also a pattern, like search.
Offset means the offset compared to the beginning location, of where the pattern is found.
Offset can be negative, and is in base 10, while the patterns are in base 16.

Extra (hidden) features:

Has experimental, memory based pattern replace feature.
Compile for 64 bits, and it will work with 64 bit processes.
(Can also patch itself to 64 bit. Just run selfto64.bat in the Release directory. )
Writing "proc:" in to the file field, will bring up the process list window.
Leaving the replace field empty, will allow you to use the Locate feature.

---

BeaEngineCS optional extension project is:

Based on:

PE file header stuff: http://sandsprite.com/CodeStuff/PEOFFSETCALC.cs
BeaEngineCS: https://github.com/carterjones/beaengine-cs

Using:

BeaEngine: disassembler library for x86 x86-64 (IA32 and Intel64)
http://www.beaengine.org/

Notes:

Have BeaEngineCS(64).dll (and BeaEngineCheetah(64).dll as well of course) in the folder, to use it's disassembly based address masking features,
when creating a difference based patch with the "m" command line option. It will make the process MUCH slower.

Github:
Code:
https://github.com/hdf/Patcher2
Reply With Quote
The Following 2 Users Say Thank You to CryptXor For This Useful Post:
niculaita (10-14-2015), romero (05-26-2016)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary patcher available? Stingered General Discussion 10 04-08-2018 12:14


All times are GMT +8. The time now is 16:23.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )