https://github.com/io12/pwninit
GitHub - io12/pwninit: pwninit - automate starting binary exploit challenges
pwninit - automate starting binary exploit challenges - GitHub - io12/pwninit: pwninit - automate starting binary exploit challenges
github.com
자매 품이 많은데 io12가 찐이다.
openssl, liblzma, and pkg-config 얘네 깔고
openssl, pkg-config 설치
sudo apt install openssl
sudo apt install pkg-config
sudo apt-get update
sudo apt-get install libssl-dev
sudo apt-get install cargo
sudo apt-get update -y
sudo apt-get install -y liblzma-dev
cargo까지 깐 다음에 아래 명령어를 입력하면된다.
cargo install pwninit
This places the binary in ~/.cargo/bin.
알아서 ld까지 찾아서 다운 후 링킹된 바이너리_patched 파일을 만들어준다.
세상에