file-run1

Published: July 20, 2023Updated: December 9, 2025

Description

Make the provided binary executable and run it with no arguments. It prints the flag immediately.

Grant execute permissions (`chmod +x run`).

Execute it: `./run`.

chmod +x run
./run
./run | cut -d ' ' -f4

Solution

  1. Step 1Run the binary
    No tricks here; the compiled program prints picoCTF{...} on stdout.
  2. Step 2Optional: trim the output
    Use `cut -d ' ' -f4` to print only the flag token.

Flag

picoCTF{U51N6_Y0Ur_F1r57_F113_e55...}

Another quick warm-up to ensure your environment can execute ELF binaries.