mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 17:56:15 -04:00
removing strictMode
I thought it served a different purpose than it did in ./FromBase64.mjs
This commit is contained in:
parent
51eeeded5c
commit
ec899efdc1
1 changed files with 1 additions and 6 deletions
|
@ -35,11 +35,6 @@ class FromHex extends Operation {
|
|||
name: "Remove non-alphabet chars",
|
||||
type: "boolean",
|
||||
value: true
|
||||
},
|
||||
{
|
||||
name: "Strict mode",
|
||||
type: "boolean",
|
||||
value: false
|
||||
}
|
||||
];
|
||||
this.checks = [
|
||||
|
@ -103,7 +98,7 @@ class FromHex extends Operation {
|
|||
*/
|
||||
run(input, args) {
|
||||
const [delim, removeNonAlphChars, strictMode] = [args[0] || "Auto", args[1], args[2]];
|
||||
return fromHex(input, delim, 2, removeNonAlphChars, strictMode);
|
||||
return fromHex(input, delim, 2, removeNonAlphChars);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue