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/maint.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, 400));
  const info = await page.evaluate(() => {
    const g = (sel) => { const e = document.querySelector(sel); if(!e) return null; const c = getComputedStyle(e); const r = e.getBoundingClientRect(); return { textAlign: c.textAlign, display: c.display, left: Math.round(r.left), right: Math.round(r.right), width: Math.round(r.width) }; };
    return { vw: window.innerWidth, title: g('.hero__title'), lead: g('.hero__lead'), warnText: g('.hero__warning-text'), warnLabel: g('.hero__warning-label'), warnSpan: g('.hero__warning-text span'), content: g('.hero__content') };
  });
  console.log(JSON.stringify(info, null, 2));
  await page.screenshot({ path: out, fullPage: true });
  await browser.close();
  console.log('shot:', out);
})().catch(e => { console.error('ERR', e.message); process.exit(1); });

Youez - 2016 - github.com/yon3zu
LinuXploit