Ovi3 / pstdio

A GDB plug-in that can set stdio of the program you debug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

这个插件会破坏堆结构

lxraa opened this issue · comments

commented

重定向输入前的堆结构:
image
重定向后的堆结构:
image
底下这个chunk保存的内容是重定向文件的绝对路径:
image

commented

应该是在打开文件时会将文件名分配在堆上。
该项目已不维护。如果做pwn题,推荐用pwntool和gdb来调试