mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
Input & Output then just Output
This commit is contained in:
parent
40c7e63046
commit
a35e3348d8
1 changed files with 12 additions and 7 deletions
|
@ -279,6 +279,11 @@ class Magic {
|
|||
});
|
||||
const prevOp = recipeConfig[recipeConfig.length - 1];
|
||||
|
||||
/**
|
||||
*
|
||||
* @param flag
|
||||
* @param sensible
|
||||
*/
|
||||
async function regexesTests(flag, sensible) {
|
||||
|
||||
// Execute each of the matching operations, then recursively call the speculativeExecution()
|
||||
|
@ -319,8 +324,8 @@ class Magic {
|
|||
}
|
||||
|
||||
regexesTests(1, matchingOps);
|
||||
regexesTests(0, this.opPatterns.getOutputRegexes());
|
||||
//console.log("haha",this.opPatterns.getOutputRegexes());
|
||||
// regexesTests(0, this.opPatterns.getOutputRegexes());
|
||||
// console.log("haha", results);
|
||||
|
||||
if (intensive) {
|
||||
// Run brute forcing of various types on the data and create a new branch for each option
|
||||
|
@ -348,7 +353,7 @@ class Magic {
|
|||
)
|
||||
);
|
||||
|
||||
// console.log(prunedResults);
|
||||
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