Merge branch 'control' of https://github.com/bwhitn/CyberChef into bwhitn-control

This commit is contained in:
n1474335 2017-12-08 13:47:45 +00:00
commit b48e940f2d
5 changed files with 87 additions and 31 deletions

View file

@ -143,9 +143,9 @@ const OperationConfig = {
flowControl: true,
args: [
{
name: "Number of operations to jump over",
type: "number",
value: 0
name: "The Label to Jump to",
type: "string",
value: ""
},
{
name: "Maximum jumps (if jumping backwards)",
@ -167,9 +167,14 @@ const OperationConfig = {
value: ""
},
{
name: "Number of operations to jump over if match found",
type: "number",
value: 0
name: "Negative match (logical NOT)",
type: "boolean",
value: false
},
{
name: "The Label to Jump to",
type: "string",
value: ""
},
{
name: "Maximum jumps (if jumping backwards)",
@ -178,6 +183,20 @@ const OperationConfig = {
}
]
},
"Label": {
module: "Default",
description: "Provides a location for for conditional and fixed jumps to jump.",
inputType: "string",
outputType: "string",
flowControl: true,
args: [
{
name: "Jump Label",
type: "string",
value: ""
}
]
},
"Return": {
module: "Default",
description: "End execution of operations at this point in the recipe.",