mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04: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.inputType = "string";
|
||||||
this.outputType = "string";
|
this.outputType = "string";
|
||||||
this.args = [];
|
this.args = [];
|
||||||
|
this.checks = [
|
||||||
|
{
|
||||||
|
"pattern": "----BEGIN ([A-Z][A-Z ]+[A-Z])-----",
|
||||||
|
"args": []
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue