mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 16:25:01 -04:00
Linting
This commit is contained in:
parent
87448a16db
commit
abb2312d95
1 changed files with 0 additions and 5 deletions
|
@ -305,8 +305,6 @@ class Magic {
|
|||
if (op.shouldMatch)
|
||||
return;
|
||||
}
|
||||
console.log(output);
|
||||
console.log(this.inputBuffer);
|
||||
break;
|
||||
}
|
||||
const magic = new Magic(output, this.opPatterns),
|
||||
|
@ -355,7 +353,6 @@ class Magic {
|
|||
|
||||
results = results.concat(await this.regexesTests("Input", matchingOps, prevOp, depth, extLang, intensive, recipeConfig, crib));
|
||||
results = results.concat(await this.regexesTests("Output", this.opPatterns.getOutputRegexes(), prevOp, depth, extLang, intensive, recipeConfig, crib));
|
||||
// console.log("haha", results);
|
||||
|
||||
if (intensive) {
|
||||
// Run brute forcing of various types on the data and create a new branch for each option
|
||||
|
@ -369,7 +366,6 @@ class Magic {
|
|||
}));
|
||||
}
|
||||
|
||||
// console.log(results);
|
||||
|
||||
// Prune branches that result in unhelpful outputs
|
||||
const prunedResults = results.filter(r =>
|
||||
|
@ -382,7 +378,6 @@ class Magic {
|
|||
)
|
||||
);
|
||||
|
||||
// console.log("important", prunedResults);
|
||||
|
||||
// Return a sorted list of possible recipes along with their properties
|
||||
return prunedResults.sort((a, b) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue