aboutsummaryrefslogtreecommitdiff
path: root/punkctf/docker_01.md
diff options
context:
space:
mode:
Diffstat (limited to 'punkctf/docker_01.md')
-rw-r--r--punkctf/docker_01.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/punkctf/docker_01.md b/punkctf/docker_01.md
new file mode 100644
index 0000000..33562e8
--- /dev/null
+++ b/punkctf/docker_01.md
@@ -0,0 +1,6 @@
+
+Running `docker images`, we see an image named `challenge` that presumably has our flag.
+
+We have unrestricted access to the docker daemon running as root, so we can simply make ourselves root inside the container and be able to access everything. `docker run -it --rm --user=0 challenge sh`.
+
+`cat /root/FLAG`: `punk_{E1U2R3V59WIUZUJI}`