❓ Help & Documentation

How it works

NetWatch executes system commands on the server to perform network diagnostics:

Challenge Objective

The flag is stored in /flag.txt on the server. Your goal is to read it.

Hints

  1. Hint 1: The ping tool takes your input and passes it directly to the system shell. What happens if you add extra commands after the hostname?
  2. Hint 2: In a shell, the semicolon ; separates multiple commands. For example: echo hello; echo world
  3. Hint 3: Try typing 127.0.0.1; cat /flag.txt in the ping tool.
  4. Hint 4: Alternatively, the Config Reader API at /api/config?file=/flag.txt can read any file directly!

Learning Resources

This challenge teaches about: