第一步 购买云服务器
个人推荐阿里云服务器 1核2G即可 搞活动一年一百来块钱 系统选择CentOs 7 等待配置完成。
精易签到
body 里面修改Form Data 值
浏览抓包修改COOKIE
const $ = new Env('精易签到');
bankuai()
function bankuai() {
timeout = 0
return new Promise((resolve) => {
let url = {
url: `https://bbs.125.la/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1`,
headers: {
//"access-token": huaruo,
"User-Agent": "",//可填可不填
"cookie": "填写你的CK",//必填
"referer": "https://bbs.125.la/plugin.php?id=dsu_paulsign:sign"
},
body: `formhash=b7975ab2&submit=1&targerurl=&todaysay=&qdxq=kx`,//必填
}
$.post(url, async (err, resp, data) => {
try {
let result = JSON.parse(data)
// bianhao = result.data.voltage
if (result.status == 1) {
console.log("积累签到次数:" + result.data.days)
console.log("本月签到次数:" + result.data.mdays)
console.log("当前总有奖励:" + result.data.reward)
console.log("上一次签到是:" + result.data.qtime)
} else {
console.log(`${result.msg}`)
}
} catch (e) {
} finally {
resolve()
}
}, timeout)
});
}
//env模块 不要动
function Env(t, e) { class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `\ud83d\udd14${this.na