Aller au contenu

asm2

Writeup de Arnold-26, repris avec son autorisation. Source : cylab-academy-writeups — challenge #16, résolu le 2026-11-23. Flags tronqués.

Catégorie : Reverse Engineering · Challenge : #16 · Résolu le : 2026-11-23

Énoncé

What does asm2(0x4,0x1f) return? Submit the flag as a hexadecimal value (starting with '0x'). NOTE: Your submission for this question will NOT be in the normal flag format. Source

Résolution

Méthode : boucle additive.

asm2(0x4,0x1f) : compteur initial 0x1f, boucle tant que i <= 0x3ae2 avec i += 0xf2. Il faut 63 iterations (4 + 242*63 > 15074), donc 31 + 63 = 94 = 0x5e.

Flag

0x5e