tunz / binch-go

A lightweight command-line ELF binary patch tool written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binch

A lightweight ELF binary patch tool.

render1567170049118

Installation

Using Install script

$ curl https://raw.githubusercontent.com/tunz/binch-go/master/install.sh | bash

or, you can download a binary in releases page.

Usage

$ ./binch [binary name]

Shortcuts

Main View

g: Go to a specific address. (if not exists, jump to nearest address)
d: Remove a current line. (Fill with nop)
q: Quit.
s: Save a modified binary to a file.
enter: Modify a current line.
j/k: Move to next/previous instruction.
ctrl+f/b: Move to next/previous page.

Patch View

tab: Switch focusing opcode/instruction.
enter: Apply the patch.

About

A lightweight command-line ELF binary patch tool written in Go


Languages

Language:Go 92.6%Language:Shell 5.0%Language:Makefile 2.4%