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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/3951573/root/tmp/pl_book.py
from playwright.sync_api import sync_playwright
from playwright_stealth import stealth_sync
BASE="https://www.parkinglist.de/ParkingDashboard"
USER="service@parken-am-schiff.de"; PW="BYx63wLLxP"
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
with sync_playwright() as p:
    b=p.chromium.launch(headless=True,args=["--no-sandbox","--disable-blink-features=AutomationControlled"])
    ctx=b.new_context(user_agent=UA,locale="de-DE",viewport={"width":1600,"height":1000},accept_downloads=True)
    pg=ctx.new_page(); stealth_sync(pg)
    pg.goto(f"{BASE}/login.xhtml",wait_until="networkidle",timeout=60000); pg.wait_for_timeout(10000)
    pg.fill("#username",USER); pg.fill("#password",PW); pg.click("#login"); pg.wait_for_timeout(6000)
    pg.goto(f"{BASE}/airportbooking/List.xhtml",wait_until="networkidle",timeout=40000); pg.wait_for_timeout(4000)
    print("URL:",pg.url)
    # all clickable things with their text/title/img-alt
    items=pg.eval_on_selector_all("a,button,input[type=submit],input[type=button],span.ui-button-text",
      "els=>els.map(e=>({tag:e.tagName,t:(e.innerText||e.value||'').trim().slice(0,30),id:e.id,name:e.name,title:e.title||'',html:e.tagName==='A'?(e.getAttribute('href')||''):''})).filter(x=>/csv|excel|export|download|drucken|herunter|datei|tabelle/i.test(x.t+x.id+x.name+x.title+x.html))")
    print("EXPORT-ish controls:")
    for x in items: print("  ",x)
    # also dump images with title/alt containing csv/excel/export
    imgs=pg.eval_on_selector_all("img","els=>els.map(e=>({alt:e.alt||'',title:e.title||'',src:(e.src||'').split('/').pop(),pid:(e.closest('a,button')||{}).id||''})).filter(x=>/csv|excel|export|download|xls/i.test(x.alt+x.title+x.src))")
    print("EXPORT images:")
    for x in imgs: print("  ",x)
    # month/year options
    print("MONTH opts:", pg.eval_on_selector_all("#j_idt38\\:monat_input option","els=>els.map(e=>e.value+':'+e.innerText)"))
    print("YEAR opts:", pg.eval_on_selector_all("#j_idt38\\:year_input option","els=>els.map(e=>e.value+':'+e.innerText)"))
    pg.screenshot(path="/tmp/pl_booking.png",full_page=True)
    b.close()

Youez - 2016 - github.com/yon3zu
LinuXploit