이번에는 새로운 단원인 Protostar Heap 0 문제를 풀어볼 것이다.
문제는 아래 사이트에서 확인할 수 있다.
old.liveoverflow.com/binary_hacking/protostar/heap0.html
Heap 0 - LiveOverflow
Introducing the heap by looking at what malloc() does.
old.liveoverflow.com
1. 문제 확인
heap overflow를 통해서 winner 함수를 호출하면 되는 것 같다.
objdump -t heap0을 통해서 winner 함수의 주소 값을 찾아주었다.
0x08048464가 그 주소 값이다.
'security > 시스템' 카테고리의 다른 글
시스템 리눅스 용어 정리 2 (0) | 2021.01.12 |
---|---|
시스템 리눅스 용어 정리 1 (0) | 2021.01.10 |
Protostar - Fromat 4 (0) | 2020.11.05 |
Protostar - Format 3 (0) | 2020.11.05 |
Protostar - Format 2 (0) | 2020.11.05 |
댓글