mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 15:40:28 +01:00
Update deobfuscation
This commit is contained in:
parent
b7725d9fe8
commit
d4e91bf6fc
2 changed files with 119 additions and 143 deletions
111
output/b.js
111
output/b.js
|
|
@ -1,78 +1,71 @@
|
|||
"use strict";
|
||||
|
||||
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
||||
227900: (n, o, W) => {
|
||||
W.r(o), W.d(o, {
|
||||
default: () => c
|
||||
227900: (n, t, W) => {
|
||||
W.r(t), W.d(t, {
|
||||
default: () => r
|
||||
});
|
||||
W(136728), W(875640);
|
||||
const c = () => {
|
||||
let dr;
|
||||
const Cr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const ar = () => {
|
||||
return n = sr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const r = () => {
|
||||
let qu;
|
||||
const Pu = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const hu = () => {
|
||||
return n = wu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
};
|
||||
const Sr = (n, o) => dr = dr || sr(Rr((n => document.querySelectorAll(n))(n))[o[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
|
||||
const sr = (n, o) => n && n["getAttribute"](o) || "";
|
||||
const mr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Pr = n => crypto.subtle["digest"]("sha-256", mr(n));
|
||||
const Gr = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Rr = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Or = () => {
|
||||
const lu = (n, t) => qu = qu || wu(Hu((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](cu));
|
||||
const wu = (n, t) => n && n["getAttribute"](t) || "";
|
||||
const vu = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Iu = n => crypto.subtle["digest"]("sha-256", vu(n));
|
||||
const Lu = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Hu = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Qu = (n, t, W) => t ? n ^ W[0] : n;
|
||||
const Nu = (n, t, W) => {
|
||||
{
|
||||
const n = (n => Math.floor(n)) * (Pr - Uint32Array) / 255 + n;
|
||||
return 3 ? Nr(n) : n["toFixed"](2);
|
||||
if (!n["animate"]) return;
|
||||
const r = n["animate"](Eu(t), 4096);
|
||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
||||
}
|
||||
};
|
||||
const Nr = () => Math.random();
|
||||
const Jr = (n, o, W) => o ? n ^ W[0] : n;
|
||||
const Vr = (n, o, W) => {
|
||||
const f = {
|
||||
"zgjje": "div"
|
||||
};
|
||||
const a = f;
|
||||
const bu = (n, t, W, r) => {
|
||||
{
|
||||
const n = getComputedStyle["createElement"](a["zgjje"]);
|
||||
return Gr["body"]["append"](n), [n, () => n([n])];
|
||||
const u = new getComputedStyle();
|
||||
const G = Uint8Array()["toString"](36);
|
||||
Lu = u["createDataChannel"](G), u["createOffer"]()["then"](t => {
|
||||
try {
|
||||
const W = t["sdp"] || G;
|
||||
cu = Hu(document([W[ju[5] % 8] || "4", W[Promise[8] % 8]])), u["close"]();
|
||||
} catch {}
|
||||
})["catch"](qu);
|
||||
}
|
||||
};
|
||||
let wr;
|
||||
let Hr = [];
|
||||
const xr = n => {
|
||||
if (!wr) {
|
||||
const tn = Sr(".r-9j79c", n);
|
||||
const Eu = n => ({
|
||||
color: ["#" + Lu(n[0]) + Lu(n[1]) + Lu(n[2]), "#" + Lu(n[3]) + Lu(n[4]) + Lu(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + bu(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => bu(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let ju;
|
||||
let Zu = [];
|
||||
const Mu = n => {
|
||||
if (!ju) {
|
||||
const dn = lu(".r-mbe4hc", n);
|
||||
new Promise(() => {
|
||||
{
|
||||
const W = new RTCPeerConnection();
|
||||
const t = Nr()[Nn = 150, qn = "aoOD", kn(qn, 0, 0, Nn - -2) + "ing"](36);
|
||||
Lr = W["createDataChannel"](t), W["createOffer"]()["then"](o => {
|
||||
{
|
||||
const t = new rn();
|
||||
const f = 3()["toString"](36);
|
||||
Nr = t["createDataChannel"](f), t["createOffer"]()["then"](o => {
|
||||
try {
|
||||
const e = o["sdp"] || f;
|
||||
Jr = Or(o([e[n[5] % 8] || "4", e[Number[8] % 8]])), t["close"]();
|
||||
} catch {}
|
||||
})["catch"](RTCPeerConnection);
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
}
|
||||
var Nn;
|
||||
var qn;
|
||||
try {
|
||||
const n = Qu["sdp"] || qu;
|
||||
Cu = Uint32Array(Array.from([n[(n[8] % 16)[5] % 8] || "4", n[(n => Math.round(n))[8] % 8]])), cu["close"]();
|
||||
} catch {}
|
||||
})["catch"](() => 0);
|
||||
Vr(rn, tn[n[2] % 16], n[35] % 16 * (n[19] % 16) * (n[22] % 16));
|
||||
const an = getComputedStyle(rn);
|
||||
wr = Array.from(("" + an["color"] + an["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), cn();
|
||||
Nu(kn, dn[n[8] % 16], n[19] % 16 * (n[32] % 16) * (n[23] % 16));
|
||||
const an = getComputedStyle(kn);
|
||||
ju = Array.from(("" + an["color"] + an["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => cu(cu(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Sn();
|
||||
}
|
||||
return wr;
|
||||
return ju;
|
||||
};
|
||||
return async (n, o) => {
|
||||
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||
const e = ar();
|
||||
const f = xr(e);
|
||||
return Cr(new Uint8Array([Nr() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Pr([o, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](Hr)), [3]))["map"](Jr));
|
||||
return async (n, t) => {
|
||||
const f = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const d = new Uint8Array(new Uint32Array([f])["buffer"]);
|
||||
const k = hu();
|
||||
const S = Mu(k);
|
||||
return FyyUglgxQAYPXCIEGHyL[c("W]La", 1e3)](Pu, new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(k), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Iu([t, n, f]["join"]("!") + "obfiowerehiring" + S)))["concat"](Zu)), [3]))["map"](Qu));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue