1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 15:40:28 +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-04 22:06:04 +00:00
parent eb23d77777
commit 30babac63e
4 changed files with 196 additions and 345 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,72 +1,72 @@
"use strict"; "use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], { (self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, r, t) => { 227900: (n, W, t) => {
t.r(r), t.d(r, { t.r(W), t.d(W, {
default: () => c default: () => c
}); });
t(136728), t(875640); t(136728), t(875640);
const c = () => { const c = () => {
let No; let Hc;
const Ho = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); const Vc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const Lo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const Fc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Fo = () => Ho(bo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content")); const Xc = () => Vc(Mc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const yo = (n, r) => No = No || bo(Ao((n => document.querySelectorAll(n))(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number)); const Zc = (n, W) => Hc = Hc || Mc(Bc((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 bo = (n, r) => n && n["getAttribute"](r) || ""; const Mc = (n, W) => n && n["getAttribute"](W) || "";
const jo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const Yc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const zo = n => crypto.subtle["digest"]("sha-256", jo(n)); const Tc = n => crypto.subtle["digest"]("sha-256", Yc(n));
const To = n => (n < 16 ? "0" : "") + n["toString"](16); const Ec = n => (n < 16 ? "0" : "") + n["toString"](16);
const Ao = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const Bc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const _o = (n, r, t) => r ? n ^ t[0] : n; const ru = (n, W, t) => W ? n ^ t[0] : n;
const nc = (n, r, t) => { const cu = (n, W, t) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const W = n["animate"](tc(r), 4096); const r = n["animate"](ou(W), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10; r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
} }
}; };
const rc = (n, r, t, W) => { const uu = (n, W, t, c) => {
{ {
const o = n * (t - r) / 255 + r; const r = n * (t - W) / 255 + W;
return W ? (n => Math.floor(n))(o) : o["toFixed"](2); return c ? (n => Math.floor(n))(r) : r["toFixed"](2);
} }
}; };
const tc = n => ({ const ou = n => ({
color: ["#" + To(n[0]) + To(n[1]) + To(n[2]), "#" + To(n[3]) + To(n[4]) + To(n[5])], color: ["#" + Ec(n[0]) + Ec(n[1]) + Ec(n[2]), "#" + Ec(n[3]) + Ec(n[4]) + Ec(n[5])],
transform: ["rotate(0deg)", "rotate(" + rc(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + uu(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => rc(n, r % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => uu(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Wc; let eu;
let cc = []; let iu = [];
const ec = n => { const ku = n => {
if (!Wc) { if (!eu) {
const xn = yo(".r-732710", n); const R = Zc(".r-6bmwu0", n);
new Promise(() => { new Promise(() => {
{ {
const r = new RTCPeerConnection(); const t = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36); const c = (() => Math.random())()["toString"](36);
oc = r["createDataChannel"](t), r["createOffer"]()["then"](W => { fu = t["createDataChannel"](c), t["createOffer"]()["then"](u => {
try { try {
{ {
const o = W["sdp"] || t; const W = u["sdp"] || c;
cc = Array.from(jo([o[n[5] % 8] || "4", o[n[8] % 8]])), r["close"](); iu = Array.from(Yc([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
nc(Qn, xn[n[22] % 16], n[35] % 16 * (n[23] % 16) * (n[16] % 16)); cu(m, R[n[2] % 16], n[44] % 16 * (n[34] % 16) * (n[25] % 16));
const Vn = getComputedStyle(Qn); const Q = getComputedStyle(m);
Wc = Array.from(("" + Vn["color"] + Vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Nn(); eu = Array.from(("" + Q[F(1059, 1e3, "XIJv", 1130, 1112)] + Q["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), v();
} }
return Wc; return eu;
}; };
return async (n, r) => { return async (n, W) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([c])["buffer"]); const c = new Uint8Array(new Uint32Array([r])["buffer"]);
const e = Fo(); const u = Xc();
const f = ec(e); const o = ku(u);
return Lo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await zo([r, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](cc)), [3]))["map"](_o)); return Fc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(u), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Tc([W, n, r]["join"]("!") + "obfiowerehiring" + o)))["concat"](iu)), [3]))["map"](ru));
}; };
}; };
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long