mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 19:53:26 +00:00
PEMToHex: add magic check so it gets found
This commit is contained in:
@@ -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": []
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user