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
- off_by_one_000
- CodeEngn
- rev-basic-2
- 포너블
- Dreamhack
- Basic
- basic_exploitation_001
- 드림핵
- RCE
- rev-basic-0
- Pwnable
- L15
- sint
- sd카드 리더기
- rev-basic-4
- rev-basic-5
- 코드엔진 베이직 13
- L18
- L16
- L17
- pwnable.kr
- rev-basic-6
- rev-basic-7
- rev-basic-3
- off_by_one_001
- basic_exploitation_000
- out_of_bound
- coin1
- rev-basic-1
- 코드엔진 베이직
Archives
- Today
- Total
목록off_by_one_000 (1)
서브웨이
dreamhack off_by_one_000 풀이
자 일단 RELRO랑 NX bit이 적용되어있으니 쉘코드, got 조작은 불가능 합니다. 소스코드를 봅시다. #include #include #include #include #include char cp_name[256]; void get_shell() { system("/bin/sh"); } 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); } int cpy() { char real_name[256]; strcpy(real_nam..
Pwnable/dreamhack
2021. 7. 27. 14:15