mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Modifications made to magic
This commit is contained in:
parent
41d8c4af17
commit
5da5b2216a
2 changed files with 4 additions and 7 deletions
|
@ -50,19 +50,19 @@ class EscapeUnicodeCharacters extends Operation {
|
||||||
{
|
{
|
||||||
match: "\\\\u(?:[\\da-f]{4,6})",
|
match: "\\\\u(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["\\u"]
|
args: ["\\u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: "%u(?:[\\da-f]{4,6})",
|
match: "%u(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["%u"]
|
args: ["%u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: "U\\+(?:[\\da-f]{4,6})",
|
match: "U\\+(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["U+"]
|
args: ["U+"]
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,10 +44,7 @@ class RenderImage extends Operation {
|
||||||
magic: true,
|
magic: true,
|
||||||
args: ["Raw"],
|
args: ["Raw"],
|
||||||
useful: true
|
useful: true
|
||||||
}],
|
}]
|
||||||
mimeCheck: {
|
|
||||||
type: "image"
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue