mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 17:56:15 -04:00
Merge a51ead9051
into 7c8be12d52
This commit is contained in:
commit
2280c87374
4 changed files with 108 additions and 0 deletions
|
@ -303,4 +303,33 @@ TestRegister.addTests([
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Protobuf Stream Decode: no schema",
|
||||
input: "0d081c1203596f751a024d65202b0c0a0a0a066162633132331200",
|
||||
expectedOutput: JSON.stringify([
|
||||
{
|
||||
"1": 28,
|
||||
"2": "You",
|
||||
"3": "Me",
|
||||
"4": 43
|
||||
},
|
||||
{
|
||||
"1": {
|
||||
"1": "abc123",
|
||||
"2": {}
|
||||
}
|
||||
}
|
||||
], null, 4),
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "From Hex",
|
||||
"args": ["Auto"]
|
||||
},
|
||||
{
|
||||
"op": "Protobuf Stream Decode",
|
||||
"args": [false]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue