我在研究ctypes的一些功能时遇到了这个问题:
import ctypes
hello = open("hello.exe")
shellcode = hello.read()
shellcode_buffer = ctypes.create_string_buffer(shellcode, len(shellcode))
shellcode_func = ctypes.cast(shellcode_buffer, ctypes.CFUNCTYPE(ctypes.c_void_p))
shellcode_func()
我创造了你好.exe从powershell以这种方式
^{pr2}$运行python时会出现这个错误
WindowsError: exception: access violation writing 0x70098553
目前没有回答
相关问题 更多 >
编程相关推荐