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_02.md |
initial commit
Diffstat (limited to 'punkctf/docker_02.md')
-rw-r--r-- | punkctf/docker_02.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/punkctf/docker_02.md b/punkctf/docker_02.md new file mode 100644 index 0000000..1314d81 --- /dev/null +++ b/punkctf/docker_02.md @@ -0,0 +1,4 @@ + +If we follow the same steps as before, then we see we have the `challenge` image again, but that instead of the flag `/root/flag` just contains a hash of it. + +Going back to the host, we can look at the build steps for the `challenge` image with `docker image history challenge`. We see one of the build steps involves echoing the flag hash in to the file, so we can see the flag in plaintext: `punk_{V70P92VJALOS5KMM}`. |