mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Magic signatures
This commit is contained in:
parent
610d46a1a4
commit
aa206d7b37
9 changed files with 88 additions and 0 deletions
|
@ -37,6 +37,23 @@ class ChangeIPFormat extends Operation {
|
|||
"value": ["Dotted Decimal", "Decimal", "Octal", "Hex"]
|
||||
}
|
||||
];
|
||||
this.patterns = [
|
||||
{
|
||||
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
|
||||
flags: "",
|
||||
args: ["Dotted Decimal","Decimal"]
|
||||
},
|
||||
{
|
||||
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
|
||||
flags: "",
|
||||
args: ["Dotted Decimal","Octal"]
|
||||
},
|
||||
{
|
||||
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
|
||||
flags: "",
|
||||
args: ["Dotted Decimal","Hex"]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue