mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
Repaired the Object Identifier to Hex regex
This commit is contained in:
parent
c42aad7c82
commit
40f253c86b
2 changed files with 2 additions and 11 deletions
|
@ -28,7 +28,7 @@ class ObjectIdentifierToHex extends Operation {
|
||||||
this.args = [];
|
this.args = [];
|
||||||
this.checks = new magicObject([
|
this.checks = new magicObject([
|
||||||
{
|
{
|
||||||
match: "^\\s*([0-9]{1,3}.?)+^\\s*$",
|
match: "^\\s*([0-9]{1,3}\.?)+\\s*$",
|
||||||
flags: "",
|
flags: "",
|
||||||
args: []
|
args: []
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,16 +31,7 @@ class URLDecode extends Operation {
|
||||||
flags: "i",
|
flags: "i",
|
||||||
args: [],
|
args: [],
|
||||||
}
|
}
|
||||||
],
|
]);
|
||||||
/* [
|
|
||||||
{
|
|
||||||
match: "^(?:(http(s)?|ftp):\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$",
|
|
||||||
flags: "i",
|
|
||||||
shouldMatch: true,
|
|
||||||
args: []
|
|
||||||
}
|
|
||||||
] */
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue