Skip to main content
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
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −1 pts Log in
Hint 2 −3 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 30.10.2026
3. Odam 06.11.2026
4. Doston Allayarov 12.11.2026
5. Asmaa Mottery 26.11.2026