mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Merge branch 'totable-operation' of https://github.com/JustAnotherMark/CyberChef into JustAnotherMark-totable-operation
This commit is contained in:
commit
8fc5f59647
4 changed files with 217 additions and 0 deletions
|
@ -37,6 +37,7 @@ import SeqUtils from "../operations/SeqUtils.js";
|
|||
import Shellcode from "../operations/Shellcode.js";
|
||||
import StrUtils from "../operations/StrUtils.js";
|
||||
import Tidy from "../operations/Tidy.js";
|
||||
import ToTable from "../operations/ToTable.js";
|
||||
import Unicode from "../operations/Unicode.js";
|
||||
import URL_ from "../operations/URL.js";
|
||||
|
||||
|
@ -613,6 +614,38 @@ const OperationConfig = {
|
|||
}
|
||||
]
|
||||
},
|
||||
"To Table": {
|
||||
module: "Default",
|
||||
description: "Renders data as a table. Data can be split on different characters and output as a HTML or ASCII table with optional header row.",
|
||||
inputType: "string",
|
||||
outputType: "html",
|
||||
highlight: false,
|
||||
highlightReverse: false,
|
||||
manualBake: false,
|
||||
args: [
|
||||
{
|
||||
name: "Select separator",
|
||||
type: "populateOption",
|
||||
value: ToTable.SEPARATORS,
|
||||
target: 1
|
||||
},
|
||||
{
|
||||
name: "Separator",
|
||||
type: "string",
|
||||
value: ","
|
||||
},
|
||||
{
|
||||
name: "First row header?",
|
||||
type: "boolean",
|
||||
value: false
|
||||
},
|
||||
{
|
||||
name: "Format",
|
||||
type: "option",
|
||||
value: ToTable.FORMATS
|
||||
}
|
||||
]
|
||||
},
|
||||
"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>",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue