Challenges
Message in ANSI escape codes
Misc
Easy
Terminal and ANSI codes
Solves: 5
Message in ANSI escape codes
Author: CyberSamSU
Points
18
ANSI escape sequences are used to add color and style in the terminal: starting with \x1b[ and ending with a letter. For example, \x1b[1m — starts bold text, \x1b[0m — resets all styles.
There are a large number of characters in the attached file (xabar.txt), but only some of them are enclosed in \x1b[1m ... \x1b[0m (i.e., they appear bold in the terminal). Collect and read only these bold characters one by one in the order they appear in the file — a hidden message will be revealed.
Open the file in a text editor (VS Code, Notepad++) — find the single characters between \x1b[1m and \x1b[0m.
Attached files
xabar.txt
Log in to download
SHA-256 checksums
xabar.txt: c7691284639161010473b47e3f90591196a02a4c260e8d45cbcb7522c5cb87fb
Theory: learn the topic
Learning paths:
CTF Mastery & Multi-Stage Challenges
To submit a flag, log in.