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 succeeded run:fork succeeded run:additional succeeded
This commit is contained in:
parent
a09717b878
commit
e3d9dd2b7b
5 changed files with 242 additions and 250 deletions
|
|
@ -1,77 +1,75 @@
|
|||
"use strict";
|
||||
|
||||
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
||||
227900: (n, W, t) => {
|
||||
t.r(W), t.d(W, {
|
||||
default: () => u
|
||||
227900: (n, t, W) => {
|
||||
W.r(t), W.d(t, {
|
||||
default: () => c
|
||||
});
|
||||
t(136728), t(875640);
|
||||
const u = () => {
|
||||
let Bu;
|
||||
const Tu = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const Uu = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const vu = () => Tu(Iu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const Fu = (n, W) => Bu = Bu || Iu(Xu((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 Iu = (n, W) => n && n["getAttribute"](W) || "";
|
||||
const Au = n => typeof n == "string" ? new pu()["encode"](n) : n;
|
||||
const xu = n => crypto.subtle["digest"]("sha-256", Au(n));
|
||||
const Mu = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const Xu = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const uc = (n, W, t) => W ? n ^ t[0] : n;
|
||||
const cc = (n, W, t) => {
|
||||
W(136728), W(875640);
|
||||
const c = () => {
|
||||
let Rr;
|
||||
const pr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const Kr = () => {
|
||||
return n = Fr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
};
|
||||
const Mr = (n, t) => Rr = Rr || Fr(gr((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 Fr = (n, t) => n && n["getAttribute"](t) || "";
|
||||
const lr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const wr = n => crypto.subtle["digest"]("sha-256", lr(n));
|
||||
const Jr = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const gr = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Dr = (n, t, W) => t ? n ^ W[0] : n;
|
||||
const br = (n, t, W) => {
|
||||
{
|
||||
if (!n[function (n, W, t, r, o) {
|
||||
return qu(W - -977, 0, o);
|
||||
}(0, -63, 0, 0, "c9wG") + "te"]) return;
|
||||
const e = n["animate"](fc(W), 4096);
|
||||
e["pause"](), e["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||
if (!n["animate"]) return;
|
||||
const c = n["animate"](Xr(t), 4096);
|
||||
c["pause"](), c["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
||||
}
|
||||
};
|
||||
const ec = (n, W, t, o) => {
|
||||
const Br = (n, t, W, c) => {
|
||||
{
|
||||
const r = n * (t - W) / 255 + W;
|
||||
return o ? (n => Math.floor(n))(r) : r["toFixed"](2);
|
||||
const r = n * (W - t) / 255 + t;
|
||||
return c ? (n => Math.floor(n))(r) : r["toFixed"](2);
|
||||
}
|
||||
};
|
||||
const fc = n => ({
|
||||
color: ["#" + Mu(n[0]) + Mu(n[1]) + Mu(n[2]), "#" + Mu(n[3]) + Mu(n[4]) + Mu(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"]() + ")"
|
||||
const Xr = n => ({
|
||||
color: ["#" + Jr(n[0]) + Jr(n[1]) + Jr(n[2]), "#" + Jr(n[3]) + Jr(n[4]) + Jr(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + Br(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Br(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let kc;
|
||||
let ac;
|
||||
let Oc = [];
|
||||
const mc = n => {
|
||||
if (!kc) {
|
||||
const O = n[14] % 16;
|
||||
const s = n[28] % 16 * (n[46] % 16) * (n[13] % 16);
|
||||
const m = Fu(".r-1nqvuo", n);
|
||||
let Yr;
|
||||
let zr = [];
|
||||
const $r = n => {
|
||||
if (!Yr) {
|
||||
const u = n[17] % 16;
|
||||
const o = n[47] % 16 * (n[4] % 16) * (n[27] % 16);
|
||||
const e = Mr(".r-si0ow", n);
|
||||
new Promise(() => {
|
||||
{
|
||||
const W = new RTCPeerConnection();
|
||||
const t = (() => Math.random())()["toString"](36);
|
||||
ac = W["createDataChannel"](t), W["createOffer"]()["then"](o => {
|
||||
const t = new RTCPeerConnection();
|
||||
const W = (() => Math.random())()["toString"](36);
|
||||
Zr = t["createDataChannel"](W), t["createOffer"]()["then"](c => {
|
||||
try {
|
||||
{
|
||||
const r = o["sdp"] || t;
|
||||
Oc = Array.from(Au([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
|
||||
const r = c["sdp"] || W;
|
||||
zr = Array.from(lr([r[n[5] % 8] || "4", r[n[8] % 8]])), t["close"]();
|
||||
}
|
||||
} catch {}
|
||||
})["catch"](() => 0);
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
cc(S, m[n[14] % 16], n[28] % 16 * (n[46] % 16) * (n[13] % 16));
|
||||
const R = getComputedStyle(S);
|
||||
kc = Array.from(("" + R["color"] + R["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), C();
|
||||
br(d, e[n[17] % 16], n[47] % 16 * (n[4] % 16) * (n[27] % 16));
|
||||
const f = getComputedStyle(d);
|
||||
Yr = Array.from(("" + f["color"] + f["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), i();
|
||||
}
|
||||
return kc;
|
||||
return Yr;
|
||||
};
|
||||
return async (n, W) => {
|
||||
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const e = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||
const f = vu();
|
||||
const i = mc(f);
|
||||
return Uu(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(f), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await xu([W, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](Oc)), [3]))["map"](uc));
|
||||
return async (n, t) => {
|
||||
const u = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const o = new Uint8Array(new Uint32Array([u])["buffer"]);
|
||||
const e = Kr();
|
||||
const d = $r(e);
|
||||
return pr(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(o), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await wr([t, n, u]["join"]("!") + "obfiowerehiring" + d)))["concat"](zr)), [3]))["map"](Dr));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue