Additional Fixes

This commit is contained in:
2025-10-03 17:11:29 -06:00
parent 60f1c53b25
commit d6791a46c3
2 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"name": "Write Canary File to C Drive",
"description": "Writes a simple text file to the C:\\ drive of the computer. Requires SYSTEM level execution context to work.",
"category": "script",
"type": "powershell",
"script": "# Define the file path\n$filePath = \"C:\\Canary.txt\"\n\n# Write some content into the file\n$env:canaryMessage | Out-File -FilePath $filePath -Encoding UTF8\n",
"timeout_seconds": 3600,
"sites": {
"mode": "specific",
"values": [
"1"
]
},
"variables": [
{
"name": "canaryMessage",
"label": "Canary Message",
"type": "string",
"default": "Hello world!",
"required": true,
"description": "This is the text that will be written into the canary file."
}
],
"files": []
}

View File

@@ -1173,4 +1173,4 @@ export default function AssemblyEditor({
/>
</Box>
);
}
}