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:
parent
f103e0d9cf
commit
d6cef00d07
4 changed files with 176 additions and 568 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,73 +1,72 @@
|
|||
"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, {
|
||||
default: () => c
|
||||
227900: (n, W, t) => {
|
||||
t.r(W), t.d(W, {
|
||||
default: () => r
|
||||
});
|
||||
t(136728), t(875640);
|
||||
const c = () => {
|
||||
let AW;
|
||||
const DW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const EW = () => {
|
||||
return n = $W((n => VW["querySelectorAll"](n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
};
|
||||
const _W = (n, r) => AW = AW || $W(cc((n => VW["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 $W = (n, r) => n && n["getAttribute"](r) || "";
|
||||
const nc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const rc = n => crypto.subtle["digest"]("sha-256", nc(n));
|
||||
const tc = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const cc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const Sc = (n, r, t) => r ? n ^ t[0] : n;
|
||||
const mc = (n, r, t) => {
|
||||
const r = () => {
|
||||
let Bt;
|
||||
const Vt = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||
const It = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||
const jt = () => Vt(Ft((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||
const Dt = (n, W) => Bt = Bt || Ft(At((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 Ft = (n, W) => n && n["getAttribute"](W) || "";
|
||||
const zt = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||
const Yt = n => crypto.subtle["digest"]("sha-256", zt(n));
|
||||
const Xt = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||
const At = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||
const er = (n, W, t) => W ? n ^ t[0] : n;
|
||||
const ir = (n, W, t) => {
|
||||
{
|
||||
if (!n["animate"]) return;
|
||||
const W = n["animate"](vc(r), 4096);
|
||||
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||
const r = n["animate"](dr(W), 4096);
|
||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||
}
|
||||
};
|
||||
const sc = (n, r, t, c) => {
|
||||
const fr = (n, W, t, r) => {
|
||||
{
|
||||
const W = HGwMiupYxGaXcDgEjFEl[Lc("t - 10", "t - -133", "7S]3\" - 30", "7S]3", -457)](n * (t - r), 255) + r;
|
||||
return c ? (n => Math.floor(n))(W) : W["toFixed"](2);
|
||||
const c = n * (t - W) / 255 + W;
|
||||
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
|
||||
}
|
||||
};
|
||||
const vc = n => ({
|
||||
color: ["#" + tc(n[0]) + tc(n[1]) + tc(n[2]), "#" + tc(n[3]) + tc(n[4]) + tc(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + sc(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => sc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
const dr = n => ({
|
||||
color: ["#" + Xt(n[0]) + Xt(n[1]) + Xt(n[2]), "#" + Xt(n[3]) + Xt(n[4]) + Xt(n[5])],
|
||||
transform: ["rotate(0deg)", "rotate(" + fr(n[6], 60, 360, !0) + "deg)"],
|
||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => fr(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||
});
|
||||
let Cc;
|
||||
let Rc = [];
|
||||
const hc = n => {
|
||||
if (!Cc) {
|
||||
const Zn = _W(".r-1atmi0", n);
|
||||
let kr;
|
||||
let Or = [];
|
||||
const mr = n => {
|
||||
if (!kr) {
|
||||
const g = Dt(".r-iox00", n);
|
||||
new Promise(() => {
|
||||
{
|
||||
const r = new RTCPeerConnection();
|
||||
const t = (() => Math.random())()["toString"](36);
|
||||
qc = r["createDataChannel"](t), r["createOffer"]()["then"](c => {
|
||||
const t = new RTCPeerConnection();
|
||||
const r = (() => Math.random())()["toString"](36);
|
||||
Rr = t["createDataChannel"](r), t["createOffer"]()["then"](u => {
|
||||
try {
|
||||
{
|
||||
const W = c["sdp"] || t;
|
||||
Rc = Array.from(nc([W[n[5] % 8] || "4", W[n[8] % 8]])), r["close"]();
|
||||
const W = u["sdp"] || r;
|
||||
Or = Array.from(zt([W[n[5] % 8] || "4", W[n[8] % 8]])), t["close"]();
|
||||
}
|
||||
} catch {}
|
||||
})["catch"](() => 0);
|
||||
}
|
||||
})["catch"](() => 0);
|
||||
mc(zn, Zn[n[14] % 16], n[6] % 16 * (n[11] % 16) * (n[3] % 16));
|
||||
const In = getComputedStyle(zn);
|
||||
Cc = Array.from(("" + In["color"] + In["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), jn();
|
||||
ir(B, g[n[2] % 16], n[34] % 16 * (n[11] % 16) * (n[44] % 16));
|
||||
const V = getComputedStyle(B);
|
||||
kr = Array.from(("" + V["color"] + V["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), M();
|
||||
}
|
||||
return Cc;
|
||||
return kr;
|
||||
};
|
||||
return async (n, r) => {
|
||||
const W = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const c = new Uint8Array(new Uint32Array([W])["buffer"]);
|
||||
const o = EW();
|
||||
const u = hc(o);
|
||||
return DW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await rc([r, n, W]["join"]("!") + "obfiowerehiring" + u)))["concat"](Rc)), [3]))["map"](Sc));
|
||||
return async (n, W) => {
|
||||
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||
const o = jt();
|
||||
const e = mr(o);
|
||||
return It(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Yt([W, n, c]["join"]("!") + "obfiowerehiring" + e)))["concat"](Or)), [3]))["map"](er));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
329
output/fork.js
329
output/fork.js
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue