mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 15:40:28 +01:00
Update deobfuscation
Changes detected in source file run:base failed run:fork succeeded run:additional succeeded
This commit is contained in:
parent
f1a6762fe0
commit
d7e8ee1a7e
4 changed files with 181 additions and 341 deletions
File diff suppressed because one or more lines are too long
|
|
@ -3,70 +3,71 @@
|
||||||
(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, t, W) => {
|
||||||
W.r(t), W.d(t, {
|
W.r(t), W.d(t, {
|
||||||
default: () => c
|
default: () => o
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
W(136728), W(875640);
|
||||||
const c = () => {
|
const o = () => {
|
||||||
let uo;
|
let sc;
|
||||||
const eo = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const Sc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const io = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const Oc = () => {
|
||||||
const fo = () => eo(ao((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
return n = Rc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const ko = (n, t) => uo = uo || ao(qo((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 ao = (n, t) => n && n["getAttribute"](t) || "";
|
const Cc = (n, t) => sc = sc || Rc(vc((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 Co = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const Rc = (n, t) => n && n["getAttribute"](t) || "";
|
||||||
const mo = n => crypto.subtle["digest"]("sha-256", Co(n));
|
const ac = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const so = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const mc = n => crypto.subtle["digest"]("sha-256", ac(n));
|
||||||
const qo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const Qc = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const yo = (n, t, W) => t ? n ^ W[0] : n;
|
const vc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const Fo = (n, t, W) => {
|
const Hc = (n, t, W) => t ? n ^ W[0] : n;
|
||||||
|
const Mc = (n, t, W) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](po(t), 4096);
|
const r = n["animate"](Tc(t), 4096);
|
||||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const No = (n, t, W, r) => {
|
const Nc = (n, t, W, r) => {
|
||||||
{
|
{
|
||||||
const d = n * (W - t) / 255 + t;
|
const c = n * (W - t) / 255 + t;
|
||||||
return r ? (n => Math.floor(n))(d) : d["toFixed"](2);
|
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const po = n => ({
|
const Tc = n => ({
|
||||||
color: ["#" + so(n[0]) + so(n[1]) + so(n[2]), "#" + so(n[3]) + so(n[4]) + so(n[5])],
|
color: ["#" + Qc(n[0]) + Qc(n[1]) + Qc(n[2]), "#" + Qc(n[3]) + Qc(n[4]) + Qc(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + No(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Nc(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => No(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Nc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let Ko;
|
let Kc;
|
||||||
let Vo = [];
|
let Ic = [];
|
||||||
const bo = n => {
|
const bc = n => {
|
||||||
if (!Ko) {
|
if (!Kc) {
|
||||||
const V = ko(".r-3n7zr0", n);
|
const o = Cc(".r-1xncgr", n);
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const t = new RTCPeerConnection();
|
const t = new RTCPeerConnection();
|
||||||
const W = (() => Math.random())()["toString"](36);
|
const C = (() => Math.random())()["toString"](36);
|
||||||
To = t["createDataChannel"](W), t["createOffer"]()["then"](o => {
|
zc = t["createDataChannel"](C), t["createOffer"]()["then"](R => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const r = o["sdp"] || W;
|
const W = R["sdp"] || C;
|
||||||
Vo = Array.from(Co([r[n[5] % 8] || "4", r[n[8] % 8]])), t["close"]();
|
Ic = Array.from(ac([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
Fo(b, V[n[41] % 16], n[8] % 16 * (n[24] % 16) * (n[24] % 16));
|
Mc(u, o[n[11] % 16], n[18] % 16 * (n[15] % 16) * (n[14] % 16));
|
||||||
const J = getComputedStyle(b);
|
const d = getComputedStyle(u);
|
||||||
Ko = Array.from(("" + J["color"] + J["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), l();
|
Kc = Array.from(("" + d["color"] + d["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), e();
|
||||||
}
|
}
|
||||||
return Ko;
|
return Kc;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, t) => {
|
||||||
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
const c = new Uint8Array(new Uint32Array([r])["buffer"]);
|
||||||
const e = fo();
|
const o = Oc();
|
||||||
const d = bo(e);
|
const u = bc(o);
|
||||||
return io(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await mo([t, n, c]["join"]("!") + "obfiowerehiring" + d)))["concat"](Vo)), [3]))["map"](yo));
|
return Sc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await mc([t, n, r]["join"]("!") + "obfiowerehiring" + u)))["concat"](Ic)), [3]))["map"](Hc));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
223
output/fork.js
223
output/fork.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue