mirror of
https://github.com/gchq/CyberChef
synced 2025-03-13 21:36:56 +00:00
PEMToHex: add magic check so it gets found
This commit is contained in:
parent
1dbcd2ac84
commit
b7a978505f
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ class PEMToHex extends Operation {
|
|||
this.inputType = "string";
|
||||
this.outputType = "string";
|
||||
this.args = [];
|
||||
this.checks = [
|
||||
{
|
||||
"pattern": "----BEGIN ([A-Z][A-Z ]+[A-Z])-----",
|
||||
"args": []
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue