강의

멘토링

커뮤니티

Inflearn Community Q&A

2jw25348614's profile image
2jw25348614

asked

System Hacking Protostar Complete Solution Collection for Hacking Contests

Heap Structure Analysis and Heap Overflow

heap0 문제 오류

Written on

·

357

3

run으로 (python -c "print('A'*80 + '\x64\x84\x04\x08')")값을 넣어주어서 A를 80개 채우고 winer 주소인 0x8048464를 리틀엔디언방식으로 값을 넣었습니다.

하지만 힙 영역을 확인해 보면 0x8048464가 저장되어야 하는데 84와 64사이에 c2라는 값이 추가되었습니다.

왜 이런 문제가 일어나는 걸까요?? format에서도 c2라는 값이 자꾸 추가되어서 실습을 하나도 진행하지 못했습니다.

 

결과

heap0오류시스템 해킹리버싱

Answer

This question is waiting for answers
Be the first to answer!
2jw25348614's profile image
2jw25348614

asked

Ask a question