mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 15:21:57 -06:00
Additional Assemblies Added
This commit is contained in:
@@ -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": []
|
||||
}
|
||||
34
Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json
Normal file
34
Assemblies/Scripts/Examples/Write_Canary.txt_to_C_.json
Normal file
@@ -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": []
|
||||
}
|
||||
Reference in New Issue
Block a user