Skip to content

Instantly share code, notes, and snippets.

@hoeg
hoeg / patch_call_destination_x64.py
Last active December 4, 2018 22:15
Patch a call instruction in a binary to call another function
#!/usr/bin/python
import struct
filename = "" #change me
#offset in the binary to the call instruction
CALL_OFFSET = 0x00 #change me
#offset in the binary to the destination function
TMUX - Cheatsheet
-----------------
new session
$ tmux new -s <name>
Ctrl-a c -> create new window
Ctrl-a <num> to jump to number window
list tmux sessions