๐ฉ Hexadecimal Patch Tools
Utilities for patching and searching hexadecimal data.
hex_patchโ
Replaces hex fragments in a file.
Argument | Description |
---|---|
OLD | Hex code to find |
NEW | New hex code |
FILE | File to patch |
hex_patch "74696d65" "00696d65" "/system/bin/testfile"
hex_searchโ
Searches for hex lines in a file.
Argument | Description |
---|---|
-include OPT | Include digits (e.g., "after:10 before:5") |
HEX | Hex code to find |
FILE | File to search |
hex_search -include "after:10 before:5" "74696d65" "/system/bin/testfile"
hex_checkโ
Checks if a hex fragment exists in a file.
Argument | Description |
---|---|
HEX | Hex code to find |
FILE | File to check |
if hex_check "74696d65" "/system/bin/testfile"; then ui_print "Found"; fi