[Feature] Add cross site scripting
This commit is contained in:
parent
564aaaf3df
commit
1bf8ff73f8
|
@ -19,7 +19,7 @@ Demo database resets every hour. A lot of features are disabled for obvious reas
|
|||
- Teamviewer-like remote desktop control
|
||||
- Real-time remote shell
|
||||
- Remote file browser (download and upload files)
|
||||
- Remote command and script execution (batch, powershell and python scripts)
|
||||
- Remote command and script execution (batch, powershell, python, nushell and deno scripts)
|
||||
- Event log viewer
|
||||
- Services management
|
||||
- Windows patch management
|
||||
|
|
|
@ -190,6 +190,10 @@ def download(request, pk):
|
|||
ext = ".py"
|
||||
case ScriptShell.SHELL:
|
||||
ext = ".sh"
|
||||
case ScriptShell.NUSHELL:
|
||||
ext = ".nu"
|
||||
case ScriptShell.DENO:
|
||||
ext = ".ts"
|
||||
case _:
|
||||
ext = ""
|
||||
|
||||
|
|
|
@ -131,6 +131,8 @@ class ScriptShell(models.TextChoices):
|
|||
CMD = "cmd", "Batch (CMD)"
|
||||
PYTHON = "python", "Python"
|
||||
SHELL = "shell", "Shell"
|
||||
NUSHELL = "nushell", "Nushell"
|
||||
DENO = "deno", "Deno"
|
||||
|
||||
|
||||
class ScriptType(models.TextChoices):
|
||||
|
|
Loading…
Reference in New Issue