Write byte at address (hexedit/modify binary from the command line)

前端 未结 8 873
轻奢々
轻奢々 2020-12-02 12:25

Is there any straightforward way to modify a binary from the commandline? Let\'s say I know that my binary contains 1234abcd and i want to change it to 12FFabcd or FFFFabcd

8条回答
  •  清歌不尽
    2020-12-02 12:54

    If you don't need it to be scriptable, you could try the "hexedit" utility. It is available in many Linux distributions (if not installed by default, it can usually be found in the distro's package repository).

    If your distro doesn't have it, you can build and install it from source.

提交回复
热议问题