feat(sql): Implementar arquitectura de C2 Polling Loop para DB01

This commit is contained in:
Ricardo Monla
2026-02-26 10:55:46 -03:00
parent 9431758ad5
commit 5f3e75d31e
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
if (Test-Path "C:\diag_ran.txt") {
# Ya se ejecuto el payload actual, no hacemos nada para no espamear el log cada 15 segundos
exit
}
Set-Content -Path "C:\diag_ran.txt" -Value "Ejecutado"
function Log-Msg {
param([string]$Message)
Write-Host $Message -ForegroundColor Cyan