2019/12/26
[pwnable.xyz] Welcome write up
[pwnable.xyz] Welcome write up
2019.12.26pwnable.xyz 사이트의 첫번째 문제 Welcome 문제이다, Excute 우선 실행해보면 아래 처럼 출력이 되는 것을 볼 수 있다. ubuntu:~/environment/ctf/pwnable.xyz/01_welcome/image/challenge $ ./challenge Welcome. Leak: 0x7fb7e0f42010 Length of your message: 1 Enter your message: 1 Analyze peda-gdb로 이번 문제를 분석해보겠다. main 함수를 보려고 하니 찾을 수가 없다. 리눅스에서 main 함수의 주소를 찾기 위해서는 __libc_start_main 에 대해서 알아야 한다. main 함수 찾기 아래 사이트를 보면 설명이 잘 되어 있다. main startu..