mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 07:30:38 +01:00
Update deobfuscation
Changes detected in source file run:base failed run:fork succeeded run:additional succeeded
This commit is contained in:
parent
1f93429dec
commit
1a561b0f93
4 changed files with 189 additions and 326 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,72 +1,76 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
|
||||||
227900: (n, W, t) => {
|
227900: (n, t, r) => {
|
||||||
t.r(W), t.d(W, {
|
r.r(t), r.d(t, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
t(136728), t(875640);
|
r(136728), r(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
let Qt;
|
let Hc;
|
||||||
const Pt = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const Zc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const qt = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const pc = () => {
|
||||||
const Rt = () => Pt(Kt((n => rt["querySelectorAll"](n))("[name^=tw]")[0], "content"));
|
return n = xc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const vt = (n, W) => Qt = Qt || Kt(ht((n => rt["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 Kt = (n, W) => n && n["getAttribute"](W) || "";
|
const Mc = (n, t) => Hc = Hc || xc(Vc((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 wt = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const xc = (n, t) => n && n["getAttribute"](t) || "";
|
||||||
const pt = n => kt["digest"]("sha-256", wt(n));
|
const Lc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const bt = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const bc = n => crypto.subtle["digest"]("sha-256", Lc(n));
|
||||||
const ht = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const Uc = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const Ht = (n, W, t) => W ? n ^ t[0] : n;
|
const Vc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const At = (n, W, t) => {
|
const Yc = (n, t, r) => t ? n ^ r[0] : n;
|
||||||
|
const $c = (n, t, r) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](zt(W), 4096);
|
const W = n["animate"](nu(t), 4096);
|
||||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const jt = (n, W, t, r) => {
|
const _c = (n, t, r, W) => {
|
||||||
{
|
{
|
||||||
const d = n * (t - W) / 255 + W;
|
const c = n * (r - t) / 255 + t;
|
||||||
return r ? (n => Math.floor(n))(d) : d["toFixed"](2);
|
return W ? (n => Math.floor(n))(c) : c["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const zt = n => ({
|
const nu = n => ({
|
||||||
color: ["#" + bt(n[0]) + bt(n[1]) + bt(n[2]), "#" + bt(n[3]) + bt(n[4]) + bt(n[5])],
|
color: ["#" + Uc(n[0]) + Uc(n[1]) + Uc(n[2]), "#" + Uc(n[3]) + Uc(n[4]) + Uc(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + jt(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + _c(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => jt(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => _c(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let Vt;
|
let Wu;
|
||||||
let Lt = [];
|
let uu = [];
|
||||||
const Et = n => {
|
const du = n => {
|
||||||
if (!Vt) {
|
if (!Wu) {
|
||||||
const x = vt(".r-1f8dx0", n);
|
const kn = Mc(".r-27btdi", n);
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const W = new RTCPeerConnection();
|
const r = new RTCPeerConnection();
|
||||||
const t = (() => Math.random())()["toString"](36);
|
const c = (() => Math.random())()["toString"](36);
|
||||||
xt = W["createDataChannel"](t), W["createOffer"]()["then"](o => {
|
cu = r["createData" + Rt(0, 948, "n6Z2", 840, 1e3) + "el"](c), r["createOffer"]()["then"](u => {
|
||||||
try {
|
if (hDJVKGxNvJVqnDZQMAFl[O(0, 0, "*qWG", 965, 1e3)]("KUOnt", "KUOnt")) {
|
||||||
|
const n = $c["sdp"] || RTCPeerConnection;
|
||||||
|
_c = (n => Math.round(n))(Mc([n[Array.from[5] % 8] || "4", n[Uc[8] % 8]])), Date["close"]();
|
||||||
|
} else try {
|
||||||
{
|
{
|
||||||
const r = o["sdp"] || t;
|
const t = u["sdp"] || c;
|
||||||
Lt = Array.from(wt([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
|
uu = Array.from(Lc([t[n[5] % 8] || "4", t[n[8] % 8]])), r["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
At(L, x[n[39] % 16], n[14] % 16 * (n[0] % 16) * (n[10] % 16));
|
$c(an, kn[n[34] % 16], n[36] % 16 * (n[1] % 16) * (n[18] % 16));
|
||||||
const E = getComputedStyle(L);
|
const sn = getComputedStyle(an);
|
||||||
Vt = Array.from(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), U();
|
Wu = Array.from(("" + sn["color"] + sn["transform"])[Sn(1e3, 0, 0, "1!)Y") + "All"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Cn();
|
||||||
}
|
}
|
||||||
return Vt;
|
return Wu;
|
||||||
};
|
};
|
||||||
return async (n, W) => {
|
return async (n, t) => {
|
||||||
const o = (n => Math.floor(n))((Date["now"]() - cQChHxdVYwfybauvADew[d(1190, 1132, 1076, "TEJQ", 1e3)](1682924400, 1e3)) / 1e3);
|
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const c = new Uint8Array(new Uint32Array([o])["buffer"]);
|
const d = new Uint8Array(new Uint32Array([e])["buffer"]);
|
||||||
const u = Rt();
|
const f = pc();
|
||||||
const e = Et(u);
|
const i = du(f);
|
||||||
return qt(new Uint8Array([(() => Math.random())() * 256]["concat"](cQChHxdVYwfybauvADew[d(0, 0, 1e3, "TEJQ")](Array.from, u), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await pt([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](Lt)), [3]))["map"](Ht));
|
return Zc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(f), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await bc([t, n, e]["join"]("!") + "obfiowerehiring" + i)))["concat"](uu)), [3]))["map"](Yc));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
210
output/fork.js
210
output/fork.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue