mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 23:50:28 +01:00
Update deobfuscation
This commit is contained in:
parent
f45d3349b6
commit
032c42efdf
2 changed files with 120 additions and 124 deletions
149
output/a.js
149
output/a.js
|
|
@ -1,104 +1,111 @@
|
||||||
"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, t, W) => {
|
227900: (n, t, r) => {
|
||||||
W.r(t), W.d(t, {
|
r.r(t), r.d(t, {
|
||||||
default: () => u
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
r(136728), r(875640);
|
||||||
const u = () => {
|
const c = () => {
|
||||||
const [yo, go] = [document, window],
|
const [fo, io] = [document, window],
|
||||||
[Oo, Qo, wo, Vo, Go, No, ho, lo, Po, Io, Ho, jo, Fo] = [go["Number"], go["TextEncoder"], go["Uint8Array"], n => yo["querySelectorAll"](n), go["Date"], go["Uint32Array"], go["crypto"]["subtle"], go["Array"]["from"], go["Math"], go["RTCPeerConnection"], go["Promise"], go["Function"], go["getComputedStyle"]];
|
[ko, so, ao, Ro, mo, Co, Oo, So, Qo, lo, po, Go, ho] = [io["Number"], io["TextEncoder"], io["Uint8Array"], n => fo["querySelectorAll"](n), io["Date"], io["Uint32Array"], io["crypto"]["subtle"], io["Array"]["from"], io["Math"], io["RTCPeerConnection"], io["Promise"], io["Function"], io["getComputedStyle"]];
|
||||||
let bo;
|
let qo;
|
||||||
const Bo = n => btoa(lo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
const Io = n => btoa(So(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
Jo = () => {
|
Jo = () => {
|
||||||
return n = Zo(Vo("[name^=tw]")[0], "content"), new wo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
return n = xo(Ro("[name^=tw]")[0], "content"), new ao(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
var n;
|
var n;
|
||||||
},
|
},
|
||||||
Ao = (n, t) => bo = bo || Zo(Uo(Vo(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Oo)),
|
No = (n, t) => qo = qo || xo(Lo(Ro(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](ko)),
|
||||||
Zo = (n, t) => n && n["getAttribute"](t) || "",
|
xo = (n, t) => n && n["getAttribute"](t) || "",
|
||||||
Ko = n => typeof n == "string" ? new Qo()["encode"](n) : n,
|
Fo = n => typeof n == "string" ? new so()["encode"](n) : n,
|
||||||
Yo = n => ho["digest"]("sha-256", Ko(n)),
|
wo = n => Oo["digest"]("sha-256", Fo(n)),
|
||||||
Do = n => (n < 16 ? "0" : "") + n["toString"](16),
|
Ko = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
Lo = (n, t) => Oo["parseInt"](n, t),
|
Lo = n => So(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
Uo = n => lo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
Eo = () => {
|
||||||
To = () => {
|
const t = {};
|
||||||
|
t["zgDoE"] = "div";
|
||||||
|
const c = t;
|
||||||
{
|
{
|
||||||
const k = new yo(),
|
const t = fo["createElement"](c["zgDoE"]);
|
||||||
s = No()["toString"](36);
|
return fo["body"]["append"](t), [t, () => t([t])];
|
||||||
Eo = k["createDataChannel"](s), k["createOffer"]()["then"](m => {
|
}
|
||||||
try {
|
{
|
||||||
const o = m["sdp"] || s;
|
const t = fo["createElement"]("div");
|
||||||
rr = To(er([o[Ao[5] % 8] || "4", o[Oo[8] % 8]])), k["close"]();
|
return fo["body"]["append"](t), [t, () => Lo([t])];
|
||||||
} catch {}
|
|
||||||
})["catch"](lo);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[xo, Eo, zo, Xo, $o] = [n => Po["round"](n), n => Po["floor"](n), () => Po["random"](), n => n["slice"](0, 16), () => 0],
|
[go, Ho, Uo, bo, To] = [n => Qo["round"](n), n => Qo["floor"](n), () => Qo["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
[_o, nr, tr] = [3, 1682924400, 2 ** (4 * 3)],
|
[Zo, yo, Ao] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
Wr = (n, t, W) => t ? n ^ W[0] : n,
|
Do = (n, t, r) => t ? n ^ r[0] : n,
|
||||||
or = (n, t, W) => {
|
Yo = (n, t, r) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const o = n["animate"](ur(t), tr);
|
const W = n["animate"](jo(t), Ao);
|
||||||
o["pause"](), o["currentTime"] = xo(W / 10) * 10;
|
W["pause"](), W["currentTime"] = go(r / 10) * 10;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
rr = (n, t, W, o) => {
|
Xo = (n, t, r, W) => {
|
||||||
{
|
{
|
||||||
const n = cr * ($o - Oo) / 255 + yo;
|
const o = n * (r - t) / 255 + t;
|
||||||
return No ? Eo(n) : n["toFixed"](2);
|
return W ? Ho(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
const r = n * (W - t) / 255 + t;
|
const n = qo["sdp"] || wo;
|
||||||
return o ? Eo(r) : r["toFixed"](2);
|
r = jo(Vo([n[So[5] % 8] || "4", n[po[8] % 8]])), W["close"]();
|
||||||
}
|
}
|
||||||
var s, m;
|
|
||||||
},
|
},
|
||||||
ur = n => ({
|
jo = n => ({
|
||||||
color: ["#" + Do(n[0]) + Do(n[1]) + Do(n[2]), "#" + Do(n[3]) + Do(n[4]) + Do(n[5])],
|
color: ["#" + Ko(n[0]) + Ko(n[1]) + Ko(n[2]), "#" + Ko(n[3]) + Ko(n[4]) + Ko(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + rr(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Xo(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + lo(n["slice"](7))["map"]((n, t) => rr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + So(n["slice"](7))["map"]((n, t) => Xo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let cr,
|
let Vo,
|
||||||
er,
|
Bo,
|
||||||
fr = [];
|
Mo = [];
|
||||||
const dr = n => {
|
const zo = n => {
|
||||||
const Z = {};
|
if (!Vo) {
|
||||||
Z["COheP"] = "div";
|
const [t, M] = [n[23] % 16, n[38] % 16 * (n[11] % 16) * (n[9] % 16)],
|
||||||
const T = Z;
|
z = No(".r-4d8lxc", n);
|
||||||
if (!cr) {
|
new po(() => {
|
||||||
const [B, J] = [n[24] % 16, n[2] % 16 * (n[47] % 16) * (n[39] % 16)],
|
|
||||||
A = Ao(".r-74wno", n);
|
|
||||||
new Ho(() => {
|
|
||||||
{
|
{
|
||||||
const t = new Io(),
|
const n = Oo * (To - qo) / 255 + wo;
|
||||||
W = zo()["toString"](36);
|
return M ? jo(n) : n["toFixed"](2);
|
||||||
er = t["createDataChannel"](W), t["createOffer"]()["then"](r => {
|
}
|
||||||
|
{
|
||||||
|
const w = new lo(),
|
||||||
|
K = Uo()["toString"](36);
|
||||||
|
Bo = w["createDataChannel"](K), w["createOffer"]()["then"](L => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const n = Oo["sdp"] || yo;
|
const O = new wo(),
|
||||||
No = Eo(Fo([n[Go[5] % 8] || "4", n[zo[8] % 8]])), bo["close"]();
|
S = M()["toString"](36);
|
||||||
|
jo = O["createDataChannel"](S), O["createOffer"]()["then"](t => {
|
||||||
|
try {
|
||||||
|
const e = t["sdp"] || S;
|
||||||
|
Ho = ho(Lo([e[Ao[5] % 8] || "4", e[yo[8] % 8]])), O["close"]();
|
||||||
|
} catch {}
|
||||||
|
var c, u;
|
||||||
|
})["catch"](xo);
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"]($o);
|
})["catch"](To);
|
||||||
}
|
}
|
||||||
})["catch"]($o);
|
})["catch"](To);
|
||||||
const [Z, x] = To();
|
const [$, _] = Eo();
|
||||||
or(Z, A[B], J);
|
Yo($, z[t], M);
|
||||||
const E = Fo(Z);
|
const nn = ho($);
|
||||||
cr = lo(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Oo(Oo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), x();
|
Vo = So(("" + nn["color"] + nn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => ko(ko(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), _();
|
||||||
}
|
}
|
||||||
return cr;
|
return Vo;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, t) => {
|
||||||
const r = Eo((Go["now"]() - nr * 1e3) / 1e3),
|
const f = Ho((mo["now"]() - yo * 1e3) / 1e3),
|
||||||
u = new wo(new No([r])["buffer"]),
|
d = new ao(new Co([f])["buffer"]),
|
||||||
c = Jo(),
|
i = Jo(),
|
||||||
e = dr(c);
|
k = zo(i);
|
||||||
return Bo(new wo([zo() * 256]["concat"](lo(c), lo(u), Xo(lo(new wo(await Yo([t, n, r]["join"]("!") + "obfiowerehiring" + e)))["concat"](fr)), [_o]))["map"](Wr));
|
return Io(new ao([Uo() * 256]["concat"](So(i), So(d), bo(So(new ao(await wo([t, n, f]["join"]("!") + "obfiowerehiring" + k)))["concat"](Mo)), [Zo]))["map"](Do));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.efd5fdba.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.b0cd309a.js.map
|
||||||
95
output/b.js
95
output/b.js
|
|
@ -1,77 +1,66 @@
|
||||||
"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, t, W) => {
|
227900: (n, t, r) => {
|
||||||
W.r(t), W.d(t, {
|
r.r(t), r.d(t, {
|
||||||
default: () => u
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
r(136728), r(875640);
|
||||||
const u = () => {
|
const c = () => {
|
||||||
let bo;
|
let qo;
|
||||||
const Bo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const Io = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
const Jo = () => {
|
const Jo = () => {
|
||||||
return n = Zo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
return n = xo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
};
|
};
|
||||||
const Ao = (n, t) => bo = bo || Zo(Uo((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 No = (n, t) => qo = qo || xo(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 Zo = (n, t) => n && n["getAttribute"](t) || "";
|
const xo = (n, t) => n && n["getAttribute"](t) || "";
|
||||||
const Ko = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const Fo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const Yo = n => crypto.subtle["digest"]("sha-256", Ko(n));
|
const wo = n => crypto.subtle["digest"]("sha-256", Fo(n));
|
||||||
const Do = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const Ko = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const Uo = 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 Eo = n => Math.floor(n);
|
const Ho = n => Math.floor(n);
|
||||||
const Wr = (n, t, W) => t ? n ^ W[0] : n;
|
const Do = (n, t, r) => t ? n ^ r[0] : n;
|
||||||
const or = (n, t, W) => {
|
const Yo = (n, t, r) => {
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const o = n["animate"](ur(t), 4096);
|
const W = n["animate"](jo(t), 4096);
|
||||||
o["pause"](), o["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const rr = (n, t, W, o) => {
|
const Xo = (n, t, r, W) => {
|
||||||
{
|
{
|
||||||
const n = cr * ((() => 0) - Number) / 255 + document;
|
const o = n * (r - t) / 255 + t;
|
||||||
return No ? Eo(n) : n["toFixed"](2);
|
return W ? Ho(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const ur = n => ({
|
const jo = n => ({
|
||||||
color: ["#" + Do(n[0]) + Do(n[1]) + Do(n[2]), "#" + Do(n[3]) + Do(n[4]) + Do(n[5])],
|
color: ["#" + Ko(n[0]) + Ko(n[1]) + Ko(n[2]), "#" + Ko(n[3]) + Ko(n[4]) + Ko(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + rr(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + Xo(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => rr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Xo(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let cr;
|
let Vo;
|
||||||
let fr = [];
|
let Mo = [];
|
||||||
const dr = n => {
|
const zo = n => {
|
||||||
const Z = {
|
if (!Vo) {
|
||||||
"COheP": "div"
|
const z = No(".r-4d8lxc", n);
|
||||||
};
|
|
||||||
if (!cr) {
|
|
||||||
const A = Ao(".r-74wno", n);
|
|
||||||
new Promise(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const t = new RTCPeerConnection();
|
const n = crypto.subtle * ((() => 0) - qo) / 255 + wo;
|
||||||
const W = (() => Math.random())()["toString"](36);
|
return n[38] % 16 * (n[11] % 16) * (n[9] % 16) ? jo(n) : n["toFixed"](2);
|
||||||
er = t["createDataChannel"](W), t["createOffer"]()["then"](r => {
|
|
||||||
try {
|
|
||||||
{
|
|
||||||
const n = Number["sdp"] || document;
|
|
||||||
No = Eo(getComputedStyle([n[Date[5] % 8] || "4", n[(() => Math.random())[8] % 8]])), bo["close"]();
|
|
||||||
}
|
|
||||||
} catch {}
|
|
||||||
})["catch"](() => 0);
|
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
or(Z, A[n[24] % 16], n[2] % 16 * (n[47] % 16) * (n[39] % 16));
|
Yo($, z[n[23] % 16], n[38] % 16 * (n[11] % 16) * (n[9] % 16));
|
||||||
const E = getComputedStyle(Z);
|
const nn = getComputedStyle($);
|
||||||
cr = Array.from(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), x();
|
Vo = Array.from(("" + nn["color"] + nn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), _();
|
||||||
}
|
}
|
||||||
return cr;
|
return Vo;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, t) => {
|
||||||
const r = Eo((Date["now"]() - 1682924400000) / 1e3);
|
const f = Ho((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const u = new Uint8Array(new No([r])["buffer"]);
|
const d = new Uint8Array(new Uint32Array([f])["buffer"]);
|
||||||
const c = Jo();
|
const i = Jo();
|
||||||
const e = dr(c);
|
const k = zo(i);
|
||||||
return Bo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Yo([t, n, r]["join"]("!") + "obfiowerehiring" + e)))["concat"](fr)), [3]))["map"](Wr));
|
return Io(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await wo([t, n, f]["join"]("!") + "obfiowerehiring" + k)))["concat"](Mo)), [3]))["map"](Do));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue