<LEARN/>
← /paths/security

<project · advanced>

Capture-the-flag write-ups

Solve beginner CTF challenges and publish clear, ethical write-ups.

Build capture-the-flag write-ups one manageable milestone at a time. Keep your decisions, tests and finished work together so your portfolio shows what you learned, not only the final result.

Build it step by step

  1. Choose legal practice

    Use PortSwigger Web Security Academy or a free beginner CTF that explicitly permits testing. Check whether challenge solutions may be published before writing a public post.

  2. Record the scenario

    Choose a few beginner challenges and note the objective, permitted tools and initial observations. Keep work within the lab and never try techniques on unrelated sites.

  3. Solve methodically

    State a hypothesis, make one controlled change and record the result. Use developer tools or Burp Community where permitted, without brute-forcing beyond lab rules.

  4. Explain the root cause

    Describe why the challenge works and how a real team could prevent the issue. Separate the lab’s intended vulnerability from general claims about a product.

  5. Publish safely

    Sanitise screenshots, tokens and usernames and credit the lab. If public solutions are prohibited, publish only a permitted learning summary or keep the report private.

  6. Share your finished work

    Commit your source and a README explaining setup, decisions, tests and limitations. Remove secrets and personal data, credit dependencies and assets, then add the public repository or portfolio link and an optional working demo to LEARN Showcase. Hosting is optional; a clear repository or design case study is enough.

// done when

  • Practice stays inside authorised labs
  • Each explanation includes root cause and mitigation
  • No credentials or tokens are published
  • Write-ups follow the challenge publication rules
  • README includes setup, credits and limitations; shared links are safe and accessible

// stretch goals

  • Add defensive regression tests
  • Compare two mitigations

Finished? Show it off

Add your project to the LEARN showcase so other learners and employers can see it.

Sign in to add your finished project to the showcase.