patchkit:从Python进行二进制修补

时间:2021-04-12 15:09:19
【文件属性】:
文件名称:patchkit:从Python进行二进制修补
文件大小:251KB
文件格式:ZIP
更新时间:2021-04-12 15:09:19
C 补丁包 使用一个或多个简单的Python脚本修补ELF二进制文件。 用法: patch [patchdir|file...] 补丁目录 包含一个或多个Python补丁文件,这些补丁文件将按字母顺序针对二进制文件执行。 补丁示例 点一个地址,注入一个汇编函数,并钩住入口点: def simple_patch(pt): # nop out a jump at the entry point pt.patch(pt.entry, hex='90' * 5) # inject assembly into the binary and return the address addr = pt.inject(asm='mov eax, 1; ret') # hook the entry point to m
【文件预览】:
patchkit-master
----core()
--------patcher.py(3KB)
--------func.py(620B)
--------arch.py(2KB)
--------linker.py(6KB)
--------compiler.py(3KB)
--------__init__.py(58B)
--------context.py(13KB)
--------binary.py(3KB)
----LICENSE(2KB)
----ida()
--------allfuncs.py(339B)
--------funcs.idc(375B)
----samples()
--------x86()
--------cgc()
--------common()
--------arm()
----.gitignore(6B)
----patch(1KB)
----run(645B)
----README.md(2KB)
----util()
--------backdoor()
--------stdlib()
--------heap()
--------__init__.py(119B)
--------emu.py(11KB)
--------elffile.py(57KB)
--------patch()
--------crypto()
--------autolink.py(194B)
--------cfg.py(5KB)
----deps.sh(2KB)
----explore(1KB)
----bindiff(4KB)

网友评论