728x90
반응형
apt update && apt install -y netcat
apt-get install software-properties-common
apt update && apt install vim git gcc ssh curl ninja-build wget gdb sudo zsh python3 python3-dev python3-pip libffi-dev build-essential libssl-dev libc6-i386 libc6-dbg gcc-multilib make -y
dpkg --add-architecture i386
apt update
apt install libc6:i386 -y
python3 -m pip install --upgrade pip
pip3 install unicorn
pip3 install keystone-engine
python3 -m pip install --upgrade pwntools
pip3 install ropgadget
apt install libcapstone-dev -y
git clone https://github.com/hugsy/gef ./gef
echo source ~/gef/gef.py >> ~/.gdbinit
git clone https://github.com/slimm609/checksec.sh
cp ./checksec.sh/checksec /usr/local/bin
mkdir cmake
wget -P ~/cmake/ https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz
tar zxf ~/cmake/cmake-3.27.4.tar.gz && ~/cmake/cmake-3.27.4/bootstrap && make && make install
echo 'PATH=$PATH:/usr/local/bin/' >> ~/.bashrc
source ~/.bashrc
wget https://github.com/0vercl0k/rp/releases/download/v1/rp-lin-x64
chmod +x rp-lin*
cp rp-lin-x64 /usr/local/bin
apt install ruby-full -y
gem install one_gadget seccomp-tools
기본적인 틀은 sechack 님의 https://blog.sechack.kr/57 글을 참고했다.
728x90
반응형
'Misc > tools' 카테고리의 다른 글
[tools] screen (0) | 2023.09.07 |
---|---|
[tools] make (0) | 2023.09.06 |