mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 15:21:57 -06:00
Assembly Editor GUI Changes
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"name": "Write Canary to C Drive Root",
|
||||
"description": "Write a basic canary file to the C:\\ drive to determine if SYSTEM-level access is functional within the script engine.",
|
||||
"category": "script",
|
||||
"type": "ansible",
|
||||
"script": "---\n- name: Create Canary.txt on local Windows machine\n hosts: localhost\n connection: local\n gather_facts: no\n\n tasks:\n - name: Write Canary.txt to C:\\\n ansible.windows.win_copy:\n content: \"This is a canary file created by Ansible.\"\n dest: C:\\Canary.txt\n",
|
||||
"timeout_seconds": 3600,
|
||||
"sites": {
|
||||
"mode": "all",
|
||||
"values": []
|
||||
},
|
||||
"variables": [],
|
||||
"files": []
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
- name: Create Canary.txt on local Windows machine
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: Write Canary.txt to C:\
|
||||
ansible.windows.win_copy:
|
||||
content: "This is a canary file created by Ansible."
|
||||
dest: C:\Canary.txt
|
||||
34
Assemblies/Scripts/Examples/Hello World.json
Normal file
34
Assemblies/Scripts/Examples/Hello World.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"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": []
|
||||
}
|
||||
Reference in New Issue
Block a user