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 :  /tmp/smi-shot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /tmp/smi-shot/maint2.js
const puppeteer = require('puppeteer');
(async () => {
  const width = parseInt(process.argv[2] || '390', 10);
  const out = process.argv[3] || '/tmp/smi-shot/maint.png';
  const browser = await puppeteer.launch({ headless: 'new',
    args: ['--no-sandbox','--disable-setuid-sandbox','--disable-dev-shm-usage','--font-render-hinting=none',
           '--host-resolver-rules=MAP www.safemyident.de 127.0.0.1','--ignore-certificate-errors'] });
  const page = await browser.newPage();
  await page.setViewport({ width, height: 844, deviceScaleFactor: 2 });
  await page.goto('https://www.safemyident.de/', { waitUntil: 'networkidle0', timeout: 60000 });
  await page.evaluate(async () => { if (document.fonts && document.fonts.ready) await document.fonts.ready; });
  await new Promise(r => setTimeout(r, 900));
  const info = await page.evaluate(() => {
    const c = document.querySelector('.hero__matrix');
    let matrix = null;
    if (c && c.getContext) {
      const cs = getComputedStyle(c);
      const ctx = c.getContext('2d');
      let nonEmpty = 0;
      try { const d = ctx.getImageData(0,0,c.width,c.height).data; for (let i=3;i<d.length;i+=4000) if(d[i]>0) nonEmpty++; } catch(e){}
      matrix = { display: cs.display, w: c.width, h: c.height, opacity: cs.opacity, nonEmptySamples: nonEmpty };
    }
    const p = document.querySelector('.hero__person'); const pcs = p?getComputedStyle(p):null;
    const trust = document.querySelector('.hero__trust'); 
    return { matrix, person: pcs?{display:pcs.display,opacity:pcs.opacity,bgSize:pcs.backgroundSize,bgPos:pcs.backgroundPosition}:null,
             trustDisplay: trust?getComputedStyle(trust).display:'(none-el)' };
  });
  console.log(JSON.stringify(info, null, 2));
  await page.screenshot({ path: out, fullPage: true });
  await browser.close();
})().catch(e => { console.error('ERR', e.message); process.exit(1); });

Youez - 2016 - github.com/yon3zu
LinuXploit