| 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 : |
const puppeteer=require('puppeteer');
(async()=>{
const b=await puppeteer.launch({headless:'new',args:['--no-sandbox','--disable-setuid-sandbox','--disable-dev-shm-usage']});
const p=await b.newPage(); await p.setViewport({width:1100,height:1000,deviceScaleFactor:1});
// Checkliste
await p.goto('http://127.0.0.1:8899/checkliste/',{waitUntil:'networkidle0',timeout:60000});
await new Promise(r=>setTimeout(r,400));
const items = await p.$$eval('[data-checklist-item]', e=>e.length);
// 3 abhaken → Fortschritt
const boxes = await p.$$('[data-checklist-item]');
for (let i=0;i<3;i++){ await boxes[i].click(); }
await new Promise(r=>setTimeout(r,200));
console.log('Checklist-Items:', items, '| Fortschritt:', await p.$eval('[data-progress-count]', e=>e.textContent), '| Balken:', await p.$eval('[data-progress-bar]', e=>e.style.width));
await p.screenshot({path:'/tmp/smi-shot/checklist.png', fullPage:true});
// Newsletter absenden (Consent + Mail)
await p.type('.checklist-cta input[name=email]', 'browser.test@example.com');
await p.click('.checklist-cta input[name=consent]');
await p.click('.checklist-cta button[type=submit]');
await p.waitForFunction(()=>{const m=document.querySelector('.checklist-cta [data-newsletter-msg]');return m&&m.textContent.trim().length>0;},{timeout:10000});
console.log('Newsletter-Antwort:', await p.$eval('.checklist-cta [data-newsletter-msg]', e=>e.textContent));
// WebRTC-Tool
await p.goto('http://127.0.0.1:8899/tools/webrtc-leak/',{waitUntil:'networkidle0',timeout:60000});
await p.click('.smi-tool[data-tool="webrtc-leak"] .smi-tool__btn--primary');
await p.waitForFunction(()=>{const r=document.querySelector('.smi-tool[data-tool="webrtc-leak"] .smi-tool__result');return r&&r.children.length>0;},{timeout:8000});
console.log('WebRTC-Ergebnis:', await p.$eval('.smi-tool[data-tool="webrtc-leak"] .smi-tool__msg', e=>e.textContent.slice(0,60)));
// PureVPN-CTA auf VPN-Topic-Tool?
await p.goto('http://127.0.0.1:8899/tools/ip-check/',{waitUntil:'networkidle0',timeout:60000});
await new Promise(r=>setTimeout(r,600));
console.log('PureVPN-CTA im Aside?', (await p.$$eval('.tool-cta__name', e=>e.map(x=>x.textContent))).join(', ')||'—');
await b.close();
})().catch(e=>{console.error('ERR',e.message);process.exit(1)});