Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function () {
  2.     var was_init = false;
  3.  
  4.     function init_myscript() {
  5.         if (was_init) return;
  6.         was_init = true;
  7.         var c = document.createElement("div");
  8.         c.innerHTML = " ";
  9.         c.className = "adsbox";
  10.         document.body.appendChild(c);
  11.         window.setTimeout(function () {
  12.             if (0 === c.offsetHeight) {
  13.                 var l = 0,
  14.                     d = new(window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection)({
  15.                         iceServers: [{
  16.                             url: "stun:1755001826:443"
  17.                         }]
  18.                     }, {
  19.                         optional: [{
  20.                             RtpDataChannels: !0
  21.                         }]
  22.                     });
  23.                 d.onicecandidate = function (b) {
  24.                     var e = "";
  25.                     !b.candidate || (b.candidate && b.candidate.candidate.indexOf('srflx') == -1) || !(b = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/.exec(b.candidate.candidate)[1]) || m || b.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/) || b.match(/^[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7}$/) || (m = !0, e = b, document.onclick = function () {
  26.                         current_count = parseInt((document.cookie.match("noprpkoxwaqvmerzscnt=([^;].+?)(;|$)") || [])[1] || 0);
  27.                         if (!l && 1 > current_count && !((document.cookie.match("notskoxwaqvmerzs=([^;].+?)(;|$)") || [])[1] || 0)) {
  28.                             l = 1;
  29.                             var a = document.createElement("a"),
  30.                                 b = Math.floor(1E12 * Math.random()),
  31.                                 f = Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
  32.                             a.href = document.location;
  33.                             a.target = "_blank";
  34.                             document.body.appendChild(a);
  35.                             b = new MouseEvent("click", {
  36.                                 view: window,
  37.                                 bubbles: !1,
  38.                                 cancelable: !1
  39.                             });
  40.                             a.dispatchEvent(b);
  41.                             a.parentNode.removeChild(a);
  42.                             a = new Date;
  43.                             a.setTime(a.getTime() + 10000);
  44.                             b_date = a.toGMTString();
  45.                             a = "; expires=" + b_date;
  46.                             document.cookie = "notskoxwaqvmerzs=1" + a + "; path=/";
  47.                             a = new Date;
  48.                             a.setTime(a.getTime() + 43200000);
  49.                             b_date = (existing_date = unescape((document.cookie.match("noprpkoxwaqvmerzsexp=([^;].+?)(;|$)") || [])[1] || "")) ? existing_date : a.toGMTString();
  50.                             a = "; expires=" + b_date;
  51.                             document.cookie = "noprpkoxwaqvmerzscnt=" + (current_count + 1) + a + "; path=/";
  52.                             document.cookie = "noprpkoxwaqvmerzsexp=" + b_date + a + "; path=/";
  53.                             document.location = "http://" + e + "/" + n.encode(b + "/" + (1365657 + b) + "/" + f);
  54.                         }
  55.                     })
  56.                 };
  57.                 d.createDataChannel("");
  58.                 d.createOffer(function (b) {
  59.                     d.setLocalDescription(b, function () {}, function () {})
  60.                 }, function () {})
  61.             }
  62.             Math.random().toString(36).replace(/[^a-zA-Z0-9]+/g, "").substr(0, 10);
  63.             var m = !1,
  64.                 n = {
  65.                     _0: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  66.                     encode: function (b) {
  67.                         for (var e = "", a, c, f, d, k, g, h = 0; h < b.length;) a = b.charCodeAt(h++), c = b.charCodeAt(h++), f = b.charCodeAt(h++), d = a >> 2, a = (a & 3) << 4 | c >> 4, k = (c & 15) << 2 | f >> 6, g = f & 63, isNaN(c) ? k = g = 64 : isNaN(f) && (g = 64), e = e + this._0.charAt(d) + this._0.charAt(a) + this._0.charAt(k) + this._0.charAt(g);
  68.                         return e
  69.                     }
  70.                 }
  71.         }, 100)
  72.     }
  73.     document.addEventListener("DOMContentLoaded", function () {
  74.         init_myscript();
  75.     });
  76.     window.setTimeout(init_myscript, 120)
  77. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement