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/mode-test.js
const puppeteer=require('puppeteer');
(async()=>{
const b=await puppeteer.launch({headless:'new',args:['--no-sandbox','--disable-setuid-sandbox','--host-resolver-rules=MAP www.safemyident.de 127.0.0.1','--ignore-certificate-errors']});
const p=await b.newPage(); const errs=[]; p.on('pageerror',e=>errs.push(e.message));
await p.setViewport({width:1000,height:800,deviceScaleFactor:1.2});
await p.goto('https://www.safemyident.de/tools/ip-check/',{waitUntil:'networkidle2',timeout:60000});
function state(){return p.evaluate(()=>({
  activeTab:document.querySelector('.smi-ipc__mode.is-active')?.getAttribute('data-mode'),
  selfPanelHidden:document.getElementById('smi-ipc-panel-self').hidden,
  queryPanelHidden:document.getElementById('smi-ipc-panel-query').hidden,
  selfBtn:!!document.getElementById('smi-ipc-self'),
  checkBtn:!!document.getElementById('smi-ipc-check')
}));}
console.log('DEFAULT:',JSON.stringify(await state()));
// switch to query
await p.click('#smi-ipc-mode-query');
await new Promise(r=>setTimeout(r,150));
console.log('AFTER click query:',JSON.stringify(await state()));
const focused=await p.evaluate(()=>document.activeElement&&document.activeElement.id);
console.log('  focused element:',focused);
await (await p.$('.smi-ipc__form')).screenshot({path:'/tmp/smi-shot/mode-query.png'});
// do a query check
await p.type('#smi-ipc-input','1.1.1.1');
await p.click('#smi-ipc-check');
const q1=await p.waitForFunction(()=>document.querySelector('#smi-ipc-score-badge')?.textContent.trim(),{timeout:20000}).then(()=>true).catch(()=>false);
console.log('  query check ran:',q1);
// switch back to self + run self
await p.click('#smi-ipc-mode-self');
await new Promise(r=>setTimeout(r,150));
console.log('BACK to self:',JSON.stringify(await state()));
await (await p.$('.smi-ipc__form')).screenshot({path:'/tmp/smi-shot/mode-self.png'});
await p.click('#smi-ipc-self');
const s1=await p.waitForFunction(()=>document.querySelector('#smi-ipc-score-badge')?.textContent.trim(),{timeout:20000}).then(()=>true).catch(()=>false);
console.log('  self check ran:',s1,'| errors:',errs.length?errs.slice(0,3):'none');
await b.close();
})().catch(e=>{console.error('ERR',e.message);process.exit(1);});

Youez - 2016 - github.com/yon3zu
LinuXploit