ctf_download_file
Download CTF challenge files by providing a challenge ID or direct file URL, saving them to a specified directory.
Instructions
Download challenge files from the CTF platform.
Either provide challenge_id (downloads the first file) or a direct file_url from the challenge details.
Args: challenge_id: Download files for this challenge (uses first file) file_url: Direct file URL (takes priority over challenge_id) output_dir: Directory to save files to (default: /app/tmp/ctf_files)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | ||
| output_dir | No | /app/tmp/ctf_files | |
| challenge_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |