diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 4e9697f..07f24fc 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -9,7 +9,6 @@ ### checkbox not working ### Threatlocker -### setsvspowerplan ### add tweek to set default provider, add to toolkit? ### need to see if there's anything else we could take from Theo script? @@ -181,7 +180,7 @@ function Install-SVSMSP { "Install-CyberQP", "Install-RocketCyber", "Install-Splashtop", - "Install-Threatlocker" + "Install-ThreatLocker" ), # Log file path @@ -711,7 +710,7 @@ function GetHtmlContent { const installSplashtop = document.querySelector('input[name="installSplashtop"]'); const installSVSHelpDesk = document.querySelector('input[name="installSVSHelpDesk"]'); 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"]'); if (installDattoRMM.checked) { @@ -1013,11 +1012,11 @@ try { $response.OutputStream.Close() } - "/installThreatlocker" { + "/installThreatLocker" { if ($request.HttpMethod -eq "GET") { - Install-Threatlocker + Install-ThreatLocker } - $responseString = "Install Threatlocker triggered." + $responseString = "Install ThreatLocker triggered." $buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString) $response.ContentType = "text/plain" $response.ContentLength64 = $buffer.Length