Files
Borealis-Github-Replica/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json
2025-10-03 15:30:51 -06:00

34 lines
924 B
JSON

{
"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\"SYSTEM Canary is alive.\"ddss | Out-File -FilePath $filePath -Encoding UTF8\n",
"script_lines": [
"# Define the file path",
"$filePath = \"C:\\Canary.txt\"",
"",
"# Write some content into the file",
"\"SYSTEM Canary is alive.\"ddss | Out-File -FilePath $filePath -Encoding UTF8",
""
],
"timeout_seconds": 3600,
"sites": {
"mode": "specific",
"values": [
"1"
]
},
"variables": [
{
"name": "Example Variable",
"label": "Important Label",
"type": "string",
"default": true,
"required": false,
"description": "Put something into this variable!"
}
],
"files": []
}