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-02-27 22:05:49 +00:00
parent ef81257b14
commit 3dc411e3f2
2 changed files with 117 additions and 119 deletions

View file

@ -1,107 +1,92 @@
"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, W) => { 227900: (n, r, t) => {
W.r(r), W.d(r, { t.r(r), t.d(r, {
default: () => c default: () => c
}); });
W(136728), W(875640); t(136728), t(875640);
const c = () => { const c = () => {
const [Jt, Lt] = [document, window], const [vo, Mo] = [document, window],
[gt, Zt, Vt, Xt, Dt, xt, Tt, Bt, jt, Et, Mt, Yt, Ut] = [Lt["Number"], Lt["TextEncoder"], Lt["Uint8Array"], n => Jt["querySelectorAll"](n), Lt["Date"], Lt["Uint32Array"], Lt["crypto"]["subtle"], Lt["Array"]["from"], Lt["Math"], Lt["RTCPeerConnection"], Lt["Promise"], Lt["Function"], Lt["getComputedStyle"]]; [Xo, Ko, jo, yo, Jo, Lo, Qo, go, Bo, Fo, Zo, lo, Vo] = [Mo["Number"], Mo["TextEncoder"], Mo["Uint8Array"], n => vo["querySelectorAll"](n), Mo["Date"], Mo["Uint32Array"], Mo["crypto"]["subtle"], Mo["Array"]["from"], Mo["Math"], Mo["RTCPeerConnection"], Mo["Promise"], Mo["Function"], Mo["getComputedStyle"]];
let $t; let Io;
const nc = n => new Vt(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))), const Ao = n => new jo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
rc = n => btoa(Bt(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), xo = n => btoa(go(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
Wc = () => nc(cc(Xt("[name^=tw]")[0], "content")), Do = () => Ao(To(yo("[name^=tw]")[0], "content")),
tc = (n, r) => $t = $t || cc(fc(Xt(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](gt)), wo = (n, r) => Io = Io || To(Yo(yo(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Xo)),
cc = (n, r) => n && n["getAttribute"](r) || "", To = (n, r) => n && n["getAttribute"](r) || "",
uc = n => typeof n == "string" ? new Zt()["encode"](n) : n, Ho = n => typeof n == "string" ? new Ko()["encode"](n) : n,
oc = n => Tt["digest"]("sha-256", uc(n)), No = n => Qo["digest"]("sha-256", Ho(n)),
ec = n => (n < 16 ? "0" : "") + n["toString"](16), zo = n => (n < 16 ? "0" : "") + n["toString"](16),
dc = (n, r) => gt["parseInt"](n, r), Yo = n => go(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
fc = n => Bt(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), Eo = () => {
ic = () => {
{
const n = Jt["createElement"]("div");
return Jt["body"]["append"](n), [n, () => fc([n])];
}
{
if (!Ic["animate"]) return;
const n = uc["animate"](dc(Tt), FEHtYyOxzjBtlecBrHnL);
n["pause"](), n["currentTime"] = Rc(Cc / 10) * 10;
}
},
[kc, ac, sc, Cc, Oc] = [n => jt["round"](n), n => jt["floor"](n), () => jt["random"](), n => n["slice"](0, 16), () => 0],
[Rc, mc, Qc] = [3, 1682924400, 2 ** (4 * 3)],
Sc = (n, r, W) => r ? n ^ W[0] : n,
Gc = (n, r, W) => {
{
const n = kc * (Ic - uc) / 255 + dc;
return Tt ? W(n) : n["toFixed"](2);
}
{
if (!n["animate"]) return;
const t = n["animate"](qc(r), Qc);
t["pause"](), t["currentTime"] = kc(W / 10) * 10;
}
},
Ic = (n, r, W, c) => {
{
const t = n * (W - r) / 255 + r;
return c ? ac(t) : t["toFixed"](2);
}
{
const n = uc["sdp"] || dc;
Tt = W(Rc([n[Cc[5] % 8] || "4", n[c[8] % 8]])), nc["close"]();
}
var R, m, Q, S, G;
},
qc = n => ({
color: ["#" + ec(n[0]) + ec(n[1]) + ec(n[2]), "#" + ec(n[3]) + ec(n[4]) + ec(n[5])],
transform: ["rotate(0deg)", "rotate(" + Ic(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Bt(n["slice"](7))["map"]((n, r) => Ic(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
});
let yc,
Kc,
Hc = [];
const wc = n => {
if (!yc) {
const [r, A] = [n[41] % 16, n[6] % 16 * (n[27] % 16) * (n[16] % 16)],
z = tc(".r-k4qsgw", n);
new Mt(() => {
{
const n = Sc["createElement"]("div");
return Hc["body"]["append"](n), [n, () => n([n])];
}
{
const W = new Et(),
c = sc()["toString"](36);
Kc = W["createDataChannel"](c), W["createOffer"]()["then"](u => {
try { try {
{ const n = uc["sdp"] || nc;
const r = u["sdp"] || c; oc = go(sc([n[Wc[5] % 8] || "4", n[ec[8] % 8]])), xo["close"]();
Hc = Bt(uc([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
}
} catch {} } catch {}
})["catch"](Oc); },
[_o, $o, nc, rc, tc] = [n => Bo["round"](n), n => Bo["floor"](n), () => Bo["random"](), n => n["slice"](0, 16), () => 0],
[Wc, oc, cc] = [3, 1682924400, 2 ** (4 * 3)],
uc = (n, r, t) => r ? n ^ t[0] : n,
ec = (n, r, t) => {
{
if (!Ko["animate"]) return;
const n = vo["animate"](ic(r), t);
n["pause"](), n["currentTime"] = Lo($o / 10) * 10;
} }
})["catch"](Oc); },
const [F, V] = ic(); ic = (n, r, t, W) => {
Gc(F, z[r], A); {
const X = Ut(F); const n = vo["sdp"] || ic;
yc = Bt(("" + X["color"] + X["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => gt(gt(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), V(); r = t(Lo([n[$o[5] % 8] || "4", n[Do[8] % 8]])), Fo["close"]();
} }
return yc; },
fc = n => ({
color: ["#" + zo(n[0]) + zo(n[1]) + zo(n[2]), "#" + zo(n[3]) + zo(n[4]) + zo(n[5])],
transform: ["rotate(0deg)", "rotate(" + ic(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + go(n["slice"](7))["map"]((n, r) => ic(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
});
let ac,
Cc,
sc = [];
const Sc = n => {
if (!ac) {
const [m, q] = [n[18] % 16, n[4] % 16 * (n[15] % 16) * (n[5] % 16)],
p = wo(".r-4972d0", n);
new Zo(() => {
{
const r = new Fo(),
t = nc()["toString"](36);
Cc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
{
const c = new ic(),
u = m()["toString"](36);
q = c["createDataChannel"](u), c["createOffer"]()["then"](e => {
try {
const i = e["sdp"] || u;
xo = jo(O([i[n[5] % 8] || "4", i[Vo[8] % 8]])), c["close"]();
} catch {}
var d, k, a;
})["catch"](nc);
}
})["catch"](tc);
}
})["catch"](tc);
const [O, G] = Eo();
ec(O, p[m], q);
const M = Vo(O);
ac = go(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Xo(Xo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), G();
}
return ac;
}; };
return async (n, r) => { return async (n, r) => {
const c = ac((Dt["now"]() - mc * 1e3) / 1e3), const c = $o((Jo["now"]() - oc * 1e3) / 1e3),
u = new Vt(new xt([c])["buffer"]), u = new jo(new Lo([c])["buffer"]),
o = Wc(), e = Do(),
e = wc(o); i = Sc(e);
return rc(new Vt([sc() * 256]["concat"](Bt(o), Bt(u), Cc(Bt(new Vt(await oc([r, n, c]["join"]("!") + "obfiowerehiring" + e)))["concat"](Hc)), [Rc]))["map"](Sc)); return xo(new jo([nc() * 256]["concat"](go(e), go(u), rc(go(new jo(await No([r, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](sc)), [Wc]))["map"](uc));
var k, a;
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.e105626a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.3a6ccc0a.js.map

View file

@ -1,58 +1,71 @@
"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, W) => { 227900: (n, r, t) => {
W.r(r), W.d(r, { t.r(r), t.d(r, {
default: () => c default: () => c
}); });
W(136728), W(875640); t(136728), t(875640);
const c = () => { const c = () => {
let $t; let Io;
const nc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); const Ao = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const rc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const xo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Wc = () => nc(cc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content")); const Do = () => Ao(To((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const tc = (n, r) => $t = $t || cc(fc((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 wo = (n, r) => Io = Io || To(Yo((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 cc = (n, r) => n && n["getAttribute"](r) || ""; const To = (n, r) => n && n["getAttribute"](r) || "";
const uc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const Ho = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const oc = n => Tt["digest"]("sha-256", uc(n)); const No = n => crypto.subtle["digest"]("sha-256", Ho(n));
const dc = (n, r) => Number["parseInt"](n, r); const Yo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const fc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const uc = (n, r, t) => r ? n ^ t[0] : n;
const Sc = (n, r, W) => r ? n ^ W[0] : n; const ec = (n, r, t) => {
const Gc = (n, r, W) => {
{ {
const n = (n => Math.round(n)) * (Ic - uc) / 255 + dc; if (!TextEncoder.animate) return;
return Tt ? W(n) : n["toFixed"](2); const n = document.animate(ic(r), t);
n["pause"](), n["currentTime"] = Uint32Array((n => Math.floor(n)) / 10) * 10;
} }
}; };
const Ic = (n, r, W, c) => { const ic = (n, r, t, W) => {
{ {
const t = n * (W - r) / 255 + r; const n = document.sdp || ic;
return c ? (n => Math.floor(n))(t) : t["toFixed"](2); r = t(Uint32Array([n[(n => Math.floor(n))[5] % 8] || "4", n[Do[8] % 8]])), RTCPeerConnection.close();
} }
}; };
let yc; let ac;
let Hc = []; let sc = [];
const wc = n => { const Sc = n => {
if (!yc) { if (!ac) {
const z = tc(".r-k4qsgw", n); const q = n[4] % 16 * (n[15] % 16) * (n[5] % 16);
const p = wo(".r-4972d0", n);
new Promise(() => { new Promise(() => {
{ {
const n = Sc["createElement"]("div"); const r = new RTCPeerConnection();
return Hc["body"]["append"](n), [n, () => n([n])]; const t = (() => Math.random())()["toString"](36);
Cc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
{
const c = new ic();
const u = (n[18] % 16)()["toString"](36);
q = c["createDataChannel"](u), c["createOffer"]()["then"](e => {
try {
const i = e["sdp"] || u;
xo = Uint8Array(O([i[n[5] % 8] || "4", i[getComputedStyle[8] % 8]])), c["close"]();
} catch {}
})["catch"](() => Math.random());
} }
})["catch"](() => 0); })["catch"](() => 0);
Gc(F, z[n[41] % 16], n[6] % 16 * (n[27] % 16) * (n[16] % 16));
const X = getComputedStyle(F);
yc = Array.from(("" + X["color"] + X["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), V();
} }
return yc; })["catch"](() => 0);
ec(O, p[n[18] % 16], q);
const M = getComputedStyle(O);
ac = Array.from(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), G();
}
return ac;
}; };
return async (n, r) => { return async (n, r) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([c])["buffer"]); const u = new Uint8Array(new Uint32Array([c])["buffer"]);
const o = Wc(); const e = Do();
const e = wc(o); const i = Sc(e);
return rc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await oc([r, n, c]["join"]("!") + "obfiowerehiring" + e)))["concat"](Hc)), [3]))["map"](Sc)); return xo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await No([r, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](sc)), [3]))["map"](uc));
}; };
}; };
} }