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
670e002238
commit
f043087d7b
2 changed files with 104 additions and 122 deletions
79
output/b.js
79
output/b.js
|
|
@ -3,64 +3,57 @@
|
|||
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
||||
227900: (n, t, r) => {
|
||||
r.r(t), r.d(t, {
|
||||
default: () => c
|
||||
default: () => o
|
||||
});
|
||||
r(136728), r(875640);
|
||||
const c = () => {
|
||||
let qo;
|
||||
const Io = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const Jo = () => {
|
||||
return n = xo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
};
|
||||
const No = (n, t) => qo = qo || xo(Lo((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 xo = (n, t) => n && n["getAttribute"](t) || "";
|
||||
const Fo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const wo = n => crypto.subtle["digest"]("sha-256", Fo(n));
|
||||
const Ko = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Lo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Ho = n => Math.floor(n);
|
||||
const Do = (n, t, r) => t ? n ^ r[0] : n;
|
||||
const Yo = (n, t, r) => {
|
||||
const o = () => {
|
||||
let Cc;
|
||||
const Rc = 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 mc = () => Rc(Pc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const Qc = (n, t) => Cc = Cc || Pc(pc((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 Pc = (n, t) => n && n["getAttribute"](t) || "";
|
||||
const Gc = n => typeof n == "string" ? new rc()["encode"](n) : n;
|
||||
const bc = n => crypto.subtle["digest"]("sha-256", Gc(n));
|
||||
const pc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const lc = () => {
|
||||
{
|
||||
if (!n["animate"]) return;
|
||||
const W = n["animate"](jo(t), 4096);
|
||||
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
|
||||
const n = document.createElement("div");
|
||||
return document.body["append"](n), [n, () => pc([n])];
|
||||
}
|
||||
};
|
||||
const Xo = (n, t, r, W) => {
|
||||
const Jc = (n, t, r) => t ? n ^ r[0] : n;
|
||||
const Bc = (n, t, r) => {
|
||||
{
|
||||
const o = n * (r - t) / 255 + t;
|
||||
return W ? Ho(o) : o["toFixed"](2);
|
||||
if (!animate) return;
|
||||
const n = lc["animate"](bc(() => 0), dc);
|
||||
n["pause"](), n["currentTime"] = Pc(document / 10) * 10;
|
||||
}
|
||||
};
|
||||
const jo = n => ({
|
||||
color: ["#" + Ko(n[0]) + Ko(n[1]) + Ko(n[2]), "#" + Ko(n[3]) + Ko(n[4]) + Ko(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + Xo(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Xo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let Vo;
|
||||
let Mo = [];
|
||||
const zo = n => {
|
||||
if (!Vo) {
|
||||
const z = No(".r-4d8lxc", n);
|
||||
let Yc;
|
||||
let Zc = [];
|
||||
const Xc = n => {
|
||||
if (!Yc) {
|
||||
const t = n[25] % 16;
|
||||
const c = Qc(".r-nki20", n);
|
||||
new Promise(() => {
|
||||
{
|
||||
const n = crypto.subtle * ((() => 0) - qo) / 255 + wo;
|
||||
return n[38] % 16 * (n[11] % 16) * (n[9] % 16) ? jo(n) : n["toFixed"](2);
|
||||
const n = Date["createElement"]("div");
|
||||
return rc["body"]["append"](n), [n, () => n([n])];
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
Yo($, z[n[23] % 16], n[38] % 16 * (n[11] % 16) * (n[9] % 16));
|
||||
const nn = getComputedStyle($);
|
||||
Vo = Array.from(("" + nn["color"] + nn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), _();
|
||||
Bc(i, c[t], n[32] % 16 * (n[37] % 16) * (n[34] % 16));
|
||||
const k = getComputedStyle(i);
|
||||
Yc = Array.from(("" + k["color"] + k["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), xGxqCJZiWHUUPwjIFtPn[p(1e3, 0, ")Op]")](d);
|
||||
}
|
||||
return Vo;
|
||||
return Yc;
|
||||
};
|
||||
return async (n, t) => {
|
||||
const f = Ho((Date["now"]() - 1682924400000) / 1e3);
|
||||
const d = new Uint8Array(new Uint32Array([f])["buffer"]);
|
||||
const i = Jo();
|
||||
const k = zo(i);
|
||||
return Io(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await wo([t, n, f]["join"]("!") + "obfiowerehiring" + k)))["concat"](Mo)), [3]))["map"](Do));
|
||||
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const W = new Uint8Array(new Uint32Array([r])["buffer"]);
|
||||
const c = mc();
|
||||
const o = Xc(c);
|
||||
return Sc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(W), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await bc([t, n, r]["join"]("!") + "obfiowerehiring" + o)))["concat"](Zc)), [3]))["map"](Jc));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue