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

Update deobfuscation

This commit is contained in:
GitHub Action 2025-03-18 22:05:39 +00:00
parent 6706e1381c
commit 501e545046
2 changed files with 126 additions and 136 deletions

View file

@ -1,96 +1,102 @@
"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, {
default: () => u
227900: (n, W, t) => {
t.r(W), t.d(W, {
default: () => o
});
W(136728), W(875640);
const u = () => {
const [Co, Oo] = [document, window],
[mo, So, Ro, ko, so, Po, vo, Jo, No, qo, Go, Qo, wo] = [Oo["Number"], Oo["TextEncoder"], Oo["Uint8Array"], n => Co["querySelectorAll"](n), Oo["Date"], Oo["Uint32Array"], Oo["crypto"]["subtle"], Oo["Array"]["from"], Oo["Math"], Oo["RTCPeerConnection"], Oo["Promise"], Oo["Function"], Oo["getComputedStyle"]];
let xo;
const lo = n => btoa(Jo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
Lo = () => {
return n = Mo(ko("[name^=tw]")[0], "content"), new Ro(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
t(136728), t(875640);
const o = () => {
const [po, To] = [document, window],
[bo, Jo, lo, zo, Ao, Ho, Lo, Fo, Vo, Eo, Bo, Ko, Uo] = [To["Number"], To["TextEncoder"], To["Uint8Array"], n => po["querySelectorAll"](n), To["Date"], To["Uint32Array"], To["crypto"]["subtle"], To["Array"]["from"], To["Math"], To["RTCPeerConnection"], To["Promise"], To["Function"], To["getComputedStyle"]];
let Zo;
const $o = n => btoa(Fo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
Yo = () => {
return n = nc(zo("[name^=tw]")[0], "content"), new lo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n;
},
po = (n, t) => xo = xo || Mo(Do(ko(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](mo)),
Mo = (n, t) => n && n["getAttribute"](t) || "",
yo = n => typeof n == "string" ? new So()["encode"](n) : n,
Vo = n => vo["digest"]("sha-256", yo(n)),
go = n => (n < 16 ? "0" : "") + n["toString"](16),
Io = (n, t) => mo["parseInt"](n, t),
Do = n => Jo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
To = () => {
_o = (n, W) => Zo = Zo || nc(oc(zo(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](bo)),
nc = (n, W) => n && n["getAttribute"](W) || "",
Wc = n => typeof n == "string" ? new Jo()["encode"](n) : n,
tc = n => Lo["digest"]("sha-256", Wc(n)),
rc = n => (n < 16 ? "0" : "") + n["toString"](16),
oc = n => Fo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
cc = () => {
{
const n = Co["createElement"]("div");
return Co["body"]["append"](n), [n, () => Do([n])];
}
var c, e, d, f;
},
[zo, Ho, Ko, bo, Eo] = [n => No["round"](n), n => No["floor"](n), () => No["random"](), n => n["slice"](0, 16), () => 0],
[Ao, Xo, Uo] = [3, 1682924400, 2 ** (4 * 3)],
Yo = (n, t, W) => t ? n ^ W[0] : n,
jo = (n, t, W) => {
{
const n = Oo["sdp"] || zPFgfvuQzZrsKpepVGZI;
xo = Co(bo([n[wo[5] % 8] || "4", n[Do[8] % 8]])), Fo["close"]();
}
},
Bo = (n, t, W, o) => {
{
const C = new zPFgfvuQzZrsKpepVGZI(),
O = xo()["toString"](36);
o = C["createDataChannel"](O), C["createOffer"]()["then"](W => {
const k = new To(),
C = $o()["toString"](36);
Bo = k["createDataChannel"](C), k["createOffer"]()["then"](S => {
try {
const o = W["sdp"] || O;
_o = Uo(Bo([o[Ao[5] % 8] || "4", o[nu[8] % 8]])), C["close"]();
const r = S["sdp"] || C;
bo = Fo(r([r[cc[5] % 8] || "4", r[To[8] % 8]])), k["close"]();
} catch {}
})["catch"](W);
})["catch"](oc);
}
var G, Q, w;
},
Fo = n => ({
color: ["#" + go(n[0]) + go(n[1]) + go(n[2]), "#" + go(n[3]) + go(n[4]) + go(n[5])],
transform: ["rotate(0deg)", "rotate(" + Bo(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Jo(n["slice"](7))["map"]((n, t) => Bo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
[uc, ec, ic, dc, fc] = [n => Vo["round"](n), n => Vo["floor"](n), () => Vo["random"](), n => n["slice"](0, 16), () => 0],
[kc, Cc, Sc] = [3, 1682924400, 2 ** (4 * 3)],
mc = (n, W, t) => W ? n ^ t[0] : n,
Oc = (n, W, t) => {
{
const n = Uo["sdp"] || t;
$o = Bo(Xc([n[fc[5] % 8] || "4", n[qc[8] % 8]])), bo["close"]();
}
},
Pc = (n, W, t, r) => {
{
if (!po["animate"]) return;
const n = Uo["animate"](t($o), Bo);
n["pause"](), n["currentTime"] = Xc(fc / 10) * 10;
}
},
ac = n => ({
color: ["#" + rc(n[0]) + rc(n[1]) + rc(n[2]), "#" + rc(n[3]) + rc(n[4]) + rc(n[5])],
transform: ["rotate(0deg)", "rotate(" + Pc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Fo(n["slice"](7))["map"]((n, W) => Pc(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
});
let _o,
$o,
nu = [];
const ru = n => {
if (!_o) {
const [t, W] = [n[44] % 16, n[6] % 16 * (n[47] % 16) * (n[41] % 16)],
kn = po(".r-xozk0", n);
new Go(() => {
let Qc,
wc,
qc = [];
const Xc = n => {
if (!Qc) {
const [W, i] = [n[31] % 16, n[14] % 16 * (n[38] % 16) * (n[2] % 16)],
O = _o(".r-vgzi", n);
new Bo(() => {
{
const o = new qo(),
u = Ko()["toString"](36);
$o = o["createDataChannel"](u), o["createOffer"]()["then"](c => {
{
if (!Io["animate"]) return;
const n = Oo["animate"](sn(xo), n);
n["pause"](), n["currentTime"] = bo(wo / 10) * 10;
}
})["catch"](Eo);
const t = new Eo(),
r = ic()["toString"](36);
wc = t["createDataChannel"](r), t["createOffer"]()["then"](o => {
const e = {};
e["IkiRL"] = "div";
const S = e;
try {
{
const n = _o * (t - Uo) / 255 + i;
return $o ? Bo(n) : n["toFixed"](2);
}
{
const W = o["sdp"] || r;
qc = Fo(Wc([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
}
} catch {}
})["catch"](fc);
}
})["catch"](Eo);
const [sn, Pn] = To();
jo(sn, kn[t], W);
const vn = wo(sn);
_o = Jo(("" + vn["color"] + vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => mo(mo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Pn();
})["catch"](fc);
const [P, a] = cc();
Oc(P, O[W], i);
const s = Uo(P);
Qc = Fo(("" + s["color"] + s["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => bo(bo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a();
}
return _o;
return Qc;
};
return async (n, t) => {
const f = Ho((so["now"]() - Xo * 1e3) / 1e3),
i = new Ro(new Po([f])["buffer"]),
a = Lo(),
C = ru(a);
return lo(new Ro([Ko() * 256]["concat"](Jo(a), Jo(i), bo(Jo(new Ro(await Vo([t, n, f]["join"]("!") + "obfiowerehiring" + C)))["concat"](nu)), [Ao]))["map"](Yo));
return async (n, W) => {
const f = ec((Ao["now"]() - Cc * 1e3) / 1e3),
k = new lo(new Ho([f])["buffer"]),
C = Yo(),
S = Xc(C);
return $o(new lo([ic() * 256]["concat"](Fo(C), Fo(k), dc(Fo(new lo(await tc([W, n, f]["join"]("!") + "obfiowerehiring" + S)))["concat"](qc)), [kc]))["map"](mc));
};
};
}
}]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.d45c81ea.js.map
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.d11f738a.js.map

View file

@ -1,78 +1,62 @@
"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, {
default: () => u
227900: (n, W, t) => {
t.r(W), t.d(W, {
default: () => o
});
W(136728), W(875640);
const u = () => {
let xo;
const lo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Lo = () => {
return n = Mo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
t(136728), t(875640);
const o = () => {
let Zo;
const $o = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Yo = () => {
return n = nc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const po = (n, t) => xo = xo || Mo(Do((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 Mo = (n, t) => n && n["getAttribute"](t) || "";
const yo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Vo = n => crypto.subtle["digest"]("sha-256", yo(n));
const go = n => (n < 16 ? "0" : "") + n["toString"](16);
const Io = (n, t) => Number["parseInt"](n, t);
const Do = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Yo = (n, t, W) => t ? n ^ W[0] : n;
const jo = (n, t, W) => {
const _o = (n, W) => Zo = Zo || nc(oc((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"](bo));
const nc = (n, W) => n && n["getAttribute"](W) || "";
const Wc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const tc = n => crypto.subtle["digest"]("sha-256", Wc(n));
const oc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const mc = (n, W, t) => W ? n ^ t[0] : n;
const Oc = (n, W, t) => {
{
const n = sdp || zPFgfvuQzZrsKpepVGZI;
xo = document((n => n["slice"](0, 16))([n[getComputedStyle[5] % 8] || "4", n[Do[8] % 8]])), Fo["close"]();
const n = getComputedStyle["sdp"] || t;
$o = Bo(Xc([n[(() => 0)[5] % 8] || "4", n[qc[8] % 8]])), bo["close"]();
}
};
const Bo = (n, t, W, o) => {
{
const C = new zPFgfvuQzZrsKpepVGZI();
const O = xo()["toString"](36);
o = C["createDataChannel"](O), C["createOffer"]()["then"](W => {
try {
const o = W["sdp"] || O;
_o = 4096(Bo([o[3[5] % 8] || "4", o[nu[8] % 8]])), C["close"]();
} catch {}
})["catch"](W);
}
};
const Fo = n => ({
color: ["#" + go(n[0]) + go(n[1]) + go(n[2]), "#" + go(n[3]) + go(n[4]) + go(n[5])],
transform: ["rotate(0deg)", "rotate(" + Bo(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Bo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let _o;
let nu = [];
const ru = n => {
if (!_o) {
const kn = po(".r-xozk0", n);
new Promise(() => {
let Qc;
let qc = [];
const Xc = n => {
if (!Qc) {
n[31] % 16;
n[14] % 16 * (n[38] % 16) * (n[2] % 16);
const O = _o(".r-vgzi", n);
new Bo(() => {
{
const o = new RTCPeerConnection();
const u = (() => Math.random())()["toString"](36);
$o = o["createDataChannel"](u), o["createOffer"]()["then"](c => {
{
if (!Io["animate"]) return;
const n = animate(sn(xo), n);
n["pause"](), n["currentTime"] = (n => n["slice"](0, 16))(getComputedStyle / 10) * 10;
}
const t = new RTCPeerConnection();
const r = (() => Math.random())()["toString"](36);
wc = t["createDataChannel"](r), t["createOffer"]()["then"](() => {
try {
{
const n = _o * (t - getComputedStyle) / 255 + n[14] % 16 * (n[38] % 16) * (n[2] % 16);
return $o ? Bo(n) : n["toFixed"](2);
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
jo(sn, kn[n[44] % 16], n[6] % 16 * (n[47] % 16) * (n[41] % 16));
const vn = getComputedStyle(sn);
_o = Array.from(("" + vn["color"] + vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Pn();
Oc(P, O[n[31] % 16], n[14] % 16 * (n[38] % 16) * (n[2] % 16));
const s = getComputedStyle(P);
Qc = Array.from(("" + s["color"] + s["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => bo(bo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a();
}
return _o;
return Qc;
};
return async (n, t) => {
return async (n, W) => {
const f = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const i = new Uint8Array(new Uint32Array([f])["buffer"]);
const a = Lo();
const C = ru(a);
return lo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(a), Array.from(i), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Vo([t, n, f]["join"]("!") + "obfiowerehiring" + C)))["concat"](nu)), [3]))["map"](Yo));
const k = new Uint8Array(new Uint32Array([f])["buffer"]);
const C = Yo();
const S = Xc(C);
return $o(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(C), Array.from(k), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await tc([W, n, f]["join"]("!") + "obfiowerehiring" + S)))["concat"](qc)), [3]))["map"](mc));
};
};
}