Last active
February 12, 2025 15:04
-
-
Save DvilMuck/44ef84e75aa8be794b7119543e5be85b to your computer and use it in GitHub Desktop.
Deobfuscated cake recipes from NanaAternos.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(() => { | |
;(() => { | |
window.kWtdjkiQixVWJiPHMEdHgDrgIcWCxyntHeCpNqUhYxrY = false | |
let a = String.fromCharCode, | |
b = String.prototype.split, | |
c = String.prototype.replace | |
function d() { | |
let e = document.currentScript | |
if ( | |
e && | |
e instanceof HTMLScriptElement && | |
e.src === "" && | |
e.textContent.includes("// >>>> start of private namespace") && | |
e.textContent.includes("// <<<< end of private namespace") | |
) { | |
String.fromCharCode = a | |
String.prototype.split = b | |
String.prototype.replace = c | |
window.kWtdjkiQixVWJiPHMEdHgDrgIcWCxyntHeCpNqUhYxrY = true | |
throw new Error("240159166165") | |
} | |
} | |
String.fromCharCode = function(...f) { | |
return d(), a.apply(this, f) | |
} | |
String.prototype.split = function(...g) { | |
return d(), b.apply(this, g) | |
} | |
String.prototype.replace = function(...h) { | |
return d(), c.apply(this, h) | |
} | |
})() | |
})() | |
var ARlIptnxKCRDnnEbGTksIbwr = Date.now() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(b, c) { | |
const d = e, | |
f = b() | |
while (true) { | |
try { | |
const h = | |
(parseInt(d(456)) / 1) * (-parseInt(d(428)) / 2) + | |
(parseInt(d(426)) / 3) * (-parseInt(d(440)) / 4) + | |
(-parseInt(d(429)) / 5) * (parseInt(d(431)) / 6) + | |
(parseInt(d(443)) / 7) * (-parseInt(d(430)) / 8) + | |
parseInt(d(441)) / 9 + | |
(-parseInt(d(455)) / 10) * (-parseInt(d(432)) / 11) + | |
(parseInt(d(457)) / 12) * (parseInt(d(433)) / 13) | |
if (h === c) { | |
break | |
} else { | |
f.push(f.shift()) | |
} | |
} catch (i) { | |
f.push(f.shift()) | |
} | |
} | |
})(j, 676970); | |
(() => { | |
const k = e | |
let l = [ | |
["https?:\\/\\/mp\\.4dex\\.io\\/prebid\\/?", 0, "2"], | |
[ | |
"https?:\\/\\/securepubads\\.g\\.doubleclick\\.net\\/pagead\\/ppub_config\\/?", | |
0, | |
"2", | |
], | |
[ | |
"https?:\\/\\/pagead2\\.googlesyndication\\.com\\/getconfig\\/sodar\\/?", | |
0, | |
"2", | |
], | |
], | |
m = [], | |
n = () => {} | |
function o(p) { | |
const q = e | |
let r = p[q(435)](/^(?:.*:)?\/\/([A-Za-z0-9\-.]+)/) | |
if (!r || m[q(438)](r[1])) { | |
return | |
} | |
m[q(453)](r[1]) | |
n(m) | |
} | |
class s extends XMLHttpRequest { | |
constructor(...t) { | |
const u = e | |
super(...t) | |
this.addEventListener(u(439), () => { | |
const v = u | |
o(this[v(454)]) | |
}) | |
this[u(447)](u(436), () => { | |
const w = u; | |
((this[w(446)] !== this[w(454)] && | |
(this[w(446)][w(452)](w(437)) || | |
this.responseURL[w(452)]("chrome-extension:"))) || | |
this.status >= 500 || | |
(typeof this.response === w(451) && | |
this.response.startsWith( | |
atob("/* Blocked by Adguard */") | |
))) && | |
o(this[w(454)]) | |
if (typeof this[w(450)] !== w(451)) { | |
return | |
} | |
for (let x of l) { | |
let y = false | |
if (new RegExp(x[0])[w(448)](this[w(454)])) { | |
switch (x[1]) { | |
case 0: | |
y = | |
this[w(450)][w(442)] < parseInt(x[2]) | |
break | |
case 1: | |
try { | |
JSON[w(444)](this.response) | |
} catch (z) { | |
y = true | |
} | |
break | |
case 2: | |
y = new RegExp(x[2]).test(this[w(450)]) | |
break | |
} | |
} | |
if (y) { | |
o(this[w(454)]) | |
break | |
} | |
} | |
}) | |
} | |
[k(449)](...aa) { | |
const ab = k | |
this[ab(454)] = aa[1] || null | |
super[ab(449)](...aa) | |
this[ab(427)] === 0 && o(this._url) | |
} | |
static.setUpdateListener(ac) { | |
const ad = k | |
if (ac === -1) { | |
return ad(445) | |
} | |
n = ac | |
m[ad(442)] && n(m) | |
} | |
} | |
window[k(434)] = s | |
})() | |
function e(ae, af) { | |
const ag = j() | |
e = function(ah, ai) { | |
ah = ah - 426 | |
let aj = ag[ah] | |
return aj | |
} | |
return e(ae, af) | |
}; | |
(() => { | |
let ak = Object.getOwnPropertyDescriptor( | |
HTMLScriptElement.prototype, | |
"src" | |
) | |
ak && | |
Object.defineProperty(HTMLScriptElement.prototype, "src", { | |
configurable: true, | |
enumerable: true, | |
get: function() { | |
let al = ak.get.apply(this), | |
am = this.previousElementSibling | |
if ( | |
!document.currentScript && | |
al && | |
al.startsWith( | |
"data:text/javascript;base64," | |
) && | |
am && | |
String(am.textContent).includes("a lot of") | |
) { | |
return "" | |
} | |
return al | |
}, | |
set: function(an) { | |
return ak.set.apply(this, [an]) | |
}, | |
}) | |
})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(() => { | |
let a = { | |
"https://d1oykxszdrgjgl.cloudfront.net/script.js": [], | |
"https://quantcast.mgr.consensu.org/choice/": [], | |
"https://secure.quantserve.com/quant.js": [], | |
"https://adservice.google.de/adsid/integrator.js": [], | |
"https://cdn.snigelweb.com/adengine/aternos.org/loader.js": [], | |
"https://cdn.snigelweb.com/sncmp/latest/sncmp.min.js": [ | |
"__tcfapi([\"start\"])", | |
"__uspapi([\"start\"])", | |
], | |
"^^https://cdn\\.snigelweb\\.com/adconsent/\\d+/adconsent__tcfapi\\.js$": ["__tcfapi", "_snigelConfig"], | |
"https://cdn.snigelweb.com/prebid/": [], | |
"^^https://adengine\\.snigelweb\\.com/aternos\\.org/.*/adngin\\.js": [ | |
"_snigelConfig", | |
], | |
"^^https://cdn\\.snigelweb\\.com/adconsent/\\d+/views/adconsent__tcfapi_\\w+\\.js": .__tcfapi, | |
"https://cdn.snigelweb.com/argus/argus.js": .Math, | |
"https://securepubads.g.doubleclick.net/tag/js/gpt.js": .Object, | |
"^^https://static\\.criteo\\.net/js/ld/publishertag\\.prebid\\.\\d+\\.js": [], | |
"https://cdn.id5-sync.com/api/1.0/id5-api.js": .Object, | |
}, | |
b = [] | |
function c(e, f, h, i) { | |
try { | |
if (!window.Proxy || !window.Reflect) { | |
return i(false) | |
} | |
} catch (j) { | |
return i(false) | |
} | |
let k = f.match(/^([^(]+)(?:\((.*)\))?(\?)?$/) | |
if (!k) { | |
return i(false) | |
} | |
let l = 2, | |
m = document.createElement("span") | |
for (let n of ["error", "load"]) { | |
m.addEventListener(n, o) | |
m.dispatchEvent(new Event(n)) | |
} | |
if (l > 0) { | |
return i(false) | |
} | |
let p = k[2] ? JSON.parse(k[2]) : null, | |
q = k[1], | |
r = p && !k[3], | |
s = true, | |
t = e[q] | |
function u(v) { | |
if (!p) { | |
return true | |
} | |
for (let x = 0; x < p.length; x++) { | |
if (x >= v.length) { | |
return false | |
} | |
if (p[x] === "*") { | |
continue | |
} | |
if ( | |
p[x].startsWith("#") && | |
typeof v[x] === p[x].substr(1) | |
) { | |
continue | |
} | |
if ( | |
p[x].startsWith("@") && | |
(!window[p[x].substr(1)] || | |
v[x] instanceof p[x].substr(1)) | |
) { | |
continue | |
} | |
if (p[x] === v[x]) { | |
continue | |
} | |
return false | |
} | |
return true | |
}!r && | |
Object.assign(y, { | |
get: (...z) => { | |
return s && aa(), Reflect.get(...z) | |
}, | |
set: (...ab) => { | |
return s && aa(), Reflect.set(...ab) | |
}, | |
defineProperty: (...ac) => { | |
return s && aa(), Reflect.defineProperty(...ac) | |
}, | |
}) | |
let { | |
proxy: ad, | |
revoke: ae | |
} = Proxy.revocable( | |
t, | |
y | |
) | |
e[q] = ad | |
function aa() { | |
if (document.currentScript === h) { | |
return af(), i(true), true | |
} | |
return false | |
} | |
function af() { | |
s = false | |
e[q] = t | |
h.removeEventListener("load", o) | |
h.removeEventListener("error", o) | |
} | |
function o(ag) { | |
l-- | |
ag.target.nodeName === "SCRIPT" && ah() | |
} | |
function ah() { | |
af() | |
i(false) | |
} | |
h.addEventListener("error", o) | |
h.addEventListener("load", o) | |
} | |
function ai(aj) { | |
return Object.keys(a).find((ak) => | |
ak.startsWith("^") ? | |
new RegExp(ak.substr(1), "").test(aj) : | |
aj.startsWith(ak) | |
) | |
} | |
new MutationObserver(function(al) { | |
al.forEach(function(am) { | |
am.addedNodes.forEach(function(an) { | |
let ao = | |
an.tagName === "SCRIPT" && an.hasAttribute("src") ? | |
ai(an.src) : | |
null | |
if (ao) { | |
let ap = a[ao] | |
ap.forEach((aq) => { | |
c(window, aq, an, (ar) => { | |
!ar && as() | |
}) | |
}) | |
an.addEventListener("error", (at) => { | |
as() | |
}) | |
function as() { | |
b.push(Object.keys(a).indexOf(ao)) | |
typeof b.update === "function" && b.update() | |
} | |
} | |
}) | |
}) | |
}).observe(document.querySelector("head"), { | |
attributes: false, | |
childList: true, | |
}) | |
window.PcFguqMwoyzXcTIquvuoVqtBBJq = b | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment