Skip to content

Commit 759d261

Browse files
author
Pongsakorn Sommalai
committed
Change stack to container and make challenge ez
1 parent 6a64052 commit 759d261

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

app.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"description": "",
44
"repository": "",
55
"logo": "https://suam.wtf/favicon-32x32.png",
6-
"keywords": ["hacking", "lab", "pwn"]
6+
"keywords": ["hacking", "lab", "pwn"],
7+
"stack": "container"
78
}

chall.c

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ void shell(){
1111

1212
int main(){
1313
char buf[8];
14+
unsigned int x;
15+
1416
gets(buf);
17+
18+
if (x == 0xdeadbeef) {
19+
shell();
20+
}
21+
1522
return 0;
1623
}

0 commit comments

Comments
 (0)