mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Added additional arithmetic source
This commit is contained in:
parent
b9b4147c2f
commit
5368040e83
4 changed files with 65 additions and 27 deletions
|
@ -159,6 +159,7 @@ const Categories = [
|
|||
{
|
||||
name: "Utils",
|
||||
ops: [
|
||||
"Arithmetic",
|
||||
"Diff",
|
||||
"Remove whitespace",
|
||||
"Remove null bytes",
|
||||
|
|
|
@ -661,8 +661,8 @@ const OperationConfig = {
|
|||
"Arithmetic": {
|
||||
module: "Default",
|
||||
description: "Conducts mathamatical operations on a list of numbers",
|
||||
inputType: "string"
|
||||
outputType: "string"
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Delimiter",
|
||||
|
@ -670,7 +670,7 @@ const OperationConfig = {
|
|||
value: Arithmetic.DELIM_OPTIONS
|
||||
},
|
||||
{
|
||||
name: "Operation"
|
||||
name: "Operation",
|
||||
type: "option",
|
||||
value: Arithmetic.OPERATIONS
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import FlowControl from "../../FlowControl.js";
|
||||
import Arithmetic from "../../operations/Arithmetic.js";
|
||||
import Base from "../../operations/Base.js";
|
||||
import Base58 from "../../operations/Base58.js";
|
||||
import Base64 from "../../operations/Base64.js";
|
||||
|
@ -155,7 +156,11 @@ OpModules.Default = {
|
|||
"Conditional Jump": FlowControl.runCondJump,
|
||||
"Return": FlowControl.runReturn,
|
||||
"Comment": FlowControl.runComment,
|
||||
<<<<<<< HEAD
|
||||
"PHP Deserialize": PHP.runDeserialize,
|
||||
=======
|
||||
"Arithmetic": Arithmetic.runOp,
|
||||
>>>>>>> Added additional arithmetic source
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue