diff options
author | Aria <me@aria.rip> | 2023-10-01 17:23:09 +0100 |
---|---|---|
committer | Aria <me@aria.rip> | 2023-10-01 17:23:09 +0100 |
commit | b5b9cf7a1f61d004d7d53584d029c19302c63ba0 (patch) | |
tree | 49c3022dccf669f9f2b905ddfbd2d16db2d10d84 /punkctf/docker_01.md |
initial commit
Diffstat (limited to 'punkctf/docker_01.md')
-rw-r--r-- | punkctf/docker_01.md | 6 |
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}` |