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:
parent
246ef80665
commit
e8430957b4
2 changed files with 145 additions and 111 deletions
151
output/a.js
151
output/a.js
|
|
@ -1,84 +1,107 @@
|
||||||
"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, t, W) => {
|
227900: (n, W, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(W), t.d(W, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
const [Lr, Tr] = [document, window],
|
const [Mc, Yc] = [document, window],
|
||||||
[Jr, Kr, Nr, Dr, Vr, Xr, br, gr, Zr, Mr, Hr, Ur, Fr] = [Tr["Number"], Tr["TextEncoder"], Tr["Uint8Array"], n => Lr["querySelectorAll"](n), Tr["Date"], Tr["Uint32Array"], Tr["crypto"]["subtle"], Tr["Array"]["from"], Tr["Math"], Tr["RTCPeerConnection"], Tr["Promise"], Tr["Function"], Tr["getComputedStyle"]];
|
[Dc, jc, $c, _c, nr, Wr, tr, cr, rr, or, ur, er, dr] = [Yc["Number"], Yc["TextEncoder"], Yc["Uint8Array"], n => Mc["querySelectorAll"](n), Yc["Date"], Yc["Uint32Array"], Yc["crypto"]["subtle"], Yc["Array"]["from"], Yc["Math"], Yc["RTCPeerConnection"], Yc["Promise"], Yc["Function"], Yc["getComputedStyle"]];
|
||||||
let xr;
|
let ir;
|
||||||
const Yr = n => new Nr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
const fr = n => btoa(cr(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
Ar = n => btoa(gr(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
kr = () => {
|
||||||
$r = () => Yr(nc(Dr("[name^=tw]")[0], "content")),
|
return n = ar(_c("[name^=tw]")[0], "content"), new $c(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
_r = (n, t) => xr = xr || nc(uc(Dr(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Jr)),
|
var n;
|
||||||
nc = (n, t) => n && n["getAttribute"](t) || "",
|
|
||||||
tc = n => typeof n == "string" ? new Kr()["encode"](n) : n,
|
|
||||||
Wc = n => br["digest"]("sha-256", tc(n)),
|
|
||||||
rc = n => (n < 16 ? "0" : "") + n["toString"](16),
|
|
||||||
cc = (n, t) => Jr["parseInt"](n, t),
|
|
||||||
uc = n => gr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
|
||||||
oc = () => {
|
|
||||||
{
|
|
||||||
if (!Yr["animate"]) return;
|
|
||||||
const n = Tr["animate"](Xr(Pc), uc);
|
|
||||||
n["pause"](), n["currentTime"] = Jr(Fr / 10) * 10;
|
|
||||||
}
|
|
||||||
var O, R;
|
|
||||||
},
|
},
|
||||||
[ec, dc, fc, kc, ic] = [n => Zr["round"](n), n => Zr["floor"](n), () => Zr["random"](), n => n["slice"](0, 16), () => 0],
|
sr = (n, W) => ir = ir || ar(Cr(_c(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Dc)),
|
||||||
[Pc, Sc, ac] = [3, 1682924400, 2 ** (4 * 3)],
|
ar = (n, W) => n && n["getAttribute"](W) || "",
|
||||||
Oc = (n, t, W) => t ? n ^ W[0] : n,
|
Pr = n => typeof n == "string" ? new jc()["encode"](n) : n,
|
||||||
Rc = (n, t, W) => {
|
Sr = n => tr["digest"]("sha-256", Pr(n)),
|
||||||
|
vr = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
|
Cr = n => cr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
|
Rr = () => {
|
||||||
|
const c = {};
|
||||||
|
c["VlyfI"] = "div";
|
||||||
|
const u = c;
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
const n = Hr["createElement"](u["VlyfI"]);
|
||||||
const r = n["animate"](Cc(t), ac);
|
return $c["body"]["append"](n), [n, () => n([n])];
|
||||||
r["pause"](), r[function (n, t, W, r, c) {
|
}
|
||||||
return zr(0, 0, 0, c - 929, W);
|
{
|
||||||
}(0, 0, "hidd", 0, 728) + "ntTim" + "e"] = ec(W / 10) * 10;
|
const n = Mc["createElement"]("div");
|
||||||
|
return Mc["body"][(i = "OeFc", f = 73, Uc(0, f - 487, i) + "d")](n), [n, () => Cr([n])];
|
||||||
|
}
|
||||||
|
var i, f;
|
||||||
|
},
|
||||||
|
[Or, mr, Jr, Gr, wr] = [n => rr["round"](n), n => rr["floor"](n), () => rr["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
|
[xr, hr, Lr] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
|
Qr = (n, W, t) => W ? n ^ t[0] : n,
|
||||||
|
qr = (n, W, t) => {
|
||||||
|
{
|
||||||
|
if (!tr["animate"]) return;
|
||||||
|
const n = W["animate"](gr(Lr), _c);
|
||||||
|
n["pause"](), n["currentTime"] = Gr(er / 10) * 10;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sc = (n, t, W, r) => {
|
Hr = (n, W, t, c) => {
|
||||||
{
|
{
|
||||||
const n = Tr["sdp"] || Xr;
|
const r = n * (t - W) / 255 + W;
|
||||||
Pc = uc(t([n[Fr[5] % 8] || "4", n[Vr[8] % 8]])), mc["close"]();
|
return c ? mr(r) : r["toFixed"](2);
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
const n = Yc["sdp"] || cr;
|
||||||
|
Yc = lr(Mc([n[Or[5] % 8] || "4", n[sr[8] % 8]])), qr["close"]();
|
||||||
|
} catch {}
|
||||||
|
var S, v;
|
||||||
},
|
},
|
||||||
Cc = n => ({
|
Kr = n => ({
|
||||||
color: ["#" + rc(n[0]) + rc(n[1]) + rc(n[2]), "#" + rc(n[3]) + rc(n[4]) + rc(n[5])],
|
color: ["#" + vr(n[0]) + vr(n[1]) + vr(n[2]), "#" + vr(n[3]) + vr(n[4]) + vr(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + sc(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Hr(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + gr(n["slice"](7))["map"]((n, t) => sc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + cr(n["slice"](7))["map"]((n, W) => Hr(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let mc,
|
let lr,
|
||||||
lc,
|
br,
|
||||||
hc = [];
|
gr = [];
|
||||||
const qc = n => {
|
const Zr = n => {
|
||||||
if (!mc) {
|
if (!lr) {
|
||||||
const [J, K] = [n[47] % 16, n[13] % 16 * (n[26] % 16) * (n[27] % 16)],
|
const [N, p] = [n[26] % 16, n[43] % 16 * (n[11] % 16) * (n[39] % 16)],
|
||||||
N = _r(".r-1rncm5", n);
|
X = sr(".r-e1sw", n);
|
||||||
new Hr(() => {
|
new ur(() => {
|
||||||
try {
|
{
|
||||||
const n = Tr["sdp"] || gr;
|
const q = new or(),
|
||||||
Nr = _r(ic([n[Kr[5] % 8] || "4", n[tc[8] % 8]])), Wc["close"]();
|
H = Jr()["toString"](36);
|
||||||
} catch {}
|
br = q["createDataChannel"](H), q["createOffer"]()["then"](K => {
|
||||||
})["catch"](ic);
|
{
|
||||||
const [D, V] = oc();
|
const R = new gr(),
|
||||||
Rc(D, N[J], K);
|
O = Lr()["toString"](36);
|
||||||
const X = Fr(D);
|
_c = R["createDataChannel"](O), R["createOffer"]()["then"](t => {
|
||||||
mc = gr(("" + X["color"] + X["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Jr(Jr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), V();
|
try {
|
||||||
|
const W = t["sdp"] || O;
|
||||||
|
qr = Kr(p([W[hr[5] % 8] || "4", W[jc[8] % 8]])), R["close"]();
|
||||||
|
} catch {}
|
||||||
|
var u, e;
|
||||||
|
})["catch"](cr);
|
||||||
|
}
|
||||||
|
})["catch"](wr);
|
||||||
|
}
|
||||||
|
})["catch"](wr);
|
||||||
|
const [U, E] = Rr();
|
||||||
|
qr(U, X[N], p);
|
||||||
|
const M = dr(U);
|
||||||
|
lr = cr(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Dc(Dc(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), E();
|
||||||
}
|
}
|
||||||
return mc;
|
return lr;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, W) => {
|
||||||
const d = dc((Vr["now"]() - Sc * 1e3) / 1e3),
|
const c = mr((nr["now"]() - hr * 1e3) / 1e3),
|
||||||
f = new Nr(new Xr([d])["buffer"]),
|
r = new $c(new Wr([c])["buffer"]),
|
||||||
k = $r(),
|
o = kr(),
|
||||||
i = qc(k);
|
u = Zr(o);
|
||||||
return Ar(new Nr([fc() * 256]["concat"](gr(k), gr(f), kc(gr(new Nr(await Wc([t, n, d]["join"]("!") + "obfiowerehiring" + i)))["concat"](hc)), [Pc]))["map"](Oc));
|
return fr(new $c([Jr() * 256]["concat"](cr(o), cr(r), Gr(cr(new $c(await Sr([W, n, c]["join"]("!") + "obfiowerehiring" + u)))["concat"](gr)), [xr]))["map"](Qr));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.4f9ee57a.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.37ec12ba.js.map
|
||||||
105
output/b.js
105
output/b.js
|
|
@ -1,66 +1,77 @@
|
||||||
"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, t, W) => {
|
227900: (n, W, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(W), t.d(W, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
let xr;
|
let ir;
|
||||||
const Yr = n => new Nr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const fr = n => btoa(Yc["Array"]["from"](n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const Ar = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const kr = () => {
|
||||||
const $r = () => Yr(nc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
return n = ar(_c("[name^=tw]")[0], "content"), new Yc["Uint8Array"](atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const _r = (n, t) => xr = xr || nc(uc((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 nc = (n, t) => n && n["getAttribute"](t) || "";
|
const sr = (n, W) => ir = ir || ar(Cr(_c(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Yc["Number"]));
|
||||||
const tc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const ar = (n, W) => n && n["getAttribute"](W) || "";
|
||||||
const Wc = n => crypto.subtle["digest"]("sha-256", tc(n));
|
const Pr = n => typeof n == "string" ? new Yc["TextEncoder"]()["encode"](n) : n;
|
||||||
const rc = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const Sr = n => Yc["crypto"]["subtle"]["digest"]("sha-256", Pr(n));
|
||||||
const uc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const vr = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const Oc = (n, t, W) => t ? n ^ W[0] : n;
|
const Cr = n => Yc["Array"]["from"](n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const Rc = (n, t, W) => {
|
const Qr = (n, W, t) => W ? n ^ t[0] : n;
|
||||||
|
const qr = (n, W, t) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!Yc["crypto"]["subtle"]["animate"]) return;
|
||||||
const r = n["animate"](Cc(t), 4096);
|
const n = W["animate"](gr(4096), _c);
|
||||||
r["pause"](), r[function (n, t, W, r, c) {
|
n["pause"](), n["currentTime"] = (n => n["slice"](0, 16))(Yc["Function"] / 10) * 10;
|
||||||
return zr(0, 0, 0, c - 929, W);
|
|
||||||
}(0, 0, "hidd", 0, 728) + "ntTime"] = (n => Math.round(n))(W / 10) * 10;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const sc = (n, t, W, r) => {
|
const Hr = (n, W, t, c) => {
|
||||||
{
|
{
|
||||||
const n = sdp || Uint32Array;
|
const r = n * (t - W) / 255 + W;
|
||||||
Pc = uc(t([n[getComputedStyle[5] % 8] || "4", n[Date[8] % 8]])), mc["close"]();
|
return c ? (n => Yc["Math"]["floor"](n))(r) : r["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Cc = n => ({
|
const Kr = n => ({
|
||||||
color: ["#" + rc(n[0]) + rc(n[1]) + rc(n[2]), "#" + rc(n[3]) + rc(n[4]) + rc(n[5])],
|
color: ["#" + vr(n[0]) + vr(n[1]) + vr(n[2]), "#" + vr(n[3]) + vr(n[4]) + vr(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + sc(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Hr(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => sc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Yc["Array"]["from"](n["slice"](7))["map"]((n, W) => Hr(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let mc;
|
let lr;
|
||||||
let hc = [];
|
let gr = [];
|
||||||
const qc = n => {
|
const Zr = n => {
|
||||||
if (!mc) {
|
if (!lr) {
|
||||||
const N = _r(".r-1rncm5", n);
|
const X = sr(".r-e1sw", n);
|
||||||
new Promise(() => {
|
new Yc["Promise"](() => {
|
||||||
try {
|
{
|
||||||
const n = sdp || Array.from;
|
const q = new Yc["RTCPeerConnection"]();
|
||||||
Nr = _r((() => 0)([n[TextEncoder[5] % 8] || "4", n[tc[8] % 8]])), Wc["close"]();
|
const H = (() => Yc["Math"]["random"]())()["toString"](36);
|
||||||
} catch {}
|
br = q["createDataChannel"](H), q["createOffer"]()["then"](K => {
|
||||||
|
{
|
||||||
|
const R = new gr();
|
||||||
|
const O = 4096()["toString"](36);
|
||||||
|
_c = R["createDataChannel"](O), R["createOffer"]()["then"](t => {
|
||||||
|
try {
|
||||||
|
const W = t["sdp"] || O;
|
||||||
|
qr = Kr((n[43] % 16 * (n[11] % 16) * (n[39] % 16))([W[1682924400[5] % 8] || "4", W[Yc["TextEncoder"][8] % 8]])), R["close"]();
|
||||||
|
} catch {}
|
||||||
|
})["catch"](Yc["Array"]["from"]);
|
||||||
|
}
|
||||||
|
})["catch"](() => 0);
|
||||||
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
Rc(D, N[n[47] % 16], n[13] % 16 * (n[26] % 16) * (n[27] % 16));
|
qr(U, X[n[26] % 16], n[43] % 16 * (n[11] % 16) * (n[39] % 16));
|
||||||
const X = getComputedStyle(D);
|
const M = Yc["getComputedStyle"](U);
|
||||||
mc = Array.from(("" + X["color"] + X["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), V();
|
lr = Yc["Array"]["from"](("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Yc["Number"](Yc["Number"](n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), E();
|
||||||
}
|
}
|
||||||
return mc;
|
return lr;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, W) => {
|
||||||
const d = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const c = (n => Yc["Math"]["floor"](n))((Yc["Date"]["now"]() - 1682924400000) / 1e3);
|
||||||
const f = new Nr(new Uint32Array([d])["buffer"]);
|
const r = new Yc["Uint8Array"](new Yc["Uint32Array"]([c])["buffer"]);
|
||||||
const k = $r();
|
const o = kr();
|
||||||
const i = qc(k);
|
const u = Zr(o);
|
||||||
return Ar(new Nr([(() => Math.random())() * 256]["concat"](Array.from(k), Array.from(f), (n => n["slice"](0, 16))(Array.from(new Nr(await Wc([t, n, d]["join"]("!") + "obfiowerehiring" + i)))["concat"](hc)), [3]))["map"](Oc));
|
return fr(new Yc["Uint8Array"]([(() => Yc["Math"]["random"]())() * 256]["concat"](Yc["Array"]["from"](o), Yc["Array"]["from"](r), (n => n["slice"](0, 16))(Yc["Array"]["from"](new Yc["Uint8Array"](await Sr([W, n, c]["join"]("!") + "obfiowerehiring" + u)))["concat"](gr)), [3]))["map"](Qr));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue