mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-18 20:10:09 +02:00
5ede669a12
Gate hashchain replication, Tor/SOCKS transport hardening, terminal session teardown, v0.9.83 UI/changelog, and release digest pins for seamless updater verification.
10 lines
509 B
Bash
10 lines
509 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
AK="$(docker exec shadowbroker-backend printenv ADMIN_KEY)"
|
|
INV="$(curl -s -H "X-Admin-Key: ${AK}" "http://127.0.0.1:8000/api/wormhole/dm/invite?label=probe")"
|
|
echo "invite=${INV:0:200}"
|
|
HANDLE="$(python3 -c 'import json,sys; d=json.load(sys.stdin); print((d.get("invite") or {}).get("payload", {}).get("prekey_lookup_handle", ""))' <<<"${INV}")"
|
|
echo "handle=${HANDLE}"
|
|
curl -s "http://127.0.0.1:8000/api/mesh/dm/prekey-bundle?lookup_token=${HANDLE}" | head -c 400
|
|
echo
|