Update SVSTaskGate.ps1
This commit is contained in:
@@ -181,7 +181,7 @@ function Install-SVSMSP {
|
|||||||
"Install-CyberQP",
|
"Install-CyberQP",
|
||||||
"Install-RocketCyber",
|
"Install-RocketCyber",
|
||||||
"Install-Splashtop",
|
"Install-Splashtop",
|
||||||
"Install-Threatlocker"
|
"Install-ThreatLocker"
|
||||||
),
|
),
|
||||||
|
|
||||||
# Log file path
|
# Log file path
|
||||||
@@ -711,7 +711,7 @@ function GetHtmlContent {
|
|||||||
const installSplashtop = document.querySelector('input[name="installSplashtop"]');
|
const installSplashtop = document.querySelector('input[name="installSplashtop"]');
|
||||||
const installSVSHelpDesk = document.querySelector('input[name="installSVSHelpDesk"]');
|
const installSVSHelpDesk = document.querySelector('input[name="installSVSHelpDesk"]');
|
||||||
const installSVSWatchtower = document.querySelector('input[name="installSVSWatchtower"]');
|
const installSVSWatchtower = document.querySelector('input[name="installSVSWatchtower"]');
|
||||||
const installThreatLocker = document.querySelector('input[name="installThreatlocker"]');
|
const installThreatLocker = document.querySelector('input[name="installThreatLocker"]');
|
||||||
const installRocketCyber = document.querySelector('input[name="installRocketCyber"]');
|
const installRocketCyber = document.querySelector('input[name="installRocketCyber"]');
|
||||||
|
|
||||||
if (installDattoRMM.checked) {
|
if (installDattoRMM.checked) {
|
||||||
@@ -1013,11 +1013,11 @@ try {
|
|||||||
$response.OutputStream.Close()
|
$response.OutputStream.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
"/installThreatlocker" {
|
"/installThreatLocker" {
|
||||||
if ($request.HttpMethod -eq "GET") {
|
if ($request.HttpMethod -eq "GET") {
|
||||||
Install-Threatlocker
|
Install-ThreatLocker
|
||||||
}
|
}
|
||||||
$responseString = "Install Threatlocker triggered."
|
$responseString = "Install ThreatLocker triggered."
|
||||||
$buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString)
|
$buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString)
|
||||||
$response.ContentType = "text/plain"
|
$response.ContentType = "text/plain"
|
||||||
$response.ContentLength64 = $buffer.Length
|
$response.ContentLength64 = $buffer.Length
|
||||||
|
|||||||
Reference in New Issue
Block a user