Misc Updates to Assembly Editor Design

This commit is contained in:
2025-10-03 16:59:41 -06:00
parent 40840089fe
commit dde1d07210
4 changed files with 98 additions and 95 deletions

View File

@@ -1,5 +0,0 @@
# Define the file path
$filePath = "C:\Canary.txt"
# Write some content into the file
"SYSTEM Canary is alive." | Out-File -FilePath $filePath -Encoding UTF8

View File

@@ -1,26 +0,0 @@
{
"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": []
}

View File

@@ -0,0 +1,24 @@
{
"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": "all",
"values": []
},
"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": []
}