Skip to content

Releases: Saket-Upadhyay/PwnJail

PwnJail v1.0.0

19 Jun 07:01
6cfc71d
Compare
Choose a tag to compare

How to build

  1. Clone this repo by git clone https://github.com/Saket-Upadhyay/PwnJail.git
  2. Copy your vulnerable application in the ./chal folder
  3. If you have a flag, copy it in ./flag/flag
  4. Change your current directory to PwnJail cd PwnJail
  5. Build docker image by ./BuildDockerimage.sh, ./BuildDockerimage_Windows.ps1 or docker compose build in the root directory of PwnJail

Note: You should have a docker image named pwnjail_launcher; check this by docker images

How to use

  1. Run runPWNJail.sh or runPWNJail_Windows.ps1 and wait for the docker shell to open
  2. In docker's shell run /pwnjailexec.sh or pwnjail --config /etc/pwnjail.cfg
  3. To exit press CTRL+C

Note: To run in detached mode type pwnjail --config /etc/pwnjail.cfg -d


Tested on

  1. Ubuntu 22.04 kernel 5.15.0; Docker version 20.10.17, build 100c701
  2. Windows 11 Education Version 21H2 OS build 22000.739; Docker version 20.10.16, build aa7e414