1. Introduceheap을 얼마나 이해하고 있는지를 알기위해서 protostar의 heap시리즈의 write-up을 작성해보겠습니다. 제가 이해하기 위해서 쓰는 write-up이어서 설명이 길 수 있습니다. 2. Analysis 1234567891011121314151617181920212223242526272829#include #include #include #include #include void winner(){ printf("that wasn't too bad now, was it? @ %d\n", time(NULL));} int main(int argc, char **argv){ char *a, *b, *c; a = malloc(32); b = malloc(32); c = malloc(3..
1. Introduce heap을 얼마나 이해하고 있는지를 알기위해서 protostar의 heap시리즈의 write-up을 작성해보겠습니다. 2. Analysis 123456789101112131415161718192021222324252627282930313233343536373839404142434445#include #include #include #include #include struct auth { char name[32]; int auth;}; struct auth *auth;char *service; int main(int argc, char **argv){ char line[128]; while(1) { printf("[ auth = %p, service = %p ]\n", auth, s..
1. Introduce heap을 얼마나 이해하고 있는지를 알기위해서 protostar의 heap시리즈의 write-up을 작성해보겠습니다. 2. Analysis 1234567891011121314151617181920212223242526272829303132333435#include #include #include #include #include struct internet { int priority; char *name;}; void winner(){ printf("and we have a winner @ %d\n", time(NULL));} int main(int argc, char **argv){ struct internet *i1, *i2, *i3; i1 = malloc(sizeof(struc..
1. Introduceheap을 얼마나 이해하고 있는지를 알기위해서 protostar의 heap시리즈의 write-up을 작성해보겠습니다. 2. Analysis12345678910111213141516171819202122232425262728293031323334353637383940#include #include #include #include #include struct data { char name[64];}; struct fp { int (*fp)();}; void winner(){ printf("level passed\n");} void nowinner(){ printf("level has not been passed\n");} int main(int argc, char **argv){ str..
1. Introduce 현재 heap공부를 하고 있는데, 몇 주째 잡고있는데도 실력이 늘지 않는 것 같아서 직접 읽어본 자료들을 참고해서 malloc, free를 통해 chunk가 어떻게 할당되고 해제되는지, 그때의 chunk는 어떻게 구성되는지,free chunk들을 수용하는 bin들은 어떻게 구성되고 어떤 특징이 있는지 등등 여러가지를 설명하겠습니다.(잘못 알고 있을 수 있는 부분이 있습니다. 댓글로 조언해주시면 감사하겠습니다 :D) 2. Explain a = malloc(8);b = malloc(8);c = malloc(8); 이렇게 malloc을 진행하였다고 가정하고 chunk가 어떻게 할당되는지 보겠습니다. malloc을 a,b,c 순서로 했으니 힙구조는 [C - B - A]가 될 것입니다. m..
- Total
- Today
- Yesterday
- orge
- 파이썬
- C언어
- HarekazeCTF
- babypwn
- Golem
- TAMUCTF
- lob
- babyheap
- ftz
- Python
- 클래스
- bugbear
- zombie_assassin
- angry_doraemon
- protostar
- 포너블
- 올리디버거
- darkknight
- OllyDbg
- BaskinRobins31
- 비교 연산자
- picoctf
- Nightmare
- Codegate
- 0ctf
- 리버싱
- luckyzzang
- succubus
- Pwnable.kr
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |