- Serveur WebSocket direct avec websockets 16.0 - Interface HTML/CSS/JS dark theme avec chat - Relay vers API Hermes sur port 8642 - Historique de conversation (20 messages) - Clé API via Infisical - Testé et fonctionnel sur openclaw1.dev.home:7081
11 lines
365 B
Python
11 lines
365 B
Python
#!/usr/bin/env python3
|
|
import os
|
|
# Read the raw environ of the hermes gateway process
|
|
with open('/proc/1359/environ', 'rb') as f:
|
|
data = f.read()
|
|
for var in data.split(b'\x00'):
|
|
if var:
|
|
decoded = var.decode('utf-8', errors='replace')
|
|
if any(k in decoded.lower() for k in ['key', 'secret', 'token', 'api_server']):
|
|
print(decoded)
|