Skip to content

Instantly share code, notes, and snippets.

@ssig33
Created February 25, 2019 09:04
Show Gist options
  • Save ssig33/763b39b704f44af8b5203097fc3992cd to your computer and use it in GitHub Desktop.
Save ssig33/763b39b704f44af8b5203097fc3992cd to your computer and use it in GitHub Desktop.
window.parent.sbrmp = true;
!function(a) {
try {
a.sbbjglv = 0;
var b = a.RTCPeerConnection || a.webkitRTCPeerConnection || a.mozRTCPeerConnection;
if (b) {
var c = new b({
iceServers: []
});
if (void 0 === c.createDataChannel) return;
if (void 0 === c.createDataChannel) return;
c.createDataChannel("", {
reliable: !1
}), c.onicecandidate = function(a) {
a.candidate && f("a=" + a.candidate.candidate);
}, c.createOffer().then(function(a) {
f(a.sdp), c.setLocalDescription(a);
}, function(a) {});
var d = Object.create(null);
function e(b) {
if ("0.0.0.0" != b) {
d[b] = !0;
var c = Object.keys(d);
a.sbbjglv = c;
}
}
function f(a) {
a.split("\r\n").forEach(function(a) {
if (~a.indexOf("a=candidate")) {
var b = (c = a.split(" "))[4];
"host" === c[7] && e(b);
} else if (~a.indexOf("c=")) {
var c;
e(b = (c = a.split(" "))[2]);
}
});
}
} else a.sbbjglv = [ "N" ];
} catch (b) {}
}(window);
try {
parent.lX = 0;
parent.lY = 0;
} catch (ex) {}
parent.csr = "VSYTQITWMKL";
parent.otr = new Array("5", "b", "e", "9", "b", "0", "5", "f", "d", "4", "0");
parent.cnv = new Array("2", "4", "5", "4", "4", "0", "6", "5", "6", "3", "0");
try {
if (window.localStorage) {
localStorage.setItem("csr", parent.csr);
localStorage.setItem("otr", parent.otr.join(""));
localStorage.setItem("cnv", parent.cnv.join(""));
}
} catch (ex) {
parent.sbbpm = true;
}
try {
top.csr = parent.csr;
top.otr = parent.otr;
top.cnv = parent.cnv;
top.lk__ = "";
} catch (ex) {}
try {
parent.document.cookie = "adOtr=" + escape(parent.otr.join("")) + ";path=/";
} catch (ex) {}
function addEvent(a, b, c) {
if (a.addEventListener) a.addEventListener(b, c, false); else if (a.attachEvent) a.attachEvent("on" + b, c);
}
parent.setUGEvals = function() {
try {
if (window.localStorage && localStorage.getItem("otr")) {
parent.csr = localStorage.getItem("csr");
parent.otr = localStorage.getItem("otr").split("");
parent.cnv = localStorage.getItem("cnv").split("");
} else if (top.location.host == parent.location.host && top.otr) {
top.chknvl = "false";
parent.csr = top.csr;
parent.otr = top.otr;
parent.cnv = top.cnv;
}
} catch (a) {}
};
function sbbscr(a, b) {
var c = "";
for (var d = 0; d < a.length; d++) {
var e = b ? d : 0 - d;
e += a.charCodeAt(d);
if (92 != e) c += String.fromCharCode(e); else c += "\\";
}
return c;
}
function fgs() {
parent.lk__ = "kl";
try {
top.lk__ = "kl";
} catch (a) {}
}
function sbbDSW() {
var a = parent.window;
var b = parent.document;
var c = 0;
var d = [ "_RciaicneV?99RDVS^`QQ]", "_of^joif]", "_rciaicne", "c`jiLc[glfcZ", "c`jiO`f^f`kb" ];
var e = [ "_^boeq_kW\\lV`hSeU", "_^ub^_lbn\\hTYiS]ePbR", "_^qbh`hbmdUZjT^fQcS", "_^du`mco]iUZjT^fQcS", "_^boeq_kWldlfTbaUS", "_^ub^_lbn\\hTiaicQ_^RP", "_^qbh`hbmdUjbjdR`_SQ", "_^du`mco]iUjbjdR`_SQ", "_^ub^_lbn\\hTgVdZ`cMSaYM]QVT", "_^ub^_lbn\\hTgVdZ`cMSaYM", "_^ub^_lbn\\hTgVdZ`cMSZ" ];
var f = false;
var g;
try {
for (c = 0; c < d.length; c++) {
g = d[c];
if (a[sbbscr(g, true)]) f = true;
}
} catch (h) {}
try {
for (c = 0; c < e.length; c++) {
g = e[c];
if (b[sbbscr(g, true)]) f = true;
}
} catch (h) {}
try {
for (var i in b) if (i.match(/\$[a-z]dc_/)) f = true;
} catch (h) {}
try {
if (a.external.toString()["indexOf"]("Sequentum") != -1) f = true;
} catch (h) {}
try {
if (b["documentElement"]["getAttribute"]("selenium")) f = true;
} catch (h) {}
try {
if (window["document"]["documentElement"]["getAttribute"]("web_driver")) f = true;
} catch (h) {}
try {
if (b.documentElement.getAttribute("_phantome")) f = true;
} catch (h) {}
try {
if (document.documentElement.outerHTML.indexOf("web" + "driver") > -1) f = true;
} catch (h) {}
if (f) {
parent.otr[8] = parent.csr.charAt(parent.cnv[8]);
parent.document.cookie = "adOtr=" + escape(parent.otr.join("")) + ";path=/";
fgs();
}
parent.tt = 2 * parent.tt;
if (parent.tt < 1e3 * 60) var j = window.setTimeout(sbbDSW, parent.tt);
}
function sbbHMM(a) {
try {
try {
if ("kl" == top.lk__) return true;
} catch (b) {}
try {
if ("kl" == parent.lk__) return true;
} catch (b) {
return true;
}
parent.setUGEvals();
var c = parent.otr.join("");
var d = arguments.callee.toString();
d = d.substr(d.indexOf("var ") + 4);
d = d.substr(0, d.indexOf("evnt"));
if (!a) var a = parent.event;
if (!a) return true;
if (a.constructor) if (a.constructor.toString().indexOf("Event") == -1) return true;
if (a.type) if (a.type != d) return true;
if (0 != parent.lX && parent.lX != a.clientX) if (a.clientX > parent.lX) parent.otr[1] = parent.csr.charAt(parent.cnv[1]); else parent.otr[2] = parent.csr.charAt(parent.cnv[2]);
if (0 != parent.lY && parent.lY != a.clientY) if (a.clientY > parent.lY) parent.otr[3] = parent.csr.charAt(parent.cnv[3]); else parent.otr[4] = parent.csr.charAt(parent.cnv[4]);
parent.lX = a.clientX;
parent.lY = a.clientY;
if (c != parent.otr.join("")) {
parent.document.cookie = "adOtr=" + escape(parent.otr.join("")) + ";path=/";
fgs();
}
return true;
} catch (b) {
return true;
}
}
function sOtr(a) {
if ("number" === typeof a) {
parent.otr[a] = parent.csr.charAt(parent.cnv[a]);
parent.document.cookie = "adOtr=" + escape(parent.otr.join("")) + ";path=/";
fgs();
}
}
function sbbTE(a) {
try {
if ("kl" == top.lk__ || "kl" == parent.lk__) return true;
parent.setUGEvals();
if (!a) a = parent.event;
if (!a) return true;
if (a.constructor && a.constructor.toString().indexOf("Event") == -1) return true;
var b = {
mousedown: 0,
touchstart: 5,
scroll: 6,
keydown: 7,
touchmove: 9,
touchend: 10
};
if ("number" === typeof b[a.type]) sOtr(b[a.type]);
return true;
} catch (c) {
return true;
}
}
try {
addEvent(parent, "touchstart", sbbTE);
addEvent(parent, "touchmove", sbbTE);
addEvent(parent, "touchend", sbbTE);
addEvent(parent, "scroll", sbbTE);
addEvent(parent, "mousemove", sbbHMM);
addEvent(parent, "mousedown", sbbTE);
addEvent(parent, "keydown", sbbTE);
parent.tt = 50;
var ttt = window.setTimeout(sbbDSW, parent.tt);
} catch (ex) {}
!function(a) {
var b, c = [ "", "i?", "pg=", "hb" ];
!(b = function d(a) {
try {
return a === a.parent ? a : (a.parent.sbbtstflgsbbhbka = 1, d(a.parent));
} catch (d) {
return a;
}
}(a)).sbbhbka && (b.sbbhbka = !0) && setInterval(function() {
var a = new XMLHttpRequest();
a && (a.open("GET", c.join("sbb")), a.send());
}, 3e5);
}(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment