{ "version": 1, "name": "Write Canary File to C:\\Canary.txt", "description": "Self-explanatory.", "category": "script", "type": "powershell", "script": "# Define the file path\n$filePath = \"C:\\Canary.txt\"\n\n# Write some content into the file\n$env:message | Out-File -FilePath $filePath -Encoding UTF8\n", "script_lines": [ "# Define the file path", "$filePath = \"C:\\Canary.txt\"", "", "# Write some content into the file", "$env:message | Out-File -FilePath $filePath -Encoding UTF8", "" ], "timeout_seconds": 3600, "sites": { "mode": "specific", "values": [ "1" ] }, "variables": [ { "name": "message", "label": "Canary Contents", "type": "string", "default": "Hello World", "required": false, "description": "This is the message written inside of the canary file." } ], "files": [] }