endianness

Published: April 3, 2024Updated: December 9, 2025

Description

Know of little and big endian?

Download the source code to understand the challenge.

Connect to the remote service and have a hex converter ready (CyberChef, python, etc.).

nc titan.picoctf.net <PORT_FROM_INSTANCE>

Solution

This is a warm-up endianness challenge. Once you understand basic little-endian conversion here, advance to endianness-v2 for a more complex forensics application involving image file recovery.
  1. Step 1Capture the prompt
    The server prints a word (e.g., ffoxf). Convert it to hex-ffoxf → 66 66 6f 78 66.
  2. Step 2Flip to little endian
    Reverse the byte order: 66 78 6f 66 66. Submit without spaces/0x prefix (66786f6666).
    66786f6666

Flag

picoCTF{3ndi4n_sw4p_su33ess_d58...}

After a handful of conversions the service prints the flag.