mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Merge branch 'feature-ebcdic' of github.com:tlwr/CyberChef into feature-ebcdic
This commit is contained in:
commit
4b1d0fd011
72 changed files with 1480 additions and 1002 deletions
|
@ -273,6 +273,9 @@ const Categories = [
|
|||
"CSS selector",
|
||||
"Strip HTML tags",
|
||||
"Diff",
|
||||
"To Snake case",
|
||||
"To Camel case",
|
||||
"To Kebab case",
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -294,6 +297,7 @@ const Categories = [
|
|||
"Jump",
|
||||
"Conditional Jump",
|
||||
"Return",
|
||||
"Comment"
|
||||
]
|
||||
},
|
||||
];
|
||||
|
|
|
@ -162,6 +162,20 @@ const OperationConfig = {
|
|||
flowControl: true,
|
||||
args: []
|
||||
},
|
||||
"Comment": {
|
||||
description: "Provides a place to write comments within the flow of the recipe. This operation has no computational effect.",
|
||||
run: FlowControl.runComment,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
flowControl: true,
|
||||
args: [
|
||||
{
|
||||
name: "",
|
||||
type: "text",
|
||||
value: ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"From Base64": {
|
||||
description: "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.<br><br>This operation decodes data from an ASCII Base64 string back into its raw format.<br><br>e.g. <code>aGVsbG8=</code> becomes <code>hello</code>",
|
||||
run: Base64.runFrom,
|
||||
|
@ -1409,6 +1423,11 @@ const OperationConfig = {
|
|||
type: "number",
|
||||
value: Cipher.KDF_ITERATIONS
|
||||
},
|
||||
{
|
||||
name: "Hashing function",
|
||||
type: "option",
|
||||
value: Cipher.HASHERS
|
||||
},
|
||||
{
|
||||
name: "Salt (hex)",
|
||||
type: "string",
|
||||
|
@ -1442,6 +1461,11 @@ const OperationConfig = {
|
|||
type: "number",
|
||||
value: Cipher.KDF_ITERATIONS
|
||||
},
|
||||
{
|
||||
name: "Hashing function",
|
||||
type: "option",
|
||||
value: Cipher.HASHERS
|
||||
},
|
||||
{
|
||||
name: "Salt (hex)",
|
||||
type: "string",
|
||||
|
@ -3271,6 +3295,69 @@ const OperationConfig = {
|
|||
},
|
||||
]
|
||||
},
|
||||
"To Snake case": {
|
||||
description: [
|
||||
"Converts the input string to snake case.",
|
||||
"<br><br>",
|
||||
"Snake case is all lower case with underscores as word boundaries.",
|
||||
"<br><br>",
|
||||
"e.g. this_is_snake_case",
|
||||
"<br><br>",
|
||||
"'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.",
|
||||
].join("\n"),
|
||||
run: Code.runToSnakeCase,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Attempt to be context aware",
|
||||
type: "boolean",
|
||||
value: false,
|
||||
},
|
||||
]
|
||||
},
|
||||
"To Camel case": {
|
||||
description: [
|
||||
"Converts the input string to camel case.",
|
||||
"<br><br>",
|
||||
"Camel case is all lower case except letters after word boundaries which are uppercase.",
|
||||
"<br><br>",
|
||||
"e.g. thisIsCamelCase",
|
||||
"<br><br>",
|
||||
"'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.",
|
||||
].join("\n"),
|
||||
run: Code.runToCamelCase,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Attempt to be context aware",
|
||||
type: "boolean",
|
||||
value: false,
|
||||
},
|
||||
]
|
||||
},
|
||||
"To Kebab case": {
|
||||
description: [
|
||||
"Converts the input string to kebab case.",
|
||||
"<br><br>",
|
||||
"Kebab case is all lower case with dashes as word boundaries.",
|
||||
"<br><br>",
|
||||
"e.g. this-is-kebab-case",
|
||||
"<br><br>",
|
||||
"'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.",
|
||||
].join("\n"),
|
||||
run: Code.runToKebabCase,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Attempt to be context aware",
|
||||
type: "boolean",
|
||||
value: false,
|
||||
},
|
||||
]
|
||||
},
|
||||
};
|
||||
|
||||
export default OperationConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue