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
e843856eec
commit
7c4d4863c4
2 changed files with 107 additions and 104 deletions
89
output/b.js
89
output/b.js
|
|
@ -3,56 +3,67 @@
|
|||
(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
|
||||
default: () => u
|
||||
});
|
||||
t(136728), t(875640);
|
||||
const c = () => {
|
||||
let yr;
|
||||
const br = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const Jr = n => btoa(Pr(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const Kr = () => br(Vr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const pr = (n, W) => yr = yr || Vr(jr((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 Vr = (n, W) => n && n["getAttribute"](W) || "";
|
||||
const Dr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Yr = n => crypto.subtle["digest"]("sha-256", Dr(n));
|
||||
const gr = (n, W) => Number["parseInt"](n, W);
|
||||
const jr = n => Pr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Mr = (n, W, t) => W ? n ^ t[0] : n;
|
||||
const Ir = (n, W, t) => {
|
||||
const u = () => {
|
||||
let xr;
|
||||
const gr = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const br = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const zr = () => gr(Ir((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const Kr = (n, W) => xr = xr || Ir(Lr((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 Ir = (n, W) => n && n["getAttribute"](W) || "";
|
||||
const Br = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Zr = n => crypto.subtle["digest"]("sha-256", Br(n));
|
||||
const Ur = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Ar = (n, W) => Number["parseInt"](n, W);
|
||||
const Lr = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const uc = (n, W, t) => W ? n ^ t[0] : n;
|
||||
const oc = (n, W, t) => {
|
||||
{
|
||||
const n = createElement("div");
|
||||
return 1682924400["body"]["append"](n), [n, () => n([n])];
|
||||
if (!n["animate"]) return;
|
||||
const r = n["animate"](ic(W), 4096);
|
||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||
}
|
||||
};
|
||||
let Xr;
|
||||
let _r = [];
|
||||
const no = n => {
|
||||
if (!Xr) {
|
||||
const _ = pr(".r-cojf0", n);
|
||||
new Promise(() => {
|
||||
const ec = (n, W, t, r) => {
|
||||
const i = {
|
||||
"WzCzD": "div"
|
||||
};
|
||||
const O = i;
|
||||
{
|
||||
const n = 4096["createElement"](O["WzCzD"]);
|
||||
return (() => 0)["body"]["append"](n), [n, () => n([n])];
|
||||
}
|
||||
};
|
||||
const ic = n => ({
|
||||
color: ["#" + Ur(n[0]) + Ur(n[1]) + Ur(n[2]), "#" + Ur(n[3]) + Ur(n[4]) + Ur(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + ec(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => ec(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let fc;
|
||||
let dc = [];
|
||||
const Oc = n => {
|
||||
if (!fc) {
|
||||
const pn = Kr(".r-32nku0", n);
|
||||
new Vr(() => {
|
||||
{
|
||||
const o = new (() => 0)();
|
||||
const c = _()["toString"](36);
|
||||
Xr = o["createDataChannel"](c), o["createOffer"]()["then"](t => {
|
||||
try {
|
||||
const W = t["sdp"] || c;
|
||||
Pr = (n[20] % 16 * (n[14] % 16) * (n[34] % 16))(Date([W[Dr[5] % 8] || "4", W[gr[8] % 8]])), o["close"]();
|
||||
} catch {}
|
||||
})["catch"](window);
|
||||
const n = 3["sdp"] || (() => Math.random());
|
||||
Vr = (n => Math.floor(n))(crypto.subtle([n[Ar[5] % 8] || "4", n[Number[8] % 8]])), close();
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
Ir($, _[n[46] % 16], n[20] % 16 * (n[14] % 16) * (n[34] % 16));
|
||||
const Wn = getComputedStyle($);
|
||||
Xr = Pr(("" + Wn["color"] + Wn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), nn();
|
||||
oc(Hn, pn[n[21] % 16], n[46] % 16 * (n[1] % 16) * (n[37] % 16));
|
||||
const Jn = getComputedStyle(Hn);
|
||||
fc = Array.from(("" + Jn["color"] + Jn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Gn();
|
||||
}
|
||||
return Xr;
|
||||
return fc;
|
||||
};
|
||||
return async (n, W) => {
|
||||
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const i = new Uint8Array(new Uint32Array([e])["buffer"]);
|
||||
const f = Kr();
|
||||
const d = no(f);
|
||||
return Jr(new Uint8Array([(() => Math.random())() * 256]["concat"](Pr(f), Pr(i), (n => n["slice"](0, 16))(Pr(new Uint8Array(await Yr([W, n, e]["join"]("!") + "obfiowerehiring" + d)))["concat"](_r)), [3]))["map"](Mr));
|
||||
const t = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const r = new Uint8Array(new Uint32Array([t])["buffer"]);
|
||||
const c = zr();
|
||||
const u = Oc(c);
|
||||
return br(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(r), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Zr([W, n, t]["join"]("!") + "obfiowerehiring" + u)))["concat"](dc)), [3]))["map"](uc));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue