sed replace HEX sequence in your binary file:

Here is how to replace a HEX sequence in your binary file:

$ sed 's/\x0D\x4D\x53\x48/\x0D\x0A\x4D\x53\x48/g' file > temp; rm file; mv temp file
posted @ 2018-04-09 15:33  kakaisgood  阅读(572)  评论(0)    收藏  举报