1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-10 15:20:27 +01:00

Update deobfuscation

Changes detected in source file
run:base failed
run:fork succeeded
run:additional succeeded
This commit is contained in:
GitHub Action 2025-07-19 22:06:22 +00:00
parent 5a017c09f7
commit da4cb188cd
4 changed files with 178 additions and 343 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,72 +1,72 @@
"use strict";
(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
227900: (n, t, W) => {
W.r(t), W.d(t, {
default: () => r
});
r(136728), r(875640);
const c = () => {
let VW;
const zW = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const NW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const UW = () => zW(vW((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const gW = (n, t) => VW = VW || vW(DW((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 vW = (n, t) => n && n["getAttribute"](t) || "";
const LW = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const FW = n => crypto.subtle["digest"]("sha-256", LW(n));
const wW = n => (n < 16 ? "0" : "") + n["toString"](16);
const DW = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const no = (n, t, r) => t ? n ^ r[0] : n;
const to = (n, t, r) => {
W(136728), W(875640);
const r = () => {
let Mc;
const Dc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const Hc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Xc = () => Dc(Ac((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const Ec = (n, t) => Mc = Mc || Ac(no((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 Ac = (n, t) => n && n["getAttribute"](t) || "";
const Uc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const $c = n => crypto.subtle["digest"]("sha-256", Uc(n));
const _c = n => (n < 16 ? "0" : "") + n["toString"](16);
const no = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const ko = (n, t, W) => t ? n ^ W[0] : n;
const ao = (n, t, W) => {
{
if (!n["animate"]) return;
const W = n["animate"](Wo(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
const r = n["animate"](Co(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
}
};
const ro = (n, t, r, W) => {
const mo = (n, t, W, r) => {
{
const o = n * (r - t) / 255 + t;
return W ? (n => Math.floor(n))(o) : o["toFixed"](2);
const d = n * (W - t) / 255 + t;
return r ? (n => Math.floor(n))(d) : d["toFixed"](2);
}
};
const Wo = n => ({
color: ["#" + wW(n[0]) + wW(n[1]) + wW(n[2]), "#" + wW(n[3]) + wW(n[4]) + wW(n[5])],
transform: ["rotate(0deg)", "rotate(" + ro(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => ro(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
const Co = n => ({
color: ["#" + _c(n[0]) + _c(n[1]) + _c(n[2]), "#" + _c(n[3]) + _c(n[4]) + _c(n[5])],
transform: ["rotate(0deg)", "rotate(" + mo(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => mo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let oo;
let uo = [];
const io = n => {
if (!oo) {
const a = gW(".r-yk5c0", n);
let So;
let so = [];
const lo = n => {
if (!So) {
const Z = Ec(".r-1wn5q8", n);
new Promise(() => {
{
const t = new RTCPeerConnection();
const r = (() => Math.random())()["toString"](36);
co = t["createDataChannel"](r), t["createOffer"]()["then"](W => {
const K = new RTCPeerConnection();
const I = (() => Math.random())()["toString"](36);
qo = K["createDataChannel"](I), K["createOffer"]()["then"](T => {
try {
{
const o = W[S(0, 0, 0, "N[MV", 1087)] || r;
uo = vtrklKcyXwpkuRIRPjbh[S(0, 0, 0, "RH7Q", 964)](Array.from, LW([o[n[5] % 8] || "4", o[vtrklKcyXwpkuRIRPjbh[S(0, 0, 0, "tJTi", 1041)](n[8], 8)]])), t["close"]();
const t = T["sdp"] || I;
so = Array.from(Uc([t[n[5] % 8] || "4", t[n[8] % 8]])), K["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
to(m, a[n[12] % 16], n[43] % 16 * (n[19] % 16) * (n[45] % 16));
const q = getComputedStyle(m);
oo = Array.from(("" + q["color"] + q["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), C();
ao(F, Z[n[31] % 16], n[16] % 16 * (n[3] % 16) * (n[7] % 16));
const p = getComputedStyle(F);
So = Array.from(("" + p["color"] + p["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), y();
}
return oo;
return So;
};
return async (n, t) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
const e = UW();
const f = io(e);
return NW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await FW([t, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](uo)), [3]))["map"](no));
const c = (n => Math.floor(n))((Tc["now"]() - 1682924400000) / 1e3);
const o = new Uint8Array(new Uint32Array([c])["buffer"]);
const u = Xc();
const e = lo(u);
return Hc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(u), Array.from(o), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await $c([t, n, c]["join"]("!") + "obfiowerehiring" + e)))["concat"](so)), [3]))["map"](ko));
};
};
}

File diff suppressed because one or more lines are too long