wip crack handler

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 91ab2e9b41
commit 27f42c5b65
23 changed files with 406 additions and 229 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import { LoadConfigResponse2 } from "../response/loadConfig2";
export function loadConfig2(res: LoadConfigResponse2) {
const buf = Buffer.alloc(0x230);
const buf = Buffer.alloc(0x0230);
buf.writeInt16LE(0x0065, 0x0000);
buf.writeInt16LE(0x00ac, 0x0000);
buf.writeInt8(res.status, 0x0002);
return buf;