mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 01:56:54 -04:00
mime-checking added to magic now
This commit is contained in:
parent
0a4fae1576
commit
ee37731858
5 changed files with 37 additions and 3 deletions
|
@ -28,7 +28,7 @@ class ObjectIdentifierToHex extends Operation {
|
|||
this.args = [];
|
||||
this.checks = new magicObject([
|
||||
{
|
||||
match: "^\\s*([0-9]{1,3}\\.?)+\\s*$",
|
||||
match: "^\\s*([0-9]{1,3}\\.)+[0-9]{1,3}\\s*$",
|
||||
flags: "",
|
||||
magic: true,
|
||||
args: []
|
||||
|
|
|
@ -44,7 +44,12 @@ class RenderImage extends Operation {
|
|||
args: ["Raw"],
|
||||
useful: true
|
||||
}
|
||||
]);
|
||||
],
|
||||
null,
|
||||
{
|
||||
type: "Image",
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue