mirror of
https://github.com/gchq/CyberChef
synced 2025-01-01 07:18:47 +00:00
Tidied ROT brute forcing ops
This commit is contained in:
parent
418a7962a5
commit
eb5663a1ed
2 changed files with 26 additions and 26 deletions
|
@ -40,28 +40,28 @@ class ROT13BruteForce extends Operation {
|
|||
value: false
|
||||
},
|
||||
{
|
||||
"name": "Sample length",
|
||||
"type": "number",
|
||||
"value": 100
|
||||
name: "Sample length",
|
||||
type: "number",
|
||||
value: 100
|
||||
},
|
||||
{
|
||||
"name": "Sample offset",
|
||||
"type": "number",
|
||||
"value": 0
|
||||
name: "Sample offset",
|
||||
type: "number",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
"name": "Print amount",
|
||||
"type": "boolean",
|
||||
"value": true
|
||||
name: "Print amount",
|
||||
type: "boolean",
|
||||
value: true
|
||||
},
|
||||
{
|
||||
"name": "Crib (known plaintext string)",
|
||||
"type": "string",
|
||||
"value": ""
|
||||
name: "Crib (known plaintext string)",
|
||||
type: "string",
|
||||
value: ""
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param {byteArray} input
|
||||
* @param {Object[]} args
|
||||
|
|
|
@ -25,28 +25,28 @@ class ROT47BruteForce extends Operation {
|
|||
this.outputType = "string";
|
||||
this.args = [
|
||||
{
|
||||
"name": "Sample length",
|
||||
"type": "number",
|
||||
"value": 100
|
||||
name: "Sample length",
|
||||
type: "number",
|
||||
value: 100
|
||||
},
|
||||
{
|
||||
"name": "Sample offset",
|
||||
"type": "number",
|
||||
"value": 0
|
||||
name: "Sample offset",
|
||||
type: "number",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
"name": "Print amount",
|
||||
"type": "boolean",
|
||||
"value": true
|
||||
name: "Print amount",
|
||||
type: "boolean",
|
||||
value: true
|
||||
},
|
||||
{
|
||||
"name": "Crib (known plaintext string)",
|
||||
"type": "string",
|
||||
"value": ""
|
||||
name: "Crib (known plaintext string)",
|
||||
type: "string",
|
||||
value: ""
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param {byteArray} input
|
||||
* @param {Object[]} args
|
||||
|
|
Loading…
Reference in a new issue