Flagpression 436 Author: sc0peMa3str0 0 0 One o...
Creado el: 20 de noviembre de 2026
Respondido usando GPT-6 Thinking por Chat01
Creado el: 20 de noviembre de 2026
Respondido usando GPT-6 Thinking por Chat01
Flagpression
436
Author: sc0peMa3str0
0 0
One of our members got a bit crazy lately. He draws everywhere this number and
talks bogus all the time. Lately, we even saw this piece of paper on his desk.
0.0009765685210667505247445943812195496662085124682194321976804631657536092783226825644989323235755887661109166439942109622745804097388690562405020642704789717348288883285073879761368008154696359582503489
Flag format: gctf{.*}
I’ll inspect the ZIP and check how the number 436 relates to the long decimal, then try to recover the flag.
The image points to arithmetic coding: it gives an ordered 33-character alphabet with equal probabilities. Decoding the decimal in base 33 reproduces gctf{, so that part checks out. I’m verifying where the flag ends, since the decoded stream also contains additional braces.
Flag:
Decoded and verified
textgctf{876aB98_YsZn4Y{t}pt3hAmatgthn4pmmy_SB{ZAf3nac??ys}cYw3yrpTrsZ6sa496ym?0ZsBmAnf6AZ9_th1sSgS369T9gZE0EZBAg02}
The handwritten notes describe arithmetic coding using an ordered alphabet of 33 characters, each with equal probability.
The alphabet is:
pythonalphabet = "gctf{n0T?har8_pYwms391A4E2y6ZSB7}"
The long decimal is decoded by repeatedly multiplying by 33, taking the integer part as the character index, and keeping the fractional remainder.
This produces gctf{ immediately. Continuing until the nested braces balance gives the 112-character flag above.
I also verified mathematically that the supplied decimal lies within the arithmetic-coding interval for this flag.