diff --git a/Assemblies/Scripts/Examples/Hello World.json b/Assemblies/Scripts/Examples/Hello World.json deleted file mode 100644 index 215226b..0000000 --- a/Assemblies/Scripts/Examples/Hello World.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "version": 1, - "name": "Hello World", - "description": "Outputs a dynamic hello world message based on the $env:Message variable.", - "category": "script", - "type": "powershell", - "script": "Write-Host $env:Message\n\n\n\n\n", - "script_lines": [ - "Write-Host $env:Message", - "", - "", - "", - "", - "" - ], - "timeout_seconds": 3600, - "sites": { - "mode": "specific", - "values": [ - "1" - ] - }, - "variables": [ - { - "name": "Message", - "label": "Variable Example", - "type": "string", - "default": "Hello World", - "required": false, - "description": "Message to Output" - } - ], - "files": [] -} \ No newline at end of file diff --git a/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json b/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json new file mode 100644 index 0000000..208be71 --- /dev/null +++ b/Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json @@ -0,0 +1,34 @@ +{ + "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": "Blah", + "required": false, + "description": "Put something into this variable!" + } + ], + "files": [] +} \ No newline at end of file