1
Fork 0
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:
GitHub Action 2025-03-15 22:05:18 +00:00
parent d5674bf88c
commit 11b76cd292
2 changed files with 123 additions and 120 deletions

View file

@ -1,100 +1,96 @@
"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, W, t) => { 227900: (n, t, W) => {
t.r(W), t.d(W, { W.r(t), W.d(t, {
default: () => u default: () => u
}); });
t(136728), t(875640); W(136728), W(875640);
const u = () => { const u = () => {
const [Kr, jr] = [document, window], const [Co, Oo] = [document, window],
[Mr, Zr, Dr, Xr, Er, Ar, Yr, $r, _r, nc, Wc, tc, rc] = [jr["Number"], jr["TextEncoder"], jr["Uint8Array"], n => Kr["querySelectorAll"](n), jr["Date"], jr["Uint32Array"], jr["crypto"]["subtle"], jr["Array"]["from"], jr["Math"], jr["RTCPeerConnection"], jr["Promise"], jr["Function"], jr["getComputedStyle"]]; [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 cc; let xo;
const oc = n => btoa($r(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const lo = n => btoa(Jo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
ec = () => { Lo = () => {
return n = fc(Xr("[name^=tw]")[0], "content"), new Dr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = Mo(ko("[name^=tw]")[0], "content"), new Ro(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
dc = (n, W) => cc = cc || fc(Qc(Xr(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Mr)), 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)),
fc = (n, W) => n && n["getAttribute"](W) || "", Mo = (n, t) => n && n["getAttribute"](t) || "",
kc = n => typeof n == "string" ? new Zr()["encode"](n) : n, yo = n => typeof n == "string" ? new So()["encode"](n) : n,
ic = n => Yr["digest"]("sha-256", kc(n)), Vo = n => vo["digest"]("sha-256", yo(n)),
ac = n => (n < 16 ? "0" : "") + n["toString"](16), go = n => (n < 16 ? "0" : "") + n["toString"](16),
mc = (n, W) => Mr["parseInt"](n, W), Io = (n, t) => mo["parseInt"](n, t),
Qc = n => $r(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), Do = n => Jo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Cc = () => { To = () => {
{ {
const n = Kr["createElement"]("div"); const n = Co["createElement"]("div");
return Kr["body"]["append"](n), [n, () => Qc([n])]; 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"]();
} }
}, },
[Sc, Rc, Ic, Nc, Jc] = [n => _r["round"](n), n => _r["floor"](n), () => _r["random"](), n => n["slice"](0, 16), () => 0], Bo = (n, t, W, o) => {
[sc, qc, Gc] = [3, 1682924400, 2 ** (4 * 3)],
vc = (n, W, t) => W ? n ^ t[0] : n,
hc = (n, W, t) => {
{ {
if (!n["animate"]) return; const C = new zPFgfvuQzZrsKpepVGZI(),
const r = n["animate"](Tc(W), Gc); O = xo()["toString"](36);
r["pause"](), r["currentTime"] = Sc(t / 10) * 10; o = C["createDataChannel"](O), C["createOffer"]()["then"](W => {
}
var R, I;
},
Pc = (n, W, t, r) => {
{
const c = n * (t - W) / 255 + W;
return r ? Rc(c) : c["toFixed"](2);
}
{
const n = dc["sdp"] || ec;
Kr = Gc(Sc([n[jr[5] % 8] || "4", n[ic[8] % 8]])), wc["close"]();
}
},
Tc = n => ({
color: ["#" + ac(n[0]) + ac(n[1]) + ac(n[2]), "#" + ac(n[3]) + ac(n[4]) + ac(n[5])],
transform: ["rotate(0deg)", "rotate(" + Pc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + $r(n["slice"](7))["map"]((n, W) => Pc(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
});
let Oc,
wc,
Fc = [];
const xc = n => {
if (!Oc) {
const [p, l] = [n[26] % 16, n[10] % 16 * (n[32] % 16) * (n[0] % 16)],
O = dc(".r-8wczi", n);
new Wc(() => {
{
const W = new nc(),
r = Ic()["toString"](36);
wc = W["createDataChannel"](r), W["createOffer"]()["then"](t => {
{
const n = tc * (p - dc) / 255 + ec;
return n ? Gc(n) : n["toFixed"](2);
}
try { try {
{ const o = W["sdp"] || O;
if (!p["animate"]) return; _o = Uo(Bo([o[Ao[5] % 8] || "4", o[nu[8] % 8]])), C["close"]();
const n = dc["animate"](ec(w), Gc);
n["pause"](), n["currentTime"] = Sc(y / 10) * 10;
}
} catch {} } catch {}
})["catch"](Jc); })["catch"](W);
} }
})["catch"](Jc); var G, Q, w;
const [w, F] = Cc(); },
hc(w, O[p], l); Fo = n => ({
const y = rc(w); color: ["#" + go(n[0]) + go(n[1]) + go(n[2]), "#" + go(n[3]) + go(n[4]) + go(n[5])],
Oc = $r(("" + y["color"] + y["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Mr(Mr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), F(); 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"]() + ")"
});
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(() => {
{
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;
} }
return Oc; })["catch"](Eo);
}
})["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();
}
return _o;
}; };
return async (n, W) => { return async (n, t) => {
const e = Rc((Er["now"]() - qc * 1e3) / 1e3), const f = Ho((so["now"]() - Xo * 1e3) / 1e3),
d = new Dr(new Ar([e])["buffer"]), i = new Ro(new Po([f])["buffer"]),
f = ec(), a = Lo(),
k = xc(f); C = ru(a);
return oc(new Dr([Ic() * 256]["concat"]($r(f), $r(d), Nc($r(new Dr(await ic([W, n, e]["join"]("!") + "obfiowerehiring" + k)))["concat"](Fc)), [sc]))["map"](vc)); 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));
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.47f5837a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.d45c81ea.js.map

View file

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