mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 07:30:38 +01:00
Update deobfuscation
Changes detected in source file run:base failed run:fork succeeded run:additional succeeded
This commit is contained in:
parent
1f22f48118
commit
1105319a31
4 changed files with 171 additions and 566 deletions
|
|
@ -1,72 +1,73 @@
|
|||
"use strict";
|
||||
|
||||
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
||||
227900: (n, W, t) => {
|
||||
t.r(W), t.d(W, {
|
||||
default: () => c
|
||||
227900: (n, t, W) => {
|
||||
W.r(t), W.d(t, {
|
||||
default: () => r
|
||||
});
|
||||
t(136728), t(875640);
|
||||
const c = () => {
|
||||
let Hc;
|
||||
const Vc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const Fc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const Xc = () => Vc(Mc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const Zc = (n, W) => Hc = Hc || Mc(Bc((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 Mc = (n, W) => n && n["getAttribute"](W) || "";
|
||||
const Yc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Tc = n => crypto.subtle["digest"]("sha-256", Yc(n));
|
||||
const Ec = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Bc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const ru = (n, W, t) => W ? n ^ t[0] : n;
|
||||
const cu = (n, W, t) => {
|
||||
W(136728), W(875640);
|
||||
const r = () => {
|
||||
let Wo;
|
||||
const ro = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const oo = () => {
|
||||
return n = uo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
};
|
||||
const co = (n, t) => Wo = Wo || uo(ao((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 uo = (n, t) => n && n["getAttribute"](t) || "";
|
||||
const eo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const fo = n => crypto.subtle["digest"]("sha-256", eo(n));
|
||||
const io = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const ao = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Go = (n, t, W) => t ? n ^ W[0] : n;
|
||||
const lo = (n, t, W) => {
|
||||
{
|
||||
if (!n["animate"]) return;
|
||||
const r = n["animate"](ou(W), 4096);
|
||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||
const r = n["animate"](qo(t), 4096);
|
||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
||||
}
|
||||
};
|
||||
const uu = (n, W, t, c) => {
|
||||
const Po = (n, t, W, r) => {
|
||||
{
|
||||
const r = n * (t - W) / 255 + W;
|
||||
return c ? (n => Math.floor(n))(r) : r["toFixed"](2);
|
||||
const o = n * (W - t) / 255 + t;
|
||||
return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
|
||||
}
|
||||
};
|
||||
const ou = n => ({
|
||||
color: ["#" + Ec(n[0]) + Ec(n[1]) + Ec(n[2]), "#" + Ec(n[3]) + Ec(n[4]) + Ec(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + uu(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => uu(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
const qo = n => ({
|
||||
color: ["#" + io(n[0]) + io(n[1]) + io(n[2]), "#" + io(n[3]) + io(n[4]) + io(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + Po(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Po(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let eu;
|
||||
let iu = [];
|
||||
const ku = n => {
|
||||
if (!eu) {
|
||||
const R = Zc(".r-6bmwu0", n);
|
||||
let Qo;
|
||||
let Mo = [];
|
||||
const Fo = n => {
|
||||
if (!Qo) {
|
||||
const Z = co(".r-khf40", n);
|
||||
new Promise(() => {
|
||||
{
|
||||
const t = new RTCPeerConnection();
|
||||
const c = (() => Math.random())()["toString"](36);
|
||||
fu = t["createDataChannel"](c), t["createOffer"]()["then"](u => {
|
||||
const b = new RTCPeerConnection();
|
||||
const H = (() => Math.random())()["toString"](36);
|
||||
po = b["createDataChannel"](H), b["createOffer"]()["then"](D => {
|
||||
try {
|
||||
{
|
||||
const W = u["sdp"] || c;
|
||||
iu = Array.from(Yc([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
|
||||
const t = D["sdp"] || H;
|
||||
Mo = Array.from(eo([t[n[5] % 8] || "4", t[n[8] % 8]])), b["close"]();
|
||||
}
|
||||
} catch {}
|
||||
})["catch"](() => 0);
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
cu(m, R[n[2] % 16], n[44] % 16 * (n[34] % 16) * (n[25] % 16));
|
||||
const Q = getComputedStyle(m);
|
||||
eu = Array.from(("" + Q[F(1059, 1e3, "XIJv", 1130, 1112)] + Q["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), v();
|
||||
lo(U, Z[n[17] % 16], n[32] % 16 * (n[17] % 16) * (n[26] % 16));
|
||||
const Y = getComputedStyle(U);
|
||||
Qo = Array.from(("" + Y["color"] + Y["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), j();
|
||||
}
|
||||
return eu;
|
||||
return Qo;
|
||||
};
|
||||
return async (n, W) => {
|
||||
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const c = new Uint8Array(new Uint32Array([r])["buffer"]);
|
||||
const u = Xc();
|
||||
const o = ku(u);
|
||||
return Fc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(u), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Tc([W, n, r]["join"]("!") + "obfiowerehiring" + o)))["concat"](iu)), [3]))["map"](ru));
|
||||
return async (n, t) => {
|
||||
const W = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const r = new Uint8Array(new Uint32Array([W])["buffer"]);
|
||||
const o = oo();
|
||||
const c = Fo(o);
|
||||
return ro(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(r), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await fo([t, n, W]["join"]("!") + "obfiowerehiring" + c)))["concat"](Mo)), [3]))["map"](Go));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue