1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Trim superfluous ( in BinData notation

This commit is contained in:
Romein van Buren 2023-01-25 16:16:40 +01:00
parent e28bc40ef1
commit 634a655b5f
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -77,7 +77,7 @@
value = value.slice(7, -1);
}
else if (value.startsWith('Binary(Buffer.from(')) {
value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(18, -1)}`;
value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(19, -1)}`;
}
}
else if (isDate(value)) {