This commit is contained in:
bytedream 2025-05-08 01:59:29 +02:00
parent d159fb0aa4
commit 47f6de2de8

View File

@ -325,7 +325,7 @@ export const Voe: Match = {
// voe.sx // voe.sx
/(?<=window\.location\.href\s=\s')\S*(?=')/gm, /(?<=window\.location\.href\s=\s')\S*(?=')/gm,
// whatever site voe.sx redirects to // whatever site voe.sx redirects to
/(?<=")\S+(@\$|\^\^|~@|%\?|\*~|!!|#&)(?=")/gm /(?<=<script type="application\/json">).*(?=<\/script>)/m
], ],
match: async function (match: RegExpMatchArray) { match: async function (match: RegExpMatchArray) {
@ -334,7 +334,10 @@ export const Voe: Match = {
await TmpHost.set(redirectUrl.host, Voe); await TmpHost.set(redirectUrl.host, Voe);
return null; return null;
} else { } else {
let deobfuscated = match[0]; let json = match[0];
json = JSON.parse(json);
let deobfuscated = json[0];
deobfuscated = this.rot13(deobfuscated); deobfuscated = this.rot13(deobfuscated);
deobfuscated = this.removeSpecialSequences(deobfuscated); deobfuscated = this.removeSpecialSequences(deobfuscated);
deobfuscated = atob(deobfuscated); deobfuscated = atob(deobfuscated);