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 failed run:fork succeeded run:additional succeeded
This commit is contained in:
parent
5011176a11
commit
877c2261ac
4 changed files with 167 additions and 328 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,72 +1,72 @@
|
||||||
"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, r, t) => {
|
227900: (n, t, W) => {
|
||||||
t.r(r), t.d(r, {
|
W.r(t), W.d(t, {
|
||||||
default: () => c
|
default: () => o
|
||||||
});
|
});
|
||||||
t(136728), t(875640);
|
W(136728), W(875640);
|
||||||
const c = () => {
|
const o = () => {
|
||||||
let ao;
|
let ko;
|
||||||
const ko = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const fo = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const Co = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const ao = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const so = () => ko(Po((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
const mo = () => fo(so((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||||
const So = (n, r) => ao = ao || Po(po((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 Co = (n, t) => ko = ko || so(lo((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 Po = (n, r) => n && n["getAttribute"](r) || "";
|
const so = (n, t) => n && n["getAttribute"](t) || "";
|
||||||
const Ro = n => typeof n == "string" ? new $W()["encode"](n) : n;
|
const vo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const lo = n => crypto.subtle["digest"]("sha-256", Ro(n));
|
const Po = n => crypto.subtle["digest"]("sha-256", vo(n));
|
||||||
const Oo = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const So = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const po = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const lo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const Vo = (n, r, t) => r ? n ^ t[0] : n;
|
const Lo = (n, t, W) => t ? n ^ W[0] : n;
|
||||||
const Mo = (n, r, t) => {
|
const Fo = (n, t, W) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const W = n["animate"](Zo(r), 4096);
|
const r = n["animate"](xo(t), 4096);
|
||||||
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Bo = (n, r, t, W) => {
|
const Ko = (n, t, W, r) => {
|
||||||
{
|
{
|
||||||
const o = n * (t - r) / 255 + r;
|
const o = n * (W - t) / 255 + t;
|
||||||
return W ? (n => Math.floor(n))(o) : o["toFixed"](2);
|
return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Zo = n => ({
|
const xo = n => ({
|
||||||
color: ["#" + Oo(n[0]) + Oo(n[1]) + Oo(n[2]), "#" + Oo(n[3]) + Oo(n[4]) + Oo(n[5])],
|
color: ["#" + So(n[0]) + So(n[1]) + So(n[2]), "#" + So(n[3]) + So(n[4]) + So(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + Bo(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Ko(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => Bo(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Ko(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let Io;
|
let Io;
|
||||||
let No = [];
|
let yo = [];
|
||||||
const Eo = n => {
|
const Ao = n => {
|
||||||
if (!Io) {
|
if (!Io) {
|
||||||
const g = So(".r-ei3t6", n);
|
const Dn = Co(".r-167j40", n);
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const q = new RTCPeerConnection();
|
const W = new RTCPeerConnection();
|
||||||
const Q = (() => Math.random())()["toString"](36);
|
const o = (() => Math.random())()["toString"](36);
|
||||||
Ko = q["createDataChannel"](Q), q["createOffer"]()["then"](w => {
|
bo = W["createDataChannel"](o), W["createOffer"]()["then"](u => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const r = w["sdp"] || Q;
|
const t = u["sdp"] || o;
|
||||||
No = Array.from(Ro([r[n[5] % 8] || "4", r[n[8] % 8]])), q["close"]();
|
yo = Array.from(vo([t[n[5] % 8] || "4", t[n[8] % 8]])), W["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
Mo(F, g[n[40] % 16], n[2] % 16 * (n[11] % 16) * (n[3] % 16));
|
Fo(Mn, Dn[n[30] % 16], n[43] % 16 * (n[31] % 16) * (n[8] % 16));
|
||||||
const I = getComputedStyle(F);
|
const Bn = getComputedStyle(Mn);
|
||||||
Io = Array.from(("" + I["color"] + I["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), H();
|
Io = Array.from(("" + Bn["color"] + Bn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Vn();
|
||||||
}
|
}
|
||||||
return Io;
|
return Io;
|
||||||
};
|
};
|
||||||
return async (n, r) => {
|
return async (n, t) => {
|
||||||
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
const e = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||||
const e = so();
|
const i = mo();
|
||||||
const i = Eo(e);
|
const k = Ao(i);
|
||||||
return Co(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await lo([r, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](No)), [3]))["map"](Vo));
|
return ao(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Po([t, n, c]["join"]("!") + "obfiowerehiring" + k)))["concat"](yo)), [3]))["map"](Lo));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
204
output/fork.js
204
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