| 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/self/root/tmp/ |
Upload File : |
from playwright.sync_api import sync_playwright
cookies=[]
for line in open('/tmp/cj.txt'):
if not line.strip() or (line.startswith('#') and not line.startswith('#HttpOnly_')): continue
p=line.rstrip('\n').split('\t')
if len(p)<7: continue
cookies.append({'name':p[5],'value':p[6],'domain':p[0].replace('#HttpOnly_',''),'path':p[2],'secure':p[3]=='TRUE'})
with sync_playwright() as pw:
b=pw.chromium.launch(headless=True,args=['--no-sandbox'])
ctx=b.new_context(ignore_https_errors=True,viewport={'width':1300,'height':900}); ctx.add_cookies(cookies); pg=ctx.new_page()
bodies=[]
def on_resp(r):
if 'action=queue' in r.url:
try: bodies.append((r.status, r.body()[:300]))
except Exception as e: bodies.append(('ERR',str(e)))
pg.on('response', on_resp)
errs=[]; pg.on('console',lambda m: errs.append(m.type+':'+m.text) if m.type in ('error','warning') else None)
pg.goto('https://seaside.pacim.de/mailing/',wait_until='networkidle'); pg.wait_for_timeout(300)
pg.click('[data-bs-target="#ml-queue"]'); pg.wait_for_timeout(1500)
for st,body in bodies: print('RESP', st, body)
print('console:', errs[-6:])
# try manually running the render logic in page using the same fetch and catch error
out = pg.evaluate("""async()=>{
try{ const r=await fetch(SITE_URL+'/mail-api.php?action=queue'); const res=await r.json();
return {ok:res.ok, hasStats:!!res.stats, hasMessages:Array.isArray(res.messages)};
}catch(e){ return {err:String(e)}; }
}""")
print('manual render check:', out)
b.close()