일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- pwnable
- Read
- shellcode
- Rookiss
- Bug
- 2018
- pwn
- toddler
- format
- Leak
- CTF
- PMA
- rev
- Bottle
- pwnable.kr
- TUCTF
- writeup
- shellcraft
- CANARY
- ASM
- FSB
- picoCTF
- Toddler's Bottle
- string
- anti
- BOF
- pico
- Reverse
- reversing
- practicalmalwareanalysis
- Today
- Total
목록binary (2)
제리의 블로그
pwnable.kr Toddler's Bottle coin1 - 6 pt Mommy, I wanna play a game! (if your network response time is too slow, try nc 0 9007 inside pwnable.kr server) Running at : nc pwnable.kr 9007 $ nc pwnable.kr 9007 --------------------------------------------------- - Shall we play a game? - --------------------------------------------------- You have given some gold coins in your hand however, there is ..
programSource #include #include #include #include #define FLAGSIZE_MAX 64 char flag[FLAGSIZE_MAX]; void sigsegv_handler(int sig) { fprintf(stderr, "%s\n", flag); fflush(stderr); exit(1); } void vuln(char *input){ char buf[16]; strcpy(buf, input); } int main(int argc, char **argv){ FILE *f = fopen("flag.txt","r"); if (f == NULL) { printf("Flag File is Missing. Problem is Misconfigured, please con..