diff --git a/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json b/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json index 208be71..84873b9 100644 --- a/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json +++ b/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json @@ -4,13 +4,13 @@ "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": "# 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", - "\"SYSTEM Canary is alive.\"ddss | Out-File -FilePath $filePath -Encoding UTF8", + "$env:message | Out-File -FilePath $filePath -Encoding UTF8", "" ], "timeout_seconds": 3600, @@ -22,12 +22,12 @@ }, "variables": [ { - "name": "Example Variable", - "label": "Important Label", + "name": "message", + "label": "Canary Contents", "type": "string", - "default": "Blah", + "default": "Hello World", "required": false, - "description": "Put something into this variable!" + "description": "This is the message written inside of the canary file." } ], "files": []