From e8fc6aa46e27a75d4d07fc0349b4de165ffcf106 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 5 Jan 2025 19:12:39 -0500 Subject: [PATCH] Update TGBeta.ps1 --- TGBeta.ps1 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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