ํฌ์ŠคํŒ… ์ธ๋„ค์ผ ์ด๋ฏธ์ง€

War Games/ํ•ด์ปค์Šค์ฟจ LOB

[ํ•ด์ปค์Šค์ฟจ LOB] Level14: Bugbear >> Giant

Level 14. Bugbear >> Giant Theme: RTL ๋กœ๊ทธ์ธ id : bugbear pw : new divide bash2 & ์ฝ”๋“œํ™•์ธ 1 /* 2 The Lord of the BOF : The Fellowship of the BOF 3 - giant 4 - RTL2 5 */ 6 #include 7 #include 8 #include 9 main(int argc, char *argv[]) 10 { 11 char buffer[40]; 12 FILE *fp; 13 char *lib_addr, *execve_offset, *execve_addr; 14 char *ret; 15 if(argc < 2){ 16 printf("argv error\n"); 17 exit(0); 18 } 19 // gai..

2020.08.02 ๊ฒŒ์‹œ๋จ

 ํฌ์ŠคํŒ… ์ธ๋„ค์ผ ์ด๋ฏธ์ง€

War Games/ํ•ด์ปค์Šค์ฟจ LOB

[ํ•ด์ปค์Šค์ฟจ LOB] Level12: Golem >> Darkknight

Level 12. Golem >> Darkknight Theme: FPO ๋กœ๊ทธ์ธ id : golem pw : cup of coffee bash2 & ์ฝ”๋“œํ™•์ธ [golem@localhost golem]$ bash2 [golem@localhost golem]$ nl darkknight.c 1 /* 2 The Lord of the BOF : The Fellowship of the BOF 3 - darkknight 4 - FPO 5 */ 6 #include 7 #include 8 void problem_child(char *src) 9 { 10 char buffer[40]; 11 strncpy(buffer, src, 41); 12 printf("%s\n", buffer); 13 } 14 main(int argc..

2020.07.31 ๊ฒŒ์‹œ๋จ

 ํฌ์ŠคํŒ… ์ธ๋„ค์ผ ์ด๋ฏธ์ง€

War Games/ํ•ด์ปค์Šค์ฟจ LOB

[ํ•ด์ปค์Šค์ฟจ LOB] Level11: Skeleton >> Golem

Level 11. Skeleton >> Golem Theme: Stack Destroyer ๋กœ๊ทธ์ธ id : skeleton pw : shellcoder bash2 & ์ฝ”๋“œ ํ™•์ธ [skeleton@localhost skeleton]$ ls golem golem.c [skeleton@localhost skeleton]$ bash2 [skeleton@localhost skeleton]$ nl golem.c 1 /* 2 The Lord of the BOF : The Fellowship of the BOF 3 - golem 4 - stack destroyer 5 */ 6 #include 7 #include 8 extern char **environ; 9 main(int argc, char *argv[]) 10 {..

2020.07.26 ๊ฒŒ์‹œ๋จ