Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjxtra/hexandreplace
Search and replace using hex. Find and replace binary data with simple C# code. Super fast and allows files of any size.
https://github.com/jjxtra/hexandreplace
binary code csharp editor hex hex-editor replace search tool tools
Last synced: 7 days ago
JSON representation
Search and replace using hex. Find and replace binary data with simple C# code. Super fast and allows files of any size.
- Host: GitHub
- URL: https://github.com/jjxtra/hexandreplace
- Owner: jjxtra
- License: mit
- Created: 2019-11-17T01:49:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T16:02:13.000Z (6 months ago)
- Last Synced: 2024-06-18T17:23:32.574Z (6 months ago)
- Topics: binary, code, csharp, editor, hex, hex-editor, replace, search, tool, tools
- Language: C#
- Homepage: https://www.digitalruby.com
- Size: 28.3 KB
- Stars: 18
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## Hex and Replace
HexAndReplace allows finding a hex sequence in any file and replacing with another. The replacement hex must be identical in length to the find hex. Great if you don't want to install a hex-editor for concerns of malware.
The file will be replaced as is, so make a backup first if you are not sure.
As of 2.0.0 release, files of unlimited length are supported.
Usage:
```
HexAndReplaceGeneral Example:
HexAndReplace mybinaryfile.bin 0xFFEEDDCC 0xAAEEDDCC// Unity 2019.3 dark mode
HexAndReplace "C:\Program Files\Unity\Hub\Editor\2019.3.6f1\Editor\Unity.exe" "75 15 33 C0 EB 13 90" "74 15 33 C0 EB 13 90"// Unity 2018.4 dark mode
HexAndReplace "C:\Program Files\Unity\Hub\Editor\2018.4.6f1\Editor\Unity.exe" "74 04 33 C0 EB 02 8B 03 48 8B 4C" "75 04 33 C0 EB 02 8B 03 48 8B 4C"// Unity 2017.4 dark mode
HexAndReplace "C:\Program Files\Unity\Hub\Editor\2017.4.38f1\Editor\Unity.exe" "75 08 33 C0 48 83 C4 20 5B C3 8B 03 48 83 C4 20 5B C3" "74 08 33 C0 48 83 C4 20 5B C3 8B 03 48 83 C4 20 5B C3"
```Enjoy!
-- Jeff