These shell script are used to automatically build the pwn environment, and help u to build a docker! By the way,these script is just install the basic tools,so ... make it better by youself!!
You can change the contents of the files according to your needs.
Note my pwndbg has been changed,the original version is here:pwndbg
if u wann use it in ubuntu20.04,and want to install the pip2 , u can:
sudo add-apt-repository universe
sudo apt update
sudo apt install python2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python get-pip.py
and edit the pwndbg's setup.sh,remove the python-pip:) enjoy it
By the way, glibc 2.31's tcache has been changed....
chmod +x setup.sh
./setup.sh
There are my pwn dockers,u can download them to use
docker pull zhihsi/dockerpwn:2.23
docker pull zhihsi/dockerpwn:2.27
docker pull zhihsi/dockerpwn:2.29
docker pull zhihsi/dockerpwn:2.31
Or u can get it with aliyun such as:
docker pull registry.cn-shenzhen.aliyuncs.com/zhishi/dockerpwn:[version]
Usage:
docker run -i -t --privileged -v hostpath:dockerpath zhihsi/dockerpwn:2.27 bash
If you want to install docker in the centos7, u can use 'centos7.sh' to build one,else u can us ubuntu.sh to build docker in the ubuntu
chmod +x centos7.sh
#You need to edit this script to change the username for the docker
./centos7.sh
chmod +x ubuntu.sh
./ubuntu.sh