Security || AI

GDB에 PEDA설치하기 본문

Hacking&Security/리버싱[reversing]

GDB에 PEDA설치하기

보안&인공지능 2018. 10. 18. 10:24


PEDA에 설치하기 앞서 github에서 clone을 사용하여 PEDA를 설치해야 하므로 아래의 명령어를 실행합니다.


sudo apt install git

설치한 다음 PEDA를 설치하기 위해 명령어를 실행합니다.

git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
echo "DONE! debug your program with gdb and enjoy"


설치를 완료한 후에 gdb를 실행시키면 아래와 같이 gdb-peda로 변한 것을 확인할 수 있습니다.





반응형