My own personal set of PWN Development and Exploitation env based on ubuntu 16.04 to 22.04
1.3K
You can use this image to easily drop into a specific pwn challenge environment that a certain challenge might require off of you.
In the project's Github repo, I also provide with the pwn-dev script that can be used to invoke any of the environment.
You can use the following command to setup the pwn-dev environment (assuming you're cloning rather than pulling from Dockerhub)
$ git clone https://github.com/theflash2k/my-containers /opt/my-containers
$ cd /opt/my-containers/pwn-dev
# if you don't have the containers built already, you can use make to manually build all the containers (This will take quite some time and resources as you'll be building 4 different containers)
$ make
$ ln -s $(pwd)/pwn-dev /usr/local/bin/pwn-dev
Now, to drop into the pwn-dev environment, you can use pwn-dev command. To check out the available versions:
pwn-dev --help
Usage: pwn-dev <version>
Available versions:
latest <-- Default
2204
2004
1804
1604
By simply typing pwn-dev you'll be dropped into pwn-dev:latest which is based off of ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da
You can specify the version as (example 1604):
pwn-dev 16
pwn-dev script, the current folder will be mounted at /chal and the WORKDIR by default is set to /chal, therefore you'll always land in your current directory in the container.Following versions are currently available with the base images in pwn-dev:
| Version | Base Image |
|---|---|
| latest | ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da |
| 2204 | ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da |
| 2004 | ubuntu:20.04@sha256:80ef4a44043dec4490506e6cc4289eeda2d106a70148b74b5ae91ee670e9c35d |
| 1804 | ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98 |
| 1604 | ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 |
Following tools are installed by default:
ohmyzsh and alanpeabody theme)ohmytmux)Open-Source/Pwn-related tools:
rappel-x86]Python Libraries:
My personal stuff:
/root/Templates~/Templates to the current folder. These are:
~/Templates/exploit.py which is my generic script~/Templates/exploit-fmt.py which is my format-string oriented template with functions already setup~/Templates/exploit-basic.py which the most basic exploit template I use with no fancy functions or anything.Content type
Image
Digest
sha256:ae07b9e38…
Size
3.1 GB
Last updated
about 2 years ago
docker pull theflash2k/pwn-dev