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 :  /proc/3951572/root/tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/3951572/root/tmp/wt2.py
from playwright.sync_api import sync_playwright
cookies=[]
for line in open('cj.txt'):
    if line.startswith('#') or not line.strip(): continue
    p=line.rstrip('\n').split('\t')
    if len(p)>=7: cookies.append((p[5],p[6]))
with sync_playwright() as pw:
    b=pw.chromium.launch(args=['--ignore-certificate-errors'])
    ctx=b.new_context(viewport={'width':1400,'height':950},ignore_https_errors=True)
    ctx.add_cookies([{'name':n,'value':v,'domain':'seaside.pacim.de','path':'/'} for n,v in cookies])
    pg=ctx.new_page()
    errs=[]; pg.on('console', lambda m: errs.append(m.text) if m.type=='error' else None); pg.on('pageerror',lambda e:errs.append('PE:'+str(e)))
    pg.goto('https://seaside.pacim.de/index.php?getTemplate=worktime/dashboard',wait_until='networkidle')
    pg.wait_for_timeout(1800)
    cells = pg.query_selector_all('.fc-daygrid-day[data-date]')
    dt = cells[10].get_attribute('data-date') if len(cells)>10 else cells[0].get_attribute('data-date')
    pg.click('.fc-daygrid-day[data-date="'+dt+'"] .fc-daygrid-day-number', force=True)
    pg.wait_for_timeout(900)
    panelOpen1 = pg.eval_on_selector('#dayPanel','e=>e.classList.contains("show")')
    print('clicked date:', dt, '| panel open after click:', panelOpen1)
    if panelOpen1:
        pg.click('#dayAddBtn'); pg.wait_for_timeout(700)
        modalOpen = pg.eval_on_selector('#captureModal','e=>e.classList.contains("show")')
        panelStill = pg.eval_on_selector('#dayPanel','e=>e.classList.contains("show")')
        print('modal open:', modalOpen, '| panel STILL open:', panelStill)
        pg.screenshot(path='wt2.png')
    print('errors:', errs[:5])
    b.close()

Youez - 2016 - github.com/yon3zu
LinuXploit