当我尝试通过 pwntools 使用 gdb 调试我的程序时,gdb 在 0xc0f 地址处插入一个断点。
这个地址对应于我的程序的开头,没有随机部分。
下面是我的带有 pwntools 的 python 脚本:
#! /usr/bin/python2.7
# -*- coding: utf-8 -*-
from pwn import *
p = gdb.debug('./lab6A','''
break main
continue <= I forgot to write this command in my first post.
''')
还有我的问题的截图: