Advertisement
0x04

nulled.to protection

Nov 21st, 2020
1,185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2.     var a = function() {
  3.             try {
  4.                 return !!window.addEventListener
  5.             } catch (e) {
  6.                 return !1
  7.             }
  8.         },
  9.         b = function(b, c) {
  10.             a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)
  11.         };
  12.     b(function() {
  13.         var timeleft = 5;
  14.         var downloadTimer = setInterval(function() {
  15.             timeleft--;
  16.             if (timeleft <= 0)
  17.                 clearInterval(downloadTimer);
  18.         }, 1000);
  19.         setTimeout(async () => {
  20.             var now = new Date();
  21.             var time = now.getTime();
  22.             time += 300 * 1000;
  23.             now.setTime(time);
  24.  
  25.             if (!('ontouchstart' in document.documentElement)) {
  26.                 let notifications = await navigator.permissions.query({
  27.                     name: 'notifications'
  28.                 });
  29.  
  30.                 if (Notification.permission === 'denied' && permissionStatus.state === 'prompt') {
  31.                     return;
  32.                 } else {
  33.                     var _369_047 = parseInt("20201120", 10) + parseInt("20112020", 10);
  34.                 }
  35.             } else {
  36.                 if ((!window._phantom || !window.callPhantom) &&
  37.                     !window.__phantomas &&
  38.                     !window.Buffer &&
  39.                     !window.emit &&
  40.                     !window.spawn &&
  41.                     !window.webdriver &&
  42.                     !window.domAutomation &&
  43.                     !window.document.documentElement.getAttribute("webdriver") &&
  44.                     !/bot|curl|kodi|xbmc|wget|urllib|python|winhttp|httrack|alexa|ia_archiver|facebook|twitter|linkedin|pingdom/i.test(navigator.userAgent) &&
  45.                     !/HeadlessChrome/.test(window.navigator.userAgent) &&
  46.                     !navigator.webdriver
  47.                 ) {
  48.                     var _369_047 = parseInt("20201120", 10) + parseInt("20112020", 10);
  49.                 }
  50.             }
  51.  
  52.             var xhttp = new XMLHttpRequest();
  53.             xhttp.onreadystatechange = function() {
  54.                 if (xhttp.readyState === 4) {
  55.                     location.reload(true);
  56.                 }
  57.             };
  58.  
  59.             xhttp.open("POST", "/index.php?s=null&app=forums&module=ajax&section=topics&do=reply&t=&f=&pid=30333095", true);
  60.             xhttp.setRequestHeader('x-auth-answer', _369_047); //make the answer what ever the browser figures it out to be
  61.             xhttp.setRequestHeader('X-Requested-with', 'XMLHttpRequest');
  62.             xhttp.setRequestHeader('X-Requested-TimeStamp', '');
  63.             xhttp.setRequestHeader('X-Requested-TimeStamp-Expire', '');
  64.             xhttp.setRequestHeader('X-Requested-TimeStamp-Combination', '');
  65.             xhttp.setRequestHeader('X-Requested-Type', 'GET');
  66.             xhttp.setRequestHeader('X-Requested-Type-Combination', 'GET'); //Encrypted for todays date
  67.             xhttp.withCredentials = true;
  68.             xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  69.             xhttp.send(["iloveyou"]);
  70.         }, 6000); /*if correct data has been sent then the auth response will allow access*/
  71.     }, false);
  72. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement