This commit is contained in:
pricema
2025-10-09 18:23:49 +08:00
parent a4517aafa2
commit a0d182211d
3 changed files with 98 additions and 13 deletions
+2 -6
View File
@@ -1,7 +1,7 @@
/*!
* @name 微信公众号:星河电视屋
* @description 音源更新,关注微信公众号:星河电视屋
* @version 3
* @version 1
* @author
* @repository https://github.com/lxmusics/lx-music-api-server
*/
@@ -250,12 +250,8 @@ const rHash = (s) => {
checksum = (checksum * 114 + b.charCodeAt()) & 0x7FFFFFFF
return checksum
}
const combinedString = rHash(globalThis.lx.utils.crypto.md5(globalThis.lx.currentScriptInfo.name+globalThis.lx.currentScriptInfo.description))
// 计算结果(由于无法运行,这里直接提供计算结果)
console.log("计算字符串:", combinedString);
// 监听 LX Music 请求事件
if (rHash(globalThis.lx.utils.crypto.md5('微信公众号:洛雪音乐'+'音源更新,关注微信公众号:洛雪音乐')) != 1494383538) {
if (rHash(globalThis.lx.utils.crypto.md5(globalThis.lx.currentScriptInfo.name+globalThis.lx.currentScriptInfo.description)) != 1962382561) {
let i = []
while(true) {
i.push(globalThis.lx.currentScriptInfo.rawScript.repeat(10000))