Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- basic_exploitation_001
- 드림핵
- L16
- Basic
- rev-basic-7
- L18
- rev-basic-4
- CodeEngn
- rev-basic-2
- 코드엔진 베이직 13
- sd카드 리더기
- rev-basic-1
- rev-basic-6
- L17
- RCE
- off_by_one_000
- 코드엔진 베이직
- basic_exploitation_000
- rev-basic-5
- L15
- pwnable.kr
- Pwnable
- 포너블
- out_of_bound
- Dreamhack
- rev-basic-3
- rev-basic-0
- sint
- off_by_one_001
- coin1
Archives
- Today
- Total
목록basic_exploitation_001 (1)
서브웨이
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/XvcIp/btq91OP1RyJ/1EUqfd4Oru7dlgkdxoqGt1/img.png)
바로 다음 문제를 풀어봅시다. 아까와 같은 형태의 문제네요. 일단 소스코드를 열어봅시다. #include #include #include #include void alarm_handler() { puts("TIME OUT"); exit(-1); } void initialize() { setvbuf(stdin, NULL, _IONBF, 0); setvbuf(stdout, NULL, _IONBF, 0); signal(SIGALRM, alarm_handler); alarm(30); } void read_flag() { system("cat /flag"); } int main(int argc, char *argv[]) { char buf[0x80]; initialize(); gets(buf); return 0;..
Pwnable/dreamhack
2021. 7. 19. 17:06