Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
const { Client } = require('ssh2');
const conn = new Client();
conn.on('ready', () => {
conn.exec('curl -s -A "Mozilla/5.0 (iPhone)" https://hs.yifenbao.cn/api/orders | head -50', (err, stream) => {
if (err) { console.log('ERR:', err); }
else { stream.on('data', (d) => console.log('订单数据:\n', d.toString())); }
stream.on('close', () => conn.end());
});
});
conn.connect({ host: 'hs.yifenbao.cn', port: 22, username: 'root', password: 'Torch1112' });