aboutsummaryrefslogtreecommitdiff
path: root/punkctf/jenkins_01.md
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-10-01 17:23:09 +0100
committerAria <me@aria.rip>2023-10-01 17:23:09 +0100
commitb5b9cf7a1f61d004d7d53584d029c19302c63ba0 (patch)
tree49c3022dccf669f9f2b905ddfbd2d16db2d10d84 /punkctf/jenkins_01.md
initial commit
Diffstat (limited to 'punkctf/jenkins_01.md')
-rw-r--r--punkctf/jenkins_01.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/punkctf/jenkins_01.md b/punkctf/jenkins_01.md
new file mode 100644
index 0000000..12e9026
--- /dev/null
+++ b/punkctf/jenkins_01.md
@@ -0,0 +1,5 @@
+
+Since we have access to change the pipeline, we can simply remove the hash part to print the flag in plaintext.
+
+Jenkins tries to be smart and censor it in our logs, so to get around this we cut out the `punk_` part of the flag by piping it to `cut -c 5-`.
+With the prefix added back, we get `punk_{64J846I332MEAGL4}`.