#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
// Make some stack information
char a[100], b[100], c[100], d[100];
// Call the exploitable function
exp
私はCentOS 6.4 32ビットを使用しており、プログラムでバッファオーバーフローを引き起こしています。 GDB内で動作します。ここに出力があります: [[email protected] bufferoverflow]# gdb stack
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010