System Hacking/Basics

[시스템 해킹] pwndbg 설치방법 / Linux

hanbunny 2025. 3. 7. 17:38
$ sudo apt update
# 시스템의 패키지 목록을 업데이트하여 최신 버전의 패키지를 받을 수 있도록 함

$ sudo apt install -y git python3 python3-venv python3-pip python3-dev libssl-dev libffi-dev build-essential
# Pwndbg 설치에 필요한 필수 패키지들을 설치함

$ git clone https://github.com/pwndbg/pwndbg
# Pwndbg의 공식 GitHub 저장소에서 소스를 클론(복사)함

$ cd pwndbg
# Pwndbg 디렉토리로 이동하여 설치를 진행할 준비를 함

$ ./setup.sh
# Pwndbg 설치 스크립트를 실행하여 환경을 설정함

$ gdb
# GDB를 실행하여 Pwndbg가 정상적으로 로드되는지 확인함