fix(cli): distinguish 'no /out mount here' from 'stage-3 placement missed'
ci / macos-latest / py3.12 (push) Canceled after 0s
ci / macos-latest / py3.9 (push) Canceled after 0s
ci / ubuntu-latest / py3.12 (push) Canceled after 0s
ci / ubuntu-latest / py3.9 (push) Canceled after 0s
ci / windows-latest / py3.12 (push) Canceled after 0s
ci / windows-latest / py3.9 (push) Canceled after 0s

This commit is contained in:
ZSecurity
2026-10-24 14:55:36 +07:00
parent 2b8b63e5ae
commit a0b4a6cb95
+8 -2
View File
@@ -210,8 +210,14 @@ def exploit_once(args, prof):
print(proof)
return 0, proof
time.sleep(0.2)
print(" no command output; B2 status=%r - stage-3 placement missed"
% wire.status(r4))
if not wire.status(r4):
print(" B2 got no response (worker aborted during shutdown) but %s never appeared"
% proof_path)
print(" the target's /out is mounted from the directory `poc lab up` ran in;"
" run it from here, or pass --proof")
else:
print(" no command output; B2 status=%r - stage-3 placement missed"
% wire.status(r4))
return 1, ""
finally:
wire.release(held)