mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 23:50:28 +01:00
Update deobfuscation
This commit is contained in:
parent
cc9bd577e4
commit
795f2359ef
2 changed files with 135 additions and 126 deletions
153
output/a.js
153
output/a.js
|
|
@ -1,100 +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: () => r
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const r = () => {
|
const c = () => {
|
||||||
const [Jo, Uo] = [document, window],
|
const [no, Wo] = [document, window],
|
||||||
[$o, _o, nr, tr, Wr, or, rr, ur, cr, er, fr, ir, dr] = [Uo["Number"], Uo["TextEncoder"], Uo["Uint8Array"], n => Jo["querySelectorAll"](n), Uo["Date"], Uo["Uint32Array"], Uo["crypto"]["subtle"], Uo["Array"]["from"], Uo["Math"], Uo["RTCPeerConnection"], Uo["Promise"], Uo["Function"], Uo["getComputedStyle"]];
|
[to, ro, oo, co, uo, eo, io, fo, ko, ao, mo, So, Ro] = [Wo["Number"], Wo["TextEncoder"], Wo["Uint8Array"], n => no["querySelectorAll"](n), Wo["Date"], Wo["Uint32Array"], Wo["crypto"]["subtle"], Wo["Array"]["from"], Wo["Math"], Wo["RTCPeerConnection"], Wo["Promise"], Wo["Function"], Wo["getComputedStyle"]];
|
||||||
let kr;
|
let Co;
|
||||||
const Pr = n => new nr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
const Oo = n => btoa(fo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
Cr = n => btoa(ur(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
Go = () => {
|
||||||
Sr = () => Pr(ar(tr("[name^=tw]")[0], "content")),
|
return n = Po(co("[name^=tw]")[0], "content"), new oo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
mr = (n, t) => kr = kr || ar(hr(tr(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"]($o)),
|
var n;
|
||||||
ar = (n, t) => n && n["getAttribute"](t) || "",
|
},
|
||||||
sr = n => typeof n == "string" ? new _o()["encode"](n) : n,
|
lo = (n, W) => Co = Co || Po(bo(co(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](to)),
|
||||||
Gr = n => rr["digest"]("sha-256", sr(n)),
|
Po = (n, W) => n && n["getAttribute"](W) || "",
|
||||||
lr = n => (n < 16 ? "0" : "") + n["toString"](16),
|
Lo = n => typeof n == "string" ? new ro()["encode"](n) : n,
|
||||||
hr = n => ur(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
vo = n => io["digest"]("sha-256", Lo(n)),
|
||||||
qr = () => {
|
po = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
|
Qo = (n, W) => to["parseInt"](n, W),
|
||||||
|
bo = n => fo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
|
ho = () => {
|
||||||
{
|
{
|
||||||
const n = Jo["createElement"]("div");
|
const r = no["createElement"]("div");
|
||||||
return Jo["body"]["append"](n), [n, () => hr([n])];
|
return no["body"][function (n, W, t, r, o) {
|
||||||
|
return Do(n - 319, W - 401, W - 939, r - 479, o);
|
||||||
|
}(894, 759, 0, 692, "mnK*") + "d"](r), [r, () => bo([r])];
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const n = mr["sdp"] || n;
|
const n = jeSsTvuWQlKDUmpzNJiy["sdp"] || no;
|
||||||
Rr = br(ur([n[yr[5] % 8] || "4", n[Ir[8] % 8]])), Cr["close"]();
|
Ko = mo(Qo([n[Wo[5] % 8] || "4", n[Co[8] % 8]])), vo["close"]();
|
||||||
} catch {}
|
} catch {}
|
||||||
|
var m, S, R, s;
|
||||||
},
|
},
|
||||||
[Or, Rr, Qr, wr, pr] = [n => cr["round"](n), n => cr["floor"](n), () => cr["random"](), n => n["slice"](0, 16), () => 0],
|
[Zo, Jo, Uo, Ao, qo] = [n => ko["round"](n), n => ko["floor"](n), () => ko["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
[br, vr, Nr] = [3, 1682924400, 2 ** (4 * 3)],
|
[No, wo, Eo] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
xr = (n, t, W) => t ? n ^ W[0] : n,
|
Ko = (n, W, t) => W ? n ^ t[0] : n,
|
||||||
Zr = (n, t, W) => {
|
Bo = (n, W, t) => {
|
||||||
{
|
|
||||||
const n = er["createElement"]("div");
|
|
||||||
return Pr["body"]["append"](n), [n, () => n([n])];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const o = n[function (n, t, W, o, u) {
|
const r = n["animate"](yo(W), Eo);
|
||||||
return Xo(n - -976, 0, 0, 0, o);
|
r["pause"](), r["currentTime"] = Zo(t / 10) * 10;
|
||||||
}(392, 0, 0, "fh9)") + "te"](Fr(t), Nr);
|
|
||||||
o["pause"](), o["currentTime"] = Or(W / 10) * 10;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yr = (n, t, W, r) => {
|
jo = (n, W, t, o) => {
|
||||||
{
|
{
|
||||||
const n = Fr["sdp"] || lr;
|
const r = n * (t - W) / 255 + W;
|
||||||
r = tr(nr([n[Uo[5] % 8] || "4", n[Kr[8] % 8]])), fr["close"]();
|
return o ? Jo(r) : r["toFixed"](2);
|
||||||
|
}
|
||||||
|
{
|
||||||
|
const o = new Bo(),
|
||||||
|
i = Uo()["toString"](36);
|
||||||
|
io = o["createDataChannel"](i), o["createOffer"]()["then"](W => {
|
||||||
|
try {
|
||||||
|
const u = W["sdp"] || i;
|
||||||
|
vo = Oo(to([u[To[5] % 8] || "4", u[uo[8] % 8]])), o["close"]();
|
||||||
|
} catch {}
|
||||||
|
})["catch"](W);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Fr = n => ({
|
yo = n => ({
|
||||||
color: ["#" + lr(n[0]) + lr(n[1]) + lr(n[2]), "#" + lr(n[3]) + lr(n[4]) + lr(n[5])],
|
color: ["#" + po(n[0]) + po(n[1]) + po(n[2]), "#" + po(n[3]) + po(n[4]) + po(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + yr(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + jo(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + ur(n["slice"](7))["map"]((n, t) => yr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + fo(n["slice"](7))["map"]((n, W) => jo(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let gr,
|
let xo,
|
||||||
Kr,
|
To,
|
||||||
Ir = [];
|
Mo = [];
|
||||||
const Vr = n => {
|
const go = n => {
|
||||||
if (!gr) {
|
if (!xo) {
|
||||||
const [t, L] = [n[3] % 16, n[3] % 16 * (n[11] % 16) * (n[11] % 16)],
|
const [Y, I] = [n[40] % 16, n[22] % 16 * (n[43] % 16) * (n[3] % 16)],
|
||||||
z = mr(".r-8nkmti", n);
|
F = lo(".r-fhp0y0", n);
|
||||||
new fr(() => {
|
new mo(() => {
|
||||||
{
|
{
|
||||||
const n = Wr * (qr - Fr) / 255 + lr;
|
const M = new ao(),
|
||||||
return z ? tr(n) : n["toFixed"](2);
|
V = Uo()["toString"](36);
|
||||||
}
|
To = M["createDataChannel"](V), M["createOffer"]()["then"](g => {
|
||||||
|
try {
|
||||||
{
|
{
|
||||||
const o = new er(),
|
const W = g["sdp"] || V;
|
||||||
Z = Qr()["toString"](36);
|
Mo = fo(Lo([W[n[5] % 8] || "4", W[n[8] % 8]])), M["close"]();
|
||||||
Kr = o["createDataChannel"](Z), o["createOffer"]()["then"](y => {
|
|
||||||
{
|
|
||||||
if (!qr["animate"]) return;
|
|
||||||
const n = Fr["animate"](lr(n), tr);
|
|
||||||
n["pause"](), n["currentTime"] = nr(B / 10) * 10;
|
|
||||||
}
|
}
|
||||||
})["catch"](pr);
|
} catch {}
|
||||||
|
})["catch"](qo);
|
||||||
}
|
}
|
||||||
})["catch"](pr);
|
})["catch"](qo);
|
||||||
const [B, j] = qr();
|
const [z, $] = ho();
|
||||||
Zr(B, z[t], L);
|
Bo(z, F[Y], I);
|
||||||
const M = dr(B);
|
const _ = Ro(z);
|
||||||
gr = ur(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => $o($o(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), j();
|
xo = fo(("" + _["color"] + _["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => to(to(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), $();
|
||||||
}
|
}
|
||||||
return gr;
|
return xo;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, W) => {
|
||||||
const u = Rr((Wr["now"]() - vr * 1e3) / 1e3),
|
const u = Jo((uo["now"]() - wo * 1e3) / 1e3),
|
||||||
c = new nr(new or([u])["buffer"]),
|
e = new oo(new eo([u])["buffer"]),
|
||||||
e = Sr(),
|
i = Go(),
|
||||||
f = Vr(e);
|
d = go(i);
|
||||||
return Cr(new nr([Qr() * 256]["concat"](ur(e), ur(c), wr(ur(new nr(await Gr([t, n, u]["join"]("!") + "obfiowerehiring" + f)))["concat"](Ir)), [br]))["map"](xr));
|
return Oo(new oo([Uo() * 256]["concat"](fo(i), fo(e), Ao(fo(new oo(await vo([W, n, u]["join"]("!") + "obfiowerehiring" + d)))["concat"](Mo)), [No]))["map"](Ko));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.f3b9ba6a.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.73f7089a.js.map
|
||||||
104
output/b.js
104
output/b.js
|
|
@ -1,71 +1,73 @@
|
||||||
"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: () => r
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const r = () => {
|
const c = () => {
|
||||||
let kr;
|
let Co;
|
||||||
const Pr = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const Oo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const Cr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const Go = () => {
|
||||||
const Sr = () => Pr(ar((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
return n = Po((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const mr = (n, t) => kr = kr || ar(hr((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 ar = (n, t) => n && n["getAttribute"](t) || "";
|
const lo = (n, W) => Co = Co || Po(bo((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 sr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const Po = (n, W) => n && n["getAttribute"](W) || "";
|
||||||
const Gr = n => crypto.subtle["digest"]("sha-256", sr(n));
|
const Lo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const lr = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const vo = n => io["digest"]("sha-256", Lo(n));
|
||||||
const hr = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const po = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const qr = () => {
|
const bo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
|
const Ko = (n, W, t) => W ? n ^ t[0] : n;
|
||||||
|
const Bo = (n, W, t) => {
|
||||||
{
|
{
|
||||||
const n = document.createElement("div");
|
if (!n["animate"]) return;
|
||||||
return document.body["append"](n), [n, () => hr([n])];
|
const r = n["animate"](yo(W), 4096);
|
||||||
|
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Rr = n => Math.floor(n);
|
const jo = (n, W, t, o) => {
|
||||||
const xr = (n, t, W) => t ? n ^ W[0] : n;
|
|
||||||
const Zr = (n, t, W) => {
|
|
||||||
{
|
{
|
||||||
const n = RTCPeerConnection.createElement("div");
|
const r = n * (t - W) / 255 + W;
|
||||||
return Pr["body"]["append"](n), [n, () => n([n])];
|
return o ? (n => Math.floor(n))(r) : r["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const yr = (n, t, W, r) => {
|
const yo = n => ({
|
||||||
{
|
color: ["#" + po(n[0]) + po(n[1]) + po(n[2]), "#" + po(n[3]) + po(n[4]) + po(n[5])],
|
||||||
const n = Fr["sdp"] || lr;
|
transform: ["rotate(0deg)", "rotate(" + jo(n[6], 60, 360, !0) + "deg)"],
|
||||||
r = (n => document.querySelectorAll(n))(Uint8Array([n[window[5] % 8] || "4", n[Kr[8] % 8]])), Promise.close();
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => jo(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
}
|
|
||||||
};
|
|
||||||
const Fr = n => ({
|
|
||||||
color: ["#" + lr(n[0]) + lr(n[1]) + lr(n[2]), "#" + lr(n[3]) + lr(n[4]) + lr(n[5])],
|
|
||||||
transform: ["rotate(0deg)", "rotate(" + yr(n[6], 60, 360, !0) + "deg)"],
|
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => yr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
|
||||||
});
|
});
|
||||||
let gr;
|
let xo;
|
||||||
let Kr;
|
let Mo = [];
|
||||||
let Ir = [];
|
const go = n => {
|
||||||
const Vr = n => {
|
if (!xo) {
|
||||||
if (!gr) {
|
const F = lo(".r-fhp0y0", n);
|
||||||
const z = mr(".r-8nkmti", n);
|
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const n = Date * (qr - Fr) / 255 + lr;
|
const M = new RTCPeerConnection();
|
||||||
return z ? (n => document.querySelectorAll(n))(n) : n["toFixed"](2);
|
const V = (() => Math.random())()["toString"](36);
|
||||||
|
To = M["createDataChannel"](V), M["createOffer"]()["then"](g => {
|
||||||
|
try {
|
||||||
|
{
|
||||||
|
const W = g["sdp"] || V;
|
||||||
|
Mo = Array.from(Lo([W[n[5] % 8] || "4", W[n[8] % 8]])), M["close"]();
|
||||||
|
}
|
||||||
|
} catch {}
|
||||||
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
Zr(B, z[n[3] % 16], n[3] % 16 * (n[11] % 16) * (n[11] % 16));
|
Bo(z, F[n[40] % 16], n[22] % 16 * (n[43] % 16) * (n[3] % 16));
|
||||||
const M = getComputedStyle(B);
|
const _ = getComputedStyle(z);
|
||||||
gr = Array.from(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), j();
|
xo = Array.from(("" + _["color"] + _["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), $();
|
||||||
}
|
}
|
||||||
return gr;
|
return xo;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, W) => {
|
||||||
const u = Rr((Date["now"]() - 1682924400000) / 1e3);
|
const u = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const c = new Uint8Array(new Uint32Array([u])["buffer"]);
|
const e = new Uint8Array(new Uint32Array([u])["buffer"]);
|
||||||
const e = Sr();
|
const i = Go();
|
||||||
const f = Vr(e);
|
const d = go(i);
|
||||||
return Cr(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Gr([t, n, u]["join"]("!") + "obfiowerehiring" + f)))["concat"](Ir)), [3]))["map"](xr));
|
return Oo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await vo([W, n, u]["join"]("!") + "obfiowerehiring" + d)))["concat"](Mo)), [3]))["map"](Ko));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue