利用got覆盖执行shellcode
漏洞程序
// gcc source.c -o vuln -no-pie -fno-stack-protector -z execstack -m32
#include <stdio.h>
void vuln() {
    char buffer[20];
    puts("Give me the input");
    gets(buffer);
}
int main() {
    vuln();
    return 0;
}       
- 原文作者:winsun
- 原文链接:https://winsun.github.io/fightsec/post/pwn_03_got_overwrite/
- 版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议进行许可,非商业转载请注明出处(作者,原文链接),商业转载请联系作者获得授权。