[dreamhack.io] 「iofile_aw」 풀이


[dreamhack.io] 「iofile_aw」 풀이

Dreamhack 난이도 이름 iofile_aw 어쩌면 단순할지도 모르지만 조금 더 매운맛c️! 현재 제가 글을 쓰는 지금 <System Hacking Advanced> 커리큘럼의 가장 마지막 문제로, 며칠만에 드디어 이 문제를 이해하게 되었습니다. 미리 알아둘 것 _IO_FILE 구조 이해 워게임 <Bypass IO_validate_vtable> 바로 문제를 살펴봅시다. 이런! 문제 코드가 너무 깁니다. // gcc -o iofile_aw iofile_aw.c -fno-stack-protector -Wl,-z,relro,-z,now #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <unistd.h> #include <string.h> char buf[80]; int size = 512; void alarm_handler() { puts("TIME OUT"); exit(-1); } void initialize(...


#_IO_FILE #python #stdin #stdout #vtable #wargame #writeup #워게임 #파일구조 #풀이 #pwntools #pwnable #Assembly #C #C언어 #exploitation #FSOP #GDB #iofile_aw #kernel #linux #해설

원문링크 : [dreamhack.io] 「iofile_aw」 풀이