This commit is contained in:
2026-01-24 21:05:40 -05:00
parent 97f18ef1f4
commit fe863bda1d

View File

@@ -36,8 +36,8 @@ function Invoke-ScriptAutomationMonkey {
# Load remote functions (kept as-is, including verification style)
try {
Write-Host "[Info] Loading functions from: $Script:SamyFunctionsUrl" -ForegroundColor Cyan
$functionsContent = (Invoke-WebRequest -UseBasicParsing $Script:SamyFunctionsUrl -ErrorAction Stop).Content
# Write-Host "[Info] Loading functions from: $Script:SamyFunctionsUrl" -ForegroundColor Cyan
#$functionsContent = (Invoke-WebRequest -UseBasicParsing $Script:SamyFunctionsUrl -ErrorAction Stop).Content
if ([string]::IsNullOrWhiteSpace($functionsContent)) {
throw "Downloaded content was empty."