README (237B)
1 2 3 4 5 6 7
Write the contents of a binary file bin as hex bytes to txt: $ hexdump -e '16/1 "%02x ""\n"' bin > txt Edit the bytes in the file, then convert txt to a modified binary: $ for i in $(cat txt); do printf "\x$i"; done > bin.mod