mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 11:43:39 +00:00
convert hex string to lower before parsing as ASN.1
This commit is contained in:
@@ -45,7 +45,7 @@ class ParseASN1HexString extends Operation {
|
||||
*/
|
||||
run(input, args) {
|
||||
const [index, truncateLen] = args;
|
||||
return r.ASN1HEX.dump(input.replace(/\s/g, ""), {
|
||||
return r.ASN1HEX.dump(input.replace(/\s/g, "").toLowerCase(), {
|
||||
"ommitLongOctet": truncateLen
|
||||
}, index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user