mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-03 04:59:13 -04:00
241 lines
No EOL
9 KiB
JSON
241 lines
No EOL
9 KiB
JSON
{
|
||
"From Base32": {
|
||
"module": "Default",
|
||
"description": "Base32 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. It uses a smaller set of characters than Base64, usually the uppercase alphabet and the numbers 2 to 7.",
|
||
"inputType": "string",
|
||
"outputType": "byteArray",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Alphabet",
|
||
"type": "binaryString",
|
||
"value": "A-Z2-7="
|
||
},
|
||
{
|
||
"name": "Remove non-alphabet chars",
|
||
"type": "boolean",
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
"From Base64": {
|
||
"module": "Default",
|
||
"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>",
|
||
"inputType": "string",
|
||
"outputType": "byteArray",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Alphabet",
|
||
"type": "editableOption",
|
||
"value": [
|
||
{
|
||
"name": "Standard: A-Za-z0-9+/=",
|
||
"value": "A-Za-z0-9+/="
|
||
},
|
||
{
|
||
"name": "URL safe: A-Za-z0-9-_",
|
||
"value": "A-Za-z0-9-_"
|
||
},
|
||
{
|
||
"name": "Filename safe: A-Za-z0-9+-=",
|
||
"value": "A-Za-z0-9+\\-="
|
||
},
|
||
{
|
||
"name": "itoa64: ./0-9A-Za-z=",
|
||
"value": "./0-9A-Za-z="
|
||
},
|
||
{
|
||
"name": "XML: A-Za-z0-9_.",
|
||
"value": "A-Za-z0-9_."
|
||
},
|
||
{
|
||
"name": "y64: A-Za-z0-9._-",
|
||
"value": "A-Za-z0-9._-"
|
||
},
|
||
{
|
||
"name": "z64: 0-9a-zA-Z+/=",
|
||
"value": "0-9a-zA-Z+/="
|
||
},
|
||
{
|
||
"name": "Radix-64: 0-9A-Za-z+/=",
|
||
"value": "0-9A-Za-z+/="
|
||
},
|
||
{
|
||
"name": "Uuencoding: [space]-_",
|
||
"value": " -_"
|
||
},
|
||
{
|
||
"name": "Xxencoding: +-0-9A-Za-z",
|
||
"value": "+\\-0-9A-Za-z"
|
||
},
|
||
{
|
||
"name": "BinHex: !-,-0-689@A-NP-VX-Z[`a-fh-mp-r",
|
||
"value": "!-,-0-689@A-NP-VX-Z[`a-fh-mp-r"
|
||
},
|
||
{
|
||
"name": "ROT13: N-ZA-Mn-za-m0-9+/=",
|
||
"value": "N-ZA-Mn-za-m0-9+/="
|
||
},
|
||
{
|
||
"name": "UNIX crypt: ./0-9A-Za-z",
|
||
"value": "./0-9A-Za-z"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "Remove non-alphabet chars",
|
||
"type": "boolean",
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
"From Hex": {
|
||
"module": "Default",
|
||
"description": "Converts a hexadecimal byte string back into its raw value.<br><br>e.g. <code>ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a</code> becomes the UTF-8 encoded string <code>Γειά σου</code>",
|
||
"inputType": "string",
|
||
"outputType": "byteArray",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Delimiter",
|
||
"type": "option",
|
||
"value": [
|
||
"Space",
|
||
"Comma",
|
||
"Semi-colon",
|
||
"Colon",
|
||
"Line feed",
|
||
"CRLF",
|
||
"0x",
|
||
"\\x",
|
||
"None"
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"Show Base64 offsets": {
|
||
"module": "Default",
|
||
"description": "When a string is within a block of data and the whole block is Base64'd, the string itself could be represented in Base64 in three distinct ways depending on its offset within the block.<br><br>This operation shows all possible offsets for a given string so that each possible encoding can be considered.",
|
||
"inputType": "byteArray",
|
||
"outputType": "html",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Alphabet",
|
||
"type": "binaryString",
|
||
"value": "A-Za-z0-9+/="
|
||
},
|
||
{
|
||
"name": "Show variable chars and padding",
|
||
"type": "boolean",
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
"To Base32": {
|
||
"module": "Default",
|
||
"description": "Base32 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. It uses a smaller set of characters than Base64, usually the uppercase alphabet and the numbers 2 to 7.",
|
||
"inputType": "byteArray",
|
||
"outputType": "string",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Alphabet",
|
||
"type": "binaryString",
|
||
"value": "A-Z2-7="
|
||
}
|
||
]
|
||
},
|
||
"To Base64": {
|
||
"module": "Default",
|
||
"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>",
|
||
"inputType": "ArrayBuffer",
|
||
"outputType": "string",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Alphabet",
|
||
"type": "editableOption",
|
||
"value": [
|
||
{
|
||
"name": "Standard: A-Za-z0-9+/=",
|
||
"value": "A-Za-z0-9+/="
|
||
},
|
||
{
|
||
"name": "URL safe: A-Za-z0-9-_",
|
||
"value": "A-Za-z0-9-_"
|
||
},
|
||
{
|
||
"name": "Filename safe: A-Za-z0-9+-=",
|
||
"value": "A-Za-z0-9+\\-="
|
||
},
|
||
{
|
||
"name": "itoa64: ./0-9A-Za-z=",
|
||
"value": "./0-9A-Za-z="
|
||
},
|
||
{
|
||
"name": "XML: A-Za-z0-9_.",
|
||
"value": "A-Za-z0-9_."
|
||
},
|
||
{
|
||
"name": "y64: A-Za-z0-9._-",
|
||
"value": "A-Za-z0-9._-"
|
||
},
|
||
{
|
||
"name": "z64: 0-9a-zA-Z+/=",
|
||
"value": "0-9a-zA-Z+/="
|
||
},
|
||
{
|
||
"name": "Radix-64: 0-9A-Za-z+/=",
|
||
"value": "0-9A-Za-z+/="
|
||
},
|
||
{
|
||
"name": "Uuencoding: [space]-_",
|
||
"value": " -_"
|
||
},
|
||
{
|
||
"name": "Xxencoding: +-0-9A-Za-z",
|
||
"value": "+\\-0-9A-Za-z"
|
||
},
|
||
{
|
||
"name": "BinHex: !-,-0-689@A-NP-VX-Z[`a-fh-mp-r",
|
||
"value": "!-,-0-689@A-NP-VX-Z[`a-fh-mp-r"
|
||
},
|
||
{
|
||
"name": "ROT13: N-ZA-Mn-za-m0-9+/=",
|
||
"value": "N-ZA-Mn-za-m0-9+/="
|
||
},
|
||
{
|
||
"name": "UNIX crypt: ./0-9A-Za-z",
|
||
"value": "./0-9A-Za-z"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"To Hex": {
|
||
"module": "Default",
|
||
"description": "Converts the input string to hexadecimal bytes separated by the specified delimiter.<br><br>e.g. The UTF-8 encoded string <code>Γειά σου</code> becomes <code>ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a</code>",
|
||
"inputType": "ArrayBuffer",
|
||
"outputType": "string",
|
||
"flowControl": false,
|
||
"args": [
|
||
{
|
||
"name": "Delimiter",
|
||
"type": "option",
|
||
"value": [
|
||
"Space",
|
||
"Comma",
|
||
"Semi-colon",
|
||
"Colon",
|
||
"Line feed",
|
||
"CRLF",
|
||
"0x",
|
||
"\\x",
|
||
"None"
|
||
]
|
||
}
|
||
]
|
||
}
|
||
} |