2013년 3월 12일 화요일

파이썬 디버거(my_test.py)

'''
Created on 2013. 3. 11.

@author: perry912
'''
import my_debugger
from my_debugger_defines import *

debugger = my_debugger.debugger()
pid = raw_input("Enter the PID of the process to attach to: ")
debugger.attach(int(pid))
printf = debugger.func_resolve("msvcrt.dll","printf")
print "[*] Address of printf: 0x%08x" % printf
debugger.bp_set_mem(printf,10)

debugger.run()

댓글 없음:

댓글 쓰기