INTERLUDE ✦/2022 SYSTEM STUDY

pwndbg, pwntools 설치

L_Chae 2022. 10. 4. 14:18

pwndbg 설치

git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh

 

터미널에 gdb 를 입력했을 때 사진과 같은 실행 결과가 나오면 설치 완료

 


 

pwntools 설치

$ apt-get update
$ apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential
$ python3 -m pip install --upgrade pip
$ python3 -m pip install --upgrade pwntools

 

pwntools import

$ python3
Python 3.6.9 (default, Apr 18 2020, 01:56:04)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pwn import *
>>>

import 했을 때 에러가 발생하지 않으면 정상적으로 설치 완료