feat(sql): Implementar arquitectura de C2 Polling Loop para DB01
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user