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
8e51996969
commit
a8c4d9d2d3
2 changed files with 124 additions and 115 deletions
139
output/a.js
139
output/a.js
|
|
@ -1,90 +1,95 @@
|
||||||
"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, r) => {
|
||||||
t.r(W), t.d(W, {
|
r.r(t), r.d(t, {
|
||||||
default: () => o
|
default: () => W
|
||||||
});
|
});
|
||||||
t(136728), t(875640);
|
r(136728), r(875640);
|
||||||
const o = () => {
|
const W = () => {
|
||||||
const [yr, Br] = [document, window],
|
const [SW, qW] = [document, window],
|
||||||
[lr, Lr, Fr, gr, pr, Hr, Zr, Tr, xr, Dr, jr, Ur, zr] = [Br["Number"], Br["TextEncoder"], Br["Uint8Array"], n => yr["querySelectorAll"](n), Br["Date"], Br["Uint32Array"], Br["crypto"]["subtle"], Br["Array"]["from"], Br["Math"], Br["RTCPeerConnection"], Br["Promise"], Br["Function"], Br["getComputedStyle"]];
|
[PW, vW, hW, GW, HW, bW, OW, pW, QW, wW, LW, NW, lW] = [qW["Number"], qW["TextEncoder"], qW["Uint8Array"], n => SW["querySelectorAll"](n), qW["Date"], qW["Uint32Array"], qW["crypto"]["subtle"], qW["Array"]["from"], qW["Math"], qW["RTCPeerConnection"], qW["Promise"], qW["Function"], qW["getComputedStyle"]];
|
||||||
let Er;
|
let UW;
|
||||||
const Yr = n => new Fr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
const jW = n => new hW(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
||||||
$r = n => btoa(Tr(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
yW = n => btoa(pW(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
_r = () => Yr(Wo(gr("[name^=tw]")[0], "content")),
|
JW = () => jW(xW(GW("[name^=tw]")[0], "content")),
|
||||||
no = (n, W) => Er = Er || Wo(uo(gr(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](lr)),
|
BW = (n, t) => UW = UW || xW(zW(GW(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](PW)),
|
||||||
Wo = (n, W) => n && n["getAttribute"](W) || "",
|
xW = (n, t) => n && n["getAttribute"](t) || "",
|
||||||
to = n => typeof n == "string" ? new Lr()["encode"](n) : n,
|
VW = n => typeof n == "string" ? new vW()["encode"](n) : n,
|
||||||
ro = n => Zr["digest"]("sha-256", to(n)),
|
DW = n => OW["digest"]("sha-256", VW(n)),
|
||||||
oo = n => (n < 16 ? "0" : "") + n["toString"](16),
|
gW = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
co = (n, W) => lr["parseInt"](n, W),
|
zW = n => pW(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
uo = n => Tr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
XW = () => {
|
||||||
eo = () => {
|
|
||||||
{
|
{
|
||||||
const n = yr["createElement"]("div");
|
const t = SW[function (n, t, r, c, W) {
|
||||||
return yr["body"]["append"](n), [n, () => uo([n])];
|
return ZW(W, c - 1266);
|
||||||
|
}(0, 0, 0, 955, "of(H") + "eElem" + "ent"]("div");
|
||||||
|
return SW["body"]["append"](t), [t, () => zW([t])];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
const n = Zr["sdp"] || Ur;
|
const c = qW["sdp"] || NW;
|
||||||
io = ro(mkdKPJFhNDDZCAosamhC([n[Co[5] % 8] || "4", n[Lr[8] % 8]])), ho["close"]();
|
Wo = jW(uo([c[ro[5] % 8] || "4", c[MW[8] % 8]])), JW["close"]();
|
||||||
}
|
}
|
||||||
var u, e;
|
|
||||||
},
|
},
|
||||||
[io, fo, ao, so, Co] = [n => xr["round"](n), n => xr["floor"](n), () => xr["random"](), n => n["slice"](0, 16), () => 0],
|
[EW, MW, TW, AW, FW] = [n => QW["round"](n), n => QW["floor"](n), () => QW["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
[So, mo, ko] = [3, 1682924400, 2 ** (4 * 3)],
|
[YW, $W, _W] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
vo = (n, W, t) => W ? n ^ t[0] : n,
|
no = (n, t, r) => t ? n ^ r[0] : n,
|
||||||
Qo = (n, W, t) => {
|
to = (n, t, r) => {
|
||||||
const o = {};
|
|
||||||
o["YSjvt"] = "div";
|
|
||||||
const c = o;
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Ro(W), ko);
|
const c = n["animate"](co(t), _W);
|
||||||
r["pause"](), r["currentTime"] = io(t / 10) * 10;
|
c["pause"](), c["currentTime"] = EW(r / 10) * 10;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Go = (n, W, t, o) => {
|
ro = (n, t, r, c) => {
|
||||||
try {
|
const u = {};
|
||||||
const n = mo["sdp"] || Er;
|
u["wPGFJ"] = "div";
|
||||||
Yr = Br(vo([n[co[5] % 8] || "4", n[Qo[8] % 8]])), So["close"]();
|
const k = u;
|
||||||
} catch {}
|
{
|
||||||
var k, v;
|
const W = n * (r - t) / 255 + t;
|
||||||
|
return c ? MW(W) : W["toFixed"](2);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Ro = n => ({
|
co = n => ({
|
||||||
color: ["#" + oo(n[0]) + oo(n[1]) + oo(n[2]), "#" + oo(n[3]) + oo(n[4]) + oo(n[5])],
|
color: ["#" + gW(n[0]) + gW(n[1]) + gW(n[2]), "#" + gW(n[3]) + gW(n[4]) + gW(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + Go(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + ro(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Tr(n["slice"](7))["map"]((n, W) => Go(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + pW(n["slice"](7))["map"]((n, t) => ro(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let ho,
|
let Wo,
|
||||||
Po,
|
oo,
|
||||||
Oo = [];
|
uo = [];
|
||||||
const Vo = n => {
|
const eo = n => {
|
||||||
if (!ho) {
|
if (!Wo) {
|
||||||
const [O, V] = [n[3] % 16, n[43] % 16 * (n[13] % 16) * (n[17] % 16)],
|
const [t, r] = [n[1] % 16, n[13] % 16 * (n[4] % 16) * (n[26] % 16)],
|
||||||
J = no(".r-1g1d40", n);
|
qn = dhUwbrOwDhuapqippVeQ[Rn(1092, 1086, "#8tf", 1e3, 1031)](BW, ".r-132j00", n);
|
||||||
new jr(() => {
|
new LW(() => {
|
||||||
{
|
{
|
||||||
if (!Hr["animate"]) return;
|
const r = new wW(),
|
||||||
const n = Zr["animate"](Ur(io), ro);
|
c = TW()["toString"](36);
|
||||||
n["pause"](), n["currentTime"] = q(Co / 10) * 10;
|
oo = r["createDataChannel"](c), r["createOffer"]()["then"](_ => {
|
||||||
|
{
|
||||||
|
if (!FW["animate"]) return;
|
||||||
|
const t = n["animate"](NW(Wo), jW);
|
||||||
|
t["pause"](), t["currentTime"] = uo(ro / 10) * 10;
|
||||||
|
}
|
||||||
|
})["catch"](FW);
|
||||||
}
|
}
|
||||||
})["catch"](Co);
|
})["catch"](FW);
|
||||||
const [M, q] = eo();
|
const [Pn, vn] = XW();
|
||||||
Qo(M, J[O], V);
|
to(Pn, qn[t], r);
|
||||||
const N = zr(M);
|
const hn = lW(Pn);
|
||||||
ho = Tr(("" + N["color"] + N["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => lr(lr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), q();
|
Wo = pW(("" + hn["color"] + hn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => PW(PW(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), vn();
|
||||||
}
|
}
|
||||||
return ho;
|
return Wo;
|
||||||
};
|
};
|
||||||
return async (n, W) => {
|
return async (n, t) => {
|
||||||
const o = fo((pr["now"]() - mo * 1e3) / 1e3),
|
const f = MW((HW["now"]() - $W * 1e3) / 1e3),
|
||||||
c = new Fr(new Hr([o])["buffer"]),
|
d = new hW(new bW([f])["buffer"]),
|
||||||
u = _r(),
|
k = JW(),
|
||||||
e = Vo(u);
|
s = eo(k);
|
||||||
return $r(new Fr([ao() * 256]["concat"](Tr(u), Tr(c), so(Tr(new Fr(await ro([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](Oo)), [So]))["map"](vo));
|
return yW(new hW([TW() * 256]["concat"](pW(k), pW(d), AW(pW(new hW(await DW([t, n, f]["join"]("!") + "obfiowerehiring" + s)))["concat"](uo)), [YW]))["map"](no));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.5bd9002a.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.3233396a.js.map
|
||||||
100
output/b.js
100
output/b.js
|
|
@ -1,67 +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, W, t) => {
|
227900: (n, t, r) => {
|
||||||
t.r(W), t.d(W, {
|
r.r(t), r.d(t, {
|
||||||
default: () => o
|
default: () => W
|
||||||
});
|
});
|
||||||
t(136728), t(875640);
|
r(136728), r(875640);
|
||||||
const o = () => {
|
const W = () => {
|
||||||
let Er;
|
let UW;
|
||||||
const Yr = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const jW = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const $r = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const yW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const _r = () => Yr(Wo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
const JW = () => jW(xW((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||||
const no = (n, W) => Er = Er || Wo(uo((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"](Number));
|
const BW = (n, t) => UW = UW || xW(zW((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 Wo = (n, W) => n && n["getAttribute"](W) || "";
|
const xW = (n, t) => n && n["getAttribute"](t) || "";
|
||||||
const to = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const VW = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const ro = n => crypto.subtle["digest"]("sha-256", to(n));
|
const DW = n => crypto.subtle["digest"]("sha-256", VW(n));
|
||||||
const oo = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const gW = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const co = (n, W) => Number["parseInt"](n, W);
|
const zW = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const uo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const no = (n, t, r) => t ? n ^ r[0] : n;
|
||||||
const io = n => Math.round(n);
|
const to = (n, t, r) => {
|
||||||
const vo = (n, W, t) => W ? n ^ t[0] : n;
|
|
||||||
const Qo = (n, W, t) => {
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Ro(W), 4096);
|
const c = n["animate"](co(t), 4096);
|
||||||
r["pause"](), r["currentTime"] = io(t / 10) * 10;
|
c["pause"](), c["currentTime"] = (n => Math.round(n))(r / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Go = (n, W, t, o) => {
|
const ro = (n, t, r, c) => {
|
||||||
try {
|
{
|
||||||
const n = 1682924400["sdp"] || Er;
|
const W = n * (r - t) / 255 + t;
|
||||||
Yr = window(vo([n[co[5] % 8] || "4", n[Qo[8] % 8]])), 3["close"]();
|
return c ? (n => Math.floor(n))(W) : W["toFixed"](2);
|
||||||
} catch {}
|
}
|
||||||
};
|
};
|
||||||
const Ro = n => ({
|
const co = n => ({
|
||||||
color: ["#" + oo(n[0]) + oo(n[1]) + oo(n[2]), "#" + oo(n[3]) + oo(n[4]) + oo(n[5])],
|
color: ["#" + gW(n[0]) + gW(n[1]) + gW(n[2]), "#" + gW(n[3]) + gW(n[4]) + gW(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + Go(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + ro(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => Go(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => ro(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let ho;
|
let Wo;
|
||||||
let Oo = [];
|
let uo = [];
|
||||||
const Vo = n => {
|
const eo = n => {
|
||||||
if (!ho) {
|
if (!Wo) {
|
||||||
const J = no(".r-1g1d40", n);
|
const qn = dhUwbrOwDhuapqippVeQ[Rn(1092, 1086, "#8tf", 1e3, 1031)](BW, ".r-132j00", n);
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
if (!Uint32Array["animate"]) return;
|
const r = new RTCPeerConnection();
|
||||||
const n = crypto.subtle["animate"](Function(io), ro);
|
const c = (() => Math.random())()["toString"](36);
|
||||||
n["pause"](), n["currentTime"] = q((() => 0) / 10) * 10;
|
oo = r["createDataChannel"](c), r["createOffer"]()["then"](_ => {
|
||||||
|
{
|
||||||
|
if (!(() => 0)["animate"]) return;
|
||||||
|
const t = n["animate"](Function(Wo), jW);
|
||||||
|
t["pause"](), t["currentTime"] = uo(ro / 10) * 10;
|
||||||
|
}
|
||||||
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
Qo(M, J[n[3] % 16], n[43] % 16 * (n[13] % 16) * (n[17] % 16));
|
to(Pn, qn[n[1] % 16], n[13] % 16 * (n[4] % 16) * (n[26] % 16));
|
||||||
const N = getComputedStyle(M);
|
const hn = getComputedStyle(Pn);
|
||||||
ho = Array.from(("" + N["color"] + N["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), q();
|
Wo = Array.from(("" + hn["color"] + hn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), vn();
|
||||||
}
|
}
|
||||||
return ho;
|
return Wo;
|
||||||
};
|
};
|
||||||
return async (n, W) => {
|
return async (n, t) => {
|
||||||
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const f = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const c = new Uint8Array(new Uint32Array([o])["buffer"]);
|
const d = new Uint8Array(new Uint32Array([f])["buffer"]);
|
||||||
const u = _r();
|
const k = JW();
|
||||||
const e = Vo(u);
|
const s = eo(k);
|
||||||
return $r(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(u), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await ro([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](Oo)), [3]))["map"](vo));
|
return yW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(k), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await DW([t, n, f]["join"]("!") + "obfiowerehiring" + s)))["concat"](uo)), [3]))["map"](no));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue