Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (10 sloc) 331 Bytes
#!/usr/bin/env python
with open("crackme", "rb") as f:
original =
with open("stuff_func.bin", "rb") as f:
newfunc =
offset = 0xaf0
padding = b"\x90"*80
new = original[:offset] + newfunc + padding + original[offset+len(newfunc)+len(padding):]
with open("crackme.newfunc", "wb") as f:
You can’t perform that action at this time.