Collect authenticated Qinglong scripts batch

This commit is contained in:
Hermes Agent
2026-05-24 03:53:42 +00:00
parent 0d80b33d25
commit 28d62fef03
86 changed files with 18420 additions and 5 deletions

View File

@@ -0,0 +1,33 @@
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/lkong.js
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/lkong.js
// # Repo: Wenmoux/checkbox
// # Path: scripts/lkong.js
// # UploadedAt: 2021-04-16T00:43:18Z
// # SHA256: 31125817fbd89450962eccb39bdd21d8768afc609a6b7b50c59ae078e842da40
// # Category: APP版/抓包
// # Evidence: cookie/token/authorization/header
//
const axios = require("axios");
function task() {
return new Promise(async (resolve) => {
try {
let cookie = config.lkong.cookie;
let url = "http://lkong.cn/index.php?mod=ajax&action=punch";
let res = await axios.get(url, { headers: { cookie: cookie } });
if (res.data.punchday) {
msg = `签到成功✅已连签${res.data.punchday}`;
} else {
msg = res.data.error;
}
console.log(msg);
} catch (err) {
msg = "签到接口请求出错";
console.log(err);
}
resolve("【龙空论坛】:" + msg);
});
}
//task()
module.exports = task;