mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Recipe errors are now ignored in the Magic operation
This commit is contained in:
parent
99ade42e9a
commit
1760ab2305
1 changed files with 3 additions and 1 deletions
|
@ -244,7 +244,9 @@ class Magic {
|
||||||
if (ENVIRONMENT_IS_WORKER()) self.loadRequiredModules([opConfig]);
|
if (ENVIRONMENT_IS_WORKER()) self.loadRequiredModules([opConfig]);
|
||||||
|
|
||||||
const recipe = new Recipe([opConfig]);
|
const recipe = new Recipe([opConfig]);
|
||||||
|
try {
|
||||||
await recipe.execute(dish, 0);
|
await recipe.execute(dish, 0);
|
||||||
|
} catch (err) {} // Ignore errors
|
||||||
|
|
||||||
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER), this.opPatterns),
|
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER), this.opPatterns),
|
||||||
speculativeResults = await magic.speculativeExecution(
|
speculativeResults = await magic.speculativeExecution(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue