feat: 工具链就绪(bleak/pillow/pytest/capstone/androguard) + Web协议提取报告
This commit is contained in:
1 parent
30571dc0a5
commit
cb7eee312f
11 files changed
+8006
No files matched your search
@@ -0,0 +1,15 @@
|
||||
|
||||
function hexToBytes(hex) {
|
||||
for (var bytes = [], c = 0; c < hex.length; c += 2)
|
||||
bytes.push(parseInt(hex.substr(c, 2), 16));
|
||||
return new Uint8Array(bytes);
|
||||
}
|
||||
function bytesToHex(data) {
|
||||
return new Uint8Array(data).reduce(
|
||||
function (memo, i) {
|
||||
return memo + ("0" + i.toString(16)).slice(-2);
|
||||
}, "");
|
||||
}
|
||||
function intToHex(intIn, bytes = 4) {
|
||||
return intIn.toString(16).padStart(bytes * 2, '0');
|
||||
}
|
||||
Reference in new issue
Block a user