mirror of
https://github.com/gchq/CyberChef
synced 2025-12-26 05:03:22 +00:00
ESM: Added portOperation.mjs script. Added To and From Hexdump operations.
This commit is contained in:
@@ -199,8 +199,13 @@ App.prototype.populateOperationsList = function() {
|
||||
cat = new HTMLCategory(catConf.name, selected);
|
||||
|
||||
for (let j = 0; j < catConf.ops.length; j++) {
|
||||
const opName = catConf.ops[j],
|
||||
op = new HTMLOperation(opName, this.operations[opName], this, this.manager);
|
||||
const opName = catConf.ops[j];
|
||||
if (!this.operations.hasOwnProperty(opName)) {
|
||||
log.warn(`${opName} could not be found.`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const op = new HTMLOperation(opName, this.operations[opName], this, this.manager);
|
||||
cat.addOperation(op);
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import CanvasComponents from "../core/vendor/canvascomponents.js";
|
||||
|
||||
// CyberChef
|
||||
import App from "./App.js";
|
||||
import Categories from "../core/config/Categories.js";
|
||||
import Categories from "../core/config/Categories.json";
|
||||
import OperationConfig from "../core/config/OperationConfig.json";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user