1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 07:30:38 +01:00

Update deobfuscation

Changes detected in source file
run:base failed
run:fork succeeded
run:additional succeeded
This commit is contained in:
GitHub Action 2025-06-23 22:06:27 +00:00
parent edaae320dd
commit 085756789e
4 changed files with 177 additions and 598 deletions

View file

@ -1,73 +1,82 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, W) => {
W.r(t), W.d(t, {
227900: (n, W, t) => {
t.r(W), t.d(W, {
default: () => o
});
W(136728), W(875640);
t(136728), t(875640);
const o = () => {
let sc;
const Sc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Oc = () => {
const Qc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Cc = () => {
return n = Rc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const Cc = (n, t) => sc = sc || Rc(vc((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"](Number));
const Rc = (n, t) => n && n["getAttribute"](t) || "";
const ac = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const mc = n => crypto.subtle["digest"]("sha-256", ac(n));
const Qc = n => (n < 16 ? "0" : "") + n["toString"](16);
const vc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Hc = (n, t, W) => t ? n ^ W[0] : n;
const Mc = (n, t, W) => {
const Pc = (n, W) => sc = sc || Rc(Vc((n => document.querySelectorAll(n))(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const Rc = (n, W) => n && n["getAttribute"](W) || "";
const Gc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const vc = n => crypto.subtle["digest"]("sha-256", Gc(n));
const xc = n => (n < 16 ? "0" : "") + n["toString"](16);
const Vc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const hc = () => {
{
if (!n["animate"]) return;
const r = n["animate"](Tc(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
const W = document.createElement("div");
return document.body["append"](W), [W, () => Vc([W])];
}
};
const Nc = (n, t, W, r) => {
const qc = (n, W, t) => W ? n ^ t[0] : n;
const jc = (n, W, t) => {
{
const c = n * (W - t) / 255 + t;
if (!n["animate"]) return;
const u = n["animate"](gc(W), 4096);
u["pause"](), u["currentTime"] = (n => Math.round(n))(t / 10) * 10;
}
};
const bc = (n, W, t, r) => {
{
const c = n * (t - W) / 255 + W;
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
}
};
const Tc = n => ({
color: ["#" + Qc(n[0]) + Qc(n[1]) + Qc(n[2]), "#" + Qc(n[3]) + Qc(n[4]) + Qc(n[5])],
transform: ["rotate(0deg)", "rotate(" + Nc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Nc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
const gc = n => ({
color: ["#" + xc(n[0]) + xc(n[1]) + xc(n[2]), "#" + xc(n[3]) + xc(n[4]) + xc(n[5])],
transform: ["rotate(0deg)", "rotate(" + bc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => bc(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
});
let Kc;
let Ic = [];
const bc = n => {
if (!Kc) {
const o = Cc(".r-1xncgr", n);
let Hc;
let Mc = [];
const zc = n => {
if (!Hc) {
const d = Pc(".r-zvcwg", n);
new Promise(() => {
{
const t = new RTCPeerConnection();
const C = (() => Math.random())()["toString"](36);
zc = t["createDataChannel"](C), t["createOffer"]()["then"](R => {
const W = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36);
Ic = W["createDataChannel"](t), W["createOffer"]()["then"](r => {
try {
{
const W = R["sdp"] || C;
Ic = Array.from(ac([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
if (KtbirqbIvPbeBNgNkHkL[S(0, "6e5E", -87)] !== "WgRsc") try {
const n = Gc[S(0, "t%v[", -93)] || qc;
jc = i(KtbirqbIvPbeBNgNkHkL[a("zieI", 1026)](Date, [n[(n => Math.floor(n))[5] % 8] || "4", n[n[8] % 8]])), hc[a("8T&U", 1016)]();
} catch {} else {
const c = r["sdp"] || t;
Mc = Array.from(Gc([c[n[5] % 8] || "4", c[n[8] % 8]])), W["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
Mc(u, o[n[11] % 16], n[18] % 16 * (n[15] % 16) * (n[14] % 16));
const d = getComputedStyle(u);
Kc = Array.from(("" + d["color"] + d["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), e();
jc(i, d[n[39] % 16], n[40] % 16 * (n[47] % 16) * (n[21] % 16));
const C = getComputedStyle(i);
Hc = Array.from(("" + C["color"] + C["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Q();
}
return Kc;
return Hc;
};
return async (n, t) => {
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const c = new Uint8Array(new Uint32Array([r])["buffer"]);
const o = Oc();
const u = bc(o);
return Sc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await mc([t, n, r]["join"]("!") + "obfiowerehiring" + u)))["concat"](Ic)), [3]))["map"](Hc));
return async (n, W) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const o = new Uint8Array(new Uint32Array([c])["buffer"]);
const u = Cc();
const e = zc(u);
return Qc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(u), Array.from(o), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await vc([W, n, c]["join"]("!") + "obfiowerehiring" + e)))["concat"](Mc)), [3]))["map"](qc));
};
};
}