mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
The Magic operation now only checks the most commonly used Internet languages by default, to lower false positives and improve performance.
This commit is contained in:
parent
2bc563b693
commit
544d78f461
3 changed files with 64 additions and 48 deletions
|
@ -267,10 +267,11 @@ const FlowControl = {
|
|||
runMagic: async function(state) {
|
||||
const ings = state.opList[state.progress].getIngValues(),
|
||||
depth = ings[0],
|
||||
extLang = ings[1],
|
||||
dish = state.dish,
|
||||
currentRecipeConfig = state.opList.map(op => op.getConfig()),
|
||||
magic = new Magic(dish.get(Dish.ARRAY_BUFFER)),
|
||||
options = await magic.speculativeExecution(depth);
|
||||
options = await magic.speculativeExecution(depth, extLang);
|
||||
|
||||
let output = `<table
|
||||
class='table table-hover table-condensed table-bordered'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue