From 9d884d1444176a5f67d8f7ec98e3b72e77d1e4b5 Mon Sep 17 00:00:00 2001 From: action Date: Tue, 29 Apr 2025 06:33:10 +0000 Subject: [PATCH] Add decoded output file --- output.js | 23 +++++++++++++++++++---- output.py | Bin 25928 -> 25928 bytes 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/output.js b/output.js index 6d703ed..78d9485 100644 --- a/output.js +++ b/output.js @@ -1,7 +1,22 @@ -//Tue Apr 29 2025 06:32:38 GMT+0000 (Coordinated Universal Time) +//Tue Apr 29 2025 06:33:10 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action -function getBarrageUrl(_0x22aee3) { - var _0x10845d = util.format("https://api.bilibili.com/x/v1/dm/list.so?oid=%s", _0x22aee3); - return _0x10845d; +function unzipGzipFile(_0xee6694, _0x19f4af) { + var _0xee6694 = _0xee6694 || "/sdcard/tempSourceGzipFilePath.js"; + var _0x19f4af = _0x19f4af || "/sdcard/tempTargetPath.js"; + log("sourceGzipFilePath"); + log(_0xee6694); + log("targetPath"); + log(_0x19f4af); + var _0x51a827 = 8192; + var _0x17cb5a = new FileInputStream(_0xee6694); + var _0x5d7851 = new GZIPInputStream(_0x17cb5a); + var _0x4330c5 = util.java.array("byte", _0x51a827); + var _0x24335d = new FileOutputStream(_0x19f4af); + var _0x465cdf; + while ((_0x465cdf = _0x5d7851.read(_0x4330c5, 0, _0x51a827)) != -1) { + _0x24335d.write(_0x4330c5, 0, _0x465cdf); + } + _0x24335d.close(); + _0x5d7851.close(); } \ No newline at end of file diff --git a/output.py b/output.py index 7e97242dbc6ae50f044c7b593fd8344be4d1d244..6e75a5125e324041191576ff9bf5e847dc54f888 100644 GIT binary patch delta 31 mcmX?cit)rLMiFHr10z#i0~1{%O9cZnD`R6T1Cxy+CaD0I=Lm8D delta 31 mcmX?cit)rLMiFHr10z#i0~1{%O9cZnD`O)oBa4k9CaD0I{|I*g