Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VS CTFNew to Visual Studio Code? Get it now.
VS CTF

VS CTF

alexandre-lavoie

|
10 installs
| (0) | Free
All-in-one solution for CTFs in VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS CTF

Cover

All-in-one solution for CTFs in VSCode.

Features

  • Support for CTFd
  • Download and local cache of challenges
  • Preview tab for challenges
  • Management of folders and terminals
  • Quick search for most data
  • Live view of scoreboard

Installation

Download the extension on your VSCode version of choice. This can be done through GitHub or Visual Studio Marketplace.

Configuration

  1. Create a new directory for your CTF (ex: my-ctf)
  2. Click on the VS-CTF flag icon in the toolbar
  3. Click the Configure button
  4. Multiple prompts will ask for the configuration of the CTF (CTFd, custom, etc)
  5. For the CTFd key, either generate an access token or copy the session token from a signed in browser.
  6. Once all steps are completed, the settings will be stored in .vscode/settings.json. This is all the settings needed to connect to the CTF, so feel free to share it with your team
  7. Sometimes, the UI may not automatically connect. Simply close and restart VSCode
  8. If everything works, the explorer tab should have a Challenges tab at the bottom and the VS-CTF tab should have the live scoreboard

Tips / Usage

  • Descriptions are not automatically synced to prevent spamming the CTF infra. Clicking on a challenge will preview it and keep a local cached version of it
  • Folder and terminal will open with the challenge name when the challenge is previewed
  • Click the Download button to get the challenge embeds. These will be stored in the challenge folder under download
  • Click the flag button to submit the flag. This should automatically be synced in if someone else on the team solves the challenge
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft