94 words
1 minute
Mark The Lyrics

Overview#

The page shows well-formatted Vietnamese rap lyrics (Verse, Pre-Chorus, Chorus, Outro). The prompt hints that something is “odd” about the lyrics. Viewing the HTML reveals certain fragments wrapped in <mark>...</mark> elements. Those marked fragments, read in order, form the flag.

Manual Extraction#

Reading each <mark> in document order yields:

  1. V
  2. 1
  3. T (from “M-TP”, the letter T is marked)
  4. {
  5. MCK
  6. pap-
  7. cool
  8. ooh-
  9. yeah
  10. }

Browser Console One-liner#

Array.from(document.querySelectorAll('mark'))
.map(m => m.textContent)
.join('');
// => "V1T{MCK-pap-cool-ooh-yeah}"

Python Script#

#!/usr/bin/env python3
import re, pathlib
html = pathlib.Path('index.html').read_text(encoding='utf-8')
marks = re.findall(r'<mark>([^<]+)</mark>', html)
print("MARK THE LYRICS - FLAG EXTRACTOR")
for i, m in enumerate(marks, 1):
print(f"{i}. {m}")
flag = ''.join(marks)
print("\nCombined:", flag)

Flag#

V1T{MCK-pap-cool-ooh-yeah}
Mark The Lyrics
https://daryx.vercel.app/posts/v1tctf-2025-mark-the-lyrics/
Author
Daryx
Published at
2025-01-10
License
CC BY-NC-SA 4.0