1
Fork 0
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:
GitHub Action 2025-02-28 22:05:39 +00:00
parent ce8c17b925
commit 476788e739
2 changed files with 109 additions and 122 deletions

View file

@ -1,71 +1,58 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, r, t) => {
t.r(r), t.d(r, {
227900: (n, W, t) => {
t.r(W), t.d(W, {
default: () => c
});
t(136728), t(875640);
const c = () => {
let Io;
const Ao = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const xo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Do = () => Ao(To((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const wo = (n, r) => Io = Io || To(Yo((n => document.querySelectorAll(n))(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const To = (n, r) => n && n["getAttribute"](r) || "";
const Ho = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const No = n => crypto.subtle["digest"]("sha-256", Ho(n));
const Yo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const uc = (n, r, t) => r ? n ^ t[0] : n;
const ec = (n, r, t) => {
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) => {
{
if (!TextEncoder.animate) return;
const n = document.animate(ic(r), t);
n["pause"](), n["currentTime"] = Uint32Array((n => Math.floor(n)) / 10) * 10;
const n = createElement("div");
return 1682924400["body"]["append"](n), [n, () => n([n])];
}
};
const ic = (n, r, t, W) => {
{
const n = document.sdp || ic;
r = t(Uint32Array([n[(n => Math.floor(n))[5] % 8] || "4", n[Do[8] % 8]])), RTCPeerConnection.close();
}
};
let ac;
let sc = [];
const Sc = n => {
if (!ac) {
const q = n[4] % 16 * (n[15] % 16) * (n[5] % 16);
const p = wo(".r-4972d0", n);
let Xr;
let _r = [];
const no = n => {
if (!Xr) {
const _ = pr(".r-cojf0", n);
new Promise(() => {
{
const r = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36);
Cc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
{
const c = new ic();
const u = (n[18] % 16)()["toString"](36);
q = c["createDataChannel"](u), c["createOffer"]()["then"](e => {
try {
const i = e["sdp"] || u;
xo = Uint8Array(O([i[n[5] % 8] || "4", i[getComputedStyle[8] % 8]])), c["close"]();
} catch {}
})["catch"](() => Math.random());
}
})["catch"](() => 0);
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);
}
})["catch"](() => 0);
ec(O, p[n[18] % 16], q);
const M = getComputedStyle(O);
ac = Array.from(("" + M["color"] + M["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), G();
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();
}
return ac;
return Xr;
};
return async (n, r) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
const e = Do();
const i = Sc(e);
return xo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await No([r, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](sc)), [3]))["map"](uc));
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));
};
};
}