Releases: Saket-Upadhyay/PwnJail
Releases · Saket-Upadhyay/PwnJail
PwnJail v1.0.0
How to build
- Clone this repo by
git clone https://github.com/Saket-Upadhyay/PwnJail.git
- Copy your vulnerable application in the ./chal folder
- If you have a flag, copy it in ./flag/flag
- Change your current directory to PwnJail
cd PwnJail
- Build docker image by
./BuildDockerimage.sh
,./BuildDockerimage_Windows.ps1
ordocker compose build
in the root directory of PwnJail
Note: You should have a docker image named
pwnjail_launcher
; check this bydocker images
How to use
- Run
runPWNJail.sh
orrunPWNJail_Windows.ps1
and wait for the docker shell to open - In docker's shell run
/pwnjailexec.sh
orpwnjail --config /etc/pwnjail.cfg
- To exit press
CTRL+C
Note: To run in detached mode type
pwnjail --config /etc/pwnjail.cfg -d
Tested on
- Ubuntu 22.04 kernel 5.15.0; Docker version 20.10.17, build 100c701
- Windows 11 Education Version 21H2 OS build 22000.739; Docker version 20.10.16, build aa7e414