Edit binaries with vim
It is possible to edit binary files with vim. For this, you open the file with the option -b
and run internal :%!xxd
.
This will convert the current file into a hexdump that can be edited. Once you completed your change you can use the :%!xxd -r
to convert it back.
Sources: