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-05-19 22:06:25 +00:00
parent afbcb41792
commit fddd681fd0
4 changed files with 170 additions and 171 deletions

View file

@ -1,72 +1,73 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, r) => {
r.r(t), r.d(t, {
default: () => u
227900: (n, t, W) => {
W.r(t), W.d(t, {
default: () => o
});
r(136728), r(875640);
const u = () => {
let Gc;
const Qc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const Kc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Nc = () => Qc(vc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const bc = (n, t) => Gc = Gc || vc(Ic((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 vc = (n, t) => n && n["getAttribute"](t) || "";
const yc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Fc = n => crypto.subtle["digest"]("sha-256", yc(n));
const Yc = n => (n < 16 ? "0" : "") + n["toString"](16);
const Ic = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Ac = (n, t, r) => t ? n ^ r[0] : n;
const Hc = (n, t, r) => {
W(136728), W(875640);
const o = () => {
let xo;
const To = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Uo = () => {
return n = Bo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const Zo = (n, t) => xo = xo || Bo(jo((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"](po));
const Bo = (n, t) => n && n["getAttribute"](t) || "";
const Eo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Xo = n => crypto.subtle["digest"]("sha-256", Eo(n));
const Yo = n => (n < 16 ? "0" : "") + n["toString"](16);
const jo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const cu = (n, t, W) => t ? n ^ W[0] : n;
const eu = (n, t, W) => {
{
if (!n["animate"]) return;
const W = n["animate"](jc(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
const r = n["animate"](iu(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
}
};
const Dc = (n, t, r, W) => {
const du = (n, t, W, r) => {
{
const c = n * (r - t) / 255 + t;
return W ? (n => Math.floor(n))(c) : c["toFixed"](2);
const o = kozpncFpZclRMGmerSPu[e(1e3, 0, 0, 0, "B(Gx")](n * (W - t) / 255, t);
return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
}
};
const jc = n => ({
color: ["#" + Yc(n[0]) + Yc(n[1]) + Yc(n[2]), "#" + Yc(n[3]) + Yc(n[4]) + Yc(n[5])],
transform: ["rotate(0deg)", "rotate(" + Dc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Dc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
const iu = n => ({
color: ["#" + Yo(n[0]) + Yo(n[1]) + Yo(n[2]), "#" + Yo(n[3]) + Yo(n[4]) + Yo(n[5])],
transform: ["rotate(0deg)", "rotate(" + du(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => du(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let _c;
let tu = [];
const ru = n => {
if (!_c) {
const v = bc(".r-mt57c", n);
let au;
let mu = [];
const su = n => {
if (!au) {
const i = Zo(".r-2dplbu", n);
new Promise(() => {
{
const F = new RTCPeerConnection();
const Z = (() => Math.random())()["toString"](36);
nu = F["createDataChannel"](Z), F["createOffer"]()["then"](Y => {
const t = new RTCPeerConnection();
const W = (() => Math.random())()["toString"](36);
Su = t["createDataChannel"](W), t["createOffer"]()["then"](o => {
try {
{
const t = Y["sdp"] || Z;
tu = Array.from(yc([t[n[5] % 8] || "4", t[n[8] % 8]])), F["close"]();
const r = o["sdp"] || W;
mu = Array.from(Eo([r[n[5] % 8] || "4", r[n[8] % 8]])), t["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
Hc(y, v[n[40] % 16], n[6] % 16 * (n[0] % 16) * (n[21] % 16));
const Y = getComputedStyle(y);
_c = Array.from(("" + Y["color"] + Y["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), F();
eu(f, i[n[39] % 16], n[39] % 16 * (n[30] % 16) * (n[29] % 16));
const a = getComputedStyle(f);
au = Array.from(("" + a["color"] + a["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => po(po(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), k();
}
return _c;
return au;
};
return async (n, t) => {
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const W = new Uint8Array(new Uint32Array([r])["buffer"]);
const c = Nc();
const u = ru(c);
return Kc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(W), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Fc([t, n, r]["join"]("!") + "obfiowerehiring" + u)))["concat"](tu)), [3]))["map"](Ac));
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new Uint8Array(new Uint32Array([e])["buffer"]);
const i = Uo();
const f = su(i);
return To(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Xo([t, n, e]["join"]("!") + "obfiowerehiring" + f)))["concat"](mu)), [3]))["map"](cu));
};
};
}