mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Add image format pattern.
("borrowed" from RenderImage)
This commit is contained in:
parent
21a8d03201
commit
11451ac6b9
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,14 @@ class ParseQRCode extends Operation {
|
||||||
"value": false
|
"value": false
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
this.patterns = [
|
||||||
|
{
|
||||||
|
"match": "^(?:\\xff\\xd8\\xff|\\x89\\x50\\x4e\\x47|\\x47\\x49\\x46|.{8}\\x57\\x45\\x42\\x50|\\x42\\x4d)",
|
||||||
|
"flags": "",
|
||||||
|
"args": [false],
|
||||||
|
"useful": true
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue