| 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 browser = await puppeteer.launch({ headless:'new', args:['--no-sandbox','--disable-setuid-sandbox','--disable-dev-shm-usage','--host-resolver-rules=MAP www.safemyident.de 127.0.0.1','--ignore-certificate-errors'] });
const page = await browser.newPage();
const errors=[]; page.on('pageerror',e=>errors.push(e.message));
await page.setViewport({ width:1000, height:1000 });
await page.goto('https://www.safemyident.de/tools/ip-check/', { waitUntil:'networkidle2', timeout:60000 });
await page.type('#smi-ipc-input','google.com');
await page.click('#smi-ipc-check');
try{ await page.waitForFunction(()=>{const p=document.getElementById('smi-ipc-panel-mail');return p&&p.textContent.includes('SPF');},{timeout:30000}); }catch(e){errors.push('mail-timeout');}
const info = await page.evaluate(()=>{
const txt=(id)=>{const e=document.getElementById(id);return e?e.textContent.replace(/\s+/g,' ').trim().slice(0,180):null;};
return { score:txt('smi-ipc-score-num'), dnsHasA:/A \(IPv4\)/.test(document.getElementById('smi-ipc-panel-dns').textContent), mail:txt('smi-ipc-panel-mail'), blHasList: document.getElementById('smi-ipc-panel-blacklist').textContent.includes('Spamhaus') };
});
console.log(JSON.stringify(info,null,1));
console.log('errors:', errors.length?errors:'none');
await browser.close();
})().catch(e=>{console.error('ERR',e.message);process.exit(1);});