强化支付协议校验与证据保护
This commit is contained in:
@@ -141,6 +141,8 @@ const result = {
|
||||
};
|
||||
fs.mkdirSync(path.dirname(outputPath), { recursive: true });
|
||||
fs.writeFileSync(outputPath, JSON.stringify(result, null, 2) + '\n');
|
||||
fs.chmodSync(path.dirname(outputPath), 0o700);
|
||||
fs.chmodSync(outputPath, 0o600);
|
||||
dom.window.close();
|
||||
console.log(`DeviceFP 已保存: ${outputPath}`);
|
||||
console.log(`SessionID: ${result.session_id}`);
|
||||
|
||||
Reference in New Issue
Block a user