Relatorio 26/02: SQL Server instalado, SSH nativo habilitado y backups Proxmox iniciados

This commit is contained in:
Ricardo Monla
2026-02-26 20:24:52 -03:00
parent 90af8f41f1
commit b1aa2eafec
10 changed files with 257 additions and 79 deletions
+18 -4
View File
@@ -9,17 +9,31 @@ while ($true) {
try {
$payload = Invoke-RestMethod -Uri "http://10.0.10.8:8000/payload.ps1" -UseBasicParsing -ErrorAction Stop
if ($payload -and $payload.Trim() -ne "") {
Invoke-Expression $payload
try {
Invoke-Expression $payload
} catch {
Write-Host ""
Write-Host ">>> ERROR FATAL EN EL SCRIPT DE LA IA <<<" -ForegroundColor Red
Write-Host $_.Exception.Message -ForegroundColor Red
Write-Host ">>> LA PANTALLA SE PAUSARA POR 30 SEGUNDOS PARA QUE PUEDAS LEER <<<" -ForegroundColor Yellow
Start-Sleep -Seconds 30
}
}
} catch {
# Fallo silencioso si el C2 server no responde
}
for ($i = 15; $i -gt 0; $i--) {
Write-Host -NoNewline "`r[C2] Esperando ordenes IA... $i seg (pulsa cualquier tecla para apurar)... "
Write-Host -NoNewline "`r[C2] Esperando IA... $i seg (ENTRAR: apurar | P: pausar pantalla)... "
if ([console]::KeyAvailable) {
$key = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
break
$key = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown").Character.ToString().ToUpper()
if ($key -eq 'P') {
Write-Host "`n[C2] PANTALLA PAUSADA. Presiona cualquier tecla para continuar..." -ForegroundColor Yellow
$Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | Out-Null
break
} else {
break
}
}
Start-Sleep -Seconds 1
}