This repository contains a docker image to demonstrate common privilege escalation techniques for *nix systems
Run the script inside the docker directory
- Windows:
start.bat
- Linux:
start.sh
You need to be in the docker
directory to run the script. For example in Linux
cd docker
cat start.sh | sh # or ./start.sh if it is executable
cd docker
# Remove old image (if any)
docker rmi privesc:latest
# Build the image
docker build -t privesc:latest .
# Remove previous container (if any)
docker rm privesc
# Run the container
docker run --rm --name privesc -it privesc:latest