mirror of
https://github.com/gchq/CyberChef
synced 2026-01-06 18:43:23 +00:00
Added detection patterns for non-standard Base64 alphabets, Base58 and Base32.
This commit is contained in:
@@ -264,13 +264,12 @@ const FlowControl = {
|
||||
* @returns {Object} The updated state of the recipe.
|
||||
*/
|
||||
runMagic: function(state) {
|
||||
const dish = state.dish;
|
||||
const dish = state.dish,
|
||||
magic = new Magic(dish.get(Dish.ARRAY_BUFFER));
|
||||
|
||||
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER));
|
||||
|
||||
const output = JSON.stringify(magic.detectLanguage(), null, 2) + "\n\n" +
|
||||
const output = JSON.stringify(magic.findMatchingOps(), null, 2) + "\n\n" +
|
||||
JSON.stringify(magic.detectFileType(), null, 2) + "\n\n" +
|
||||
JSON.stringify(magic.findMatchingOps(), null, 2);
|
||||
JSON.stringify(magic.detectLanguage(), null, 2);
|
||||
|
||||
dish.set(output, Dish.STRING);
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user