mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Added the magic flag to regexes to say whether it is useful for magic to use
This commit is contained in:
parent
4d9fb7ef58
commit
8df9d6fcf6
43 changed files with 142 additions and 32 deletions
|
@ -38,10 +38,11 @@ class RenderImage extends Operation {
|
|||
];
|
||||
this.checks = new magicObject([
|
||||
{
|
||||
"match": "^(?:\\xff\\xd8\\xff|\\x89\\x50\\x4e\\x47|\\x47\\x49\\x46|.{8}\\x57\\x45\\x42\\x50|\\x42\\x4d)",
|
||||
"flags": "",
|
||||
"args": ["Raw"],
|
||||
"useful": true
|
||||
match: "^(?:\\xff\\xd8\\xff|\\x89\\x50\\x4e\\x47|\\x47\\x49\\x46|.{8}\\x57\\x45\\x42\\x50|\\x42\\x4d)",
|
||||
flags: "",
|
||||
magic: true,
|
||||
args: ["Raw"],
|
||||
useful: true
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue