Files
Borealis-Github-Replica/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json

26 lines
691 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",
"timeout_seconds": 3600,
"sites": {
"mode": "specific",
"values": [
"1"
]
},
"variables": [
{
"name": "Example Variable",
"label": "Important Label",
"type": "string",
"default": "Blah",
"required": false,
"description": "Put something into this variable!"
}
],
"files": []
}