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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/3951577/root/tmp/touchswipe.py
from playwright.sync_api import sync_playwright
URL='https://seaside.pacim.de/checkin.php?b=115156&h=fcfd0fc0663af8e93edbbeeea0b80abd'
def active(pg): return pg.eval_on_selector('.tabbar .tab.active','e=>e.getAttribute("data-tab")')
def tswipe(cdp, x0, x1, y=300, steps=12):
    cdp.send('Input.dispatchTouchEvent',{'type':'touchStart','touchPoints':[{'x':x0,'y':y}]})
    for i in range(1,steps+1):
        cdp.send('Input.dispatchTouchEvent',{'type':'touchMove','touchPoints':[{'x':x0+(x1-x0)*i/steps,'y':y}]})
    cdp.send('Input.dispatchTouchEvent',{'type':'touchEnd','touchPoints':[]})
with sync_playwright() as pw:
    b=pw.chromium.launch()
    ctx=b.new_context(viewport={'width':390,'height':844}, has_touch=True, is_mobile=True)
    pg=ctx.new_page(); cdp=ctx.new_cdp_session(pg)
    pg.goto(URL, wait_until='networkidle'); pg.wait_for_timeout(700)
    print('start:', active(pg))
    tswipe(cdp,320,40); pg.wait_for_timeout(450); print('touch swipe L:', active(pg))
    tswipe(cdp,320,40); pg.wait_for_timeout(450); print('touch swipe L:', active(pg))
    b.close()

Youez - 2016 - github.com/yon3zu
LinuXploit