mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Regexes for magic for the new alphabets
This commit is contained in:
parent
d2ea1273da
commit
bda36e508a
1 changed files with 20 additions and 0 deletions
|
@ -102,6 +102,26 @@ class FromBase64 extends Operation {
|
||||||
flags: "i",
|
flags: "i",
|
||||||
args: ["./0-9A-Za-z", true]
|
args: ["./0-9A-Za-z", true]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pattern: "^\\s*(?:[A-Z=\\d\\+/]{4}){5,}(?:[A-Z=\\d\\+/]{2}CC|[A-Z=\\d\\+/]{3}C)?\\s*$",
|
||||||
|
flags: "i",
|
||||||
|
args: ["/128GhIoPQROSTeUbADfgHijKLM+n0pFWXY456xyzB7=39VaqrstJklmNuZvwcdEC", true]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pattern: "^\\s*(?:[A-Z=\\d\\+/]{4}){5,}(?:[A-Z=\\d\\+/]{2}55|[A-Z=\\d\\+/]{3}5)?\\s*$",
|
||||||
|
flags: "i",
|
||||||
|
args: ["3GHIJKLMNOPQRSTUb=cdefghijklmnopWXYZ/12+406789VaqrstuvwxyzABCDEF5", true]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pattern: "^\\s*(?:[A-Z=\\d\\+/]{4}){5,}(?:[A-Z=\\d\\+/]{2}22|[A-Z=\\d\\+/]{3}2)?\\s*$",
|
||||||
|
flags: "i",
|
||||||
|
args: ["ZKj9n+yf0wDVX1s/5YbdxSo=ILaUpPBCHg8uvNO4klm6iJGhQ7eFrWczAMEq3RTt2", true]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pattern: "^\\s*(?:[A-Z=\\d\\+/]{4}){5,}(?:[A-Z=\\d\\+/]{2}55|[A-Z=\\d\\+/]{3}5)?\\s*$",
|
||||||
|
flags: "i",
|
||||||
|
args: ["HNO4klm6ij9n+J2hyf0gzA8uvwDEq3X1Q7ZKeFrWcVTts/MRGYbdxSo=ILaUpPBC5", true]
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue