From e08731bf37baada7c4e47cdc54cd61f3f8907988 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Mon, 26 Oct 2026 18:55:37 -0400 Subject: [PATCH] proxmox: parse out-data in the Kali seat verification Same field-name difference as the Windows path; the seats were configured correctly but the check read an empty string and warned every time. --- session1/platforms/proxmox/backends/proxmox.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/session1/platforms/proxmox/backends/proxmox.sh b/session1/platforms/proxmox/backends/proxmox.sh index 0d51b54..ce5a1da 100644 --- a/session1/platforms/proxmox/backends/proxmox.sh +++ b/session1/platforms/proxmox/backends/proxmox.sh @@ -628,7 +628,11 @@ SCRIPT "echo ${b64} | base64 -d > /tmp/norbourg-setup.sh; bash /tmp/norbourg-setup.sh" 2>/dev/null) || { warn "$name: setup script failed"; return 1; } - out=$(printf '%s' "$json" | python3 -c 'import json,sys; print(json.load(sys.stdin).get("out",""))' 2>/dev/null) + out=$(printf '%s' "$json" | python3 -c ' +import json, sys +d = json.load(sys.stdin) +sys.stdout.write((d.get("out") or d.get("out-data") or "").replace("\x00", "")) +' 2>/dev/null) if [[ $out == *NET_OK* && $out == *DNS_OK* ]]; then ok "$(printf '%-12s %-14s ready' "$name" "$ip")" else