Uname:Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64

Base Dir : /var/www/moonbloom

User : wp-moonbloom


403WebShell
403Webshell
Server IP : 85.155.190.233  /  Your IP : 216.73.216.103
Web Server : nginx/1.24.0
System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : wp-moonbloom ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/Gemini_Swarm_Core/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/Gemini_Swarm_Core/scripts/test_parser_remote.py
import sys
import os
from pathlib import Path

# Add current scripts directory to path to import _ssh
SCRIPTS_DIR = Path(__file__).resolve().parent
sys.path.insert(0, str(SCRIPTS_DIR))
import _ssh

def main():
    client = _ssh.connect()
    try:
        cmd = "export TELEGRAM_BOT_TOKEN=123456:AAGmockTokenHereAllowedUsersMock TELEGRAM_ALLOWED_USERS=mock && /opt/Gemini_Swarm_Core/venv/bin/python -c \"import sys; sys.path.insert(0, '/opt/Gemini_Swarm_Core/scripts'); import tg_bridge; print(tg_bridge.parse_agent_from_gemini_md('junior'))\""
        status, out, err = _ssh.run_cmd(client, cmd)
        print(f"EXIT CODE: {status}")
        if out.strip():
            print(f"STDOUT:\n{out}")
        if err.strip():
            print(f"STDERR:\n{err}")
    finally:
        client.close()

if __name__ == "__main__":
    main()

Youez - 2016 - github.com/yon3zu
LinuXploit