mirror of
https://github.com/gchq/CyberChef
synced 2024-11-16 09:27:56 +00:00
Change get input function calls
This commit is contained in:
parent
bd3777f9de
commit
f099a352b3
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ class ControlsWaiter {
|
|||
*/
|
||||
bakeClick() {
|
||||
if (document.getElementById("bake").textContent.indexOf("Bake") > 0) {
|
||||
this.app.bake();
|
||||
this.app.manager.input.getAll();
|
||||
} else {
|
||||
this.manager.worker.cancelBake();
|
||||
}
|
||||
|
@ -123,7 +123,7 @@ class ControlsWaiter {
|
|||
window.location.host +
|
||||
window.location.pathname;
|
||||
const recipeStr = Utils.generatePrettyRecipe(recipeConfig);
|
||||
const inputStr = toBase64(this.app.getInput(), "A-Za-z0-9+/"); // B64 alphabet with no padding
|
||||
const inputStr = toBase64(this.app.getInput().input, "A-Za-z0-9+/"); // B64 alphabet with no padding
|
||||
|
||||
includeRecipe = includeRecipe && (recipeConfig.length > 0);
|
||||
// Only inlcude input if it is less than 50KB (51200 * 4/3 as it is Base64 encoded)
|
||||
|
|
Loading…
Reference in a new issue