mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Ported Image operations + some cleanup
This commit is contained in:
parent
eb3a2502f5
commit
709630f39b
8 changed files with 202 additions and 672 deletions
|
@ -45,7 +45,7 @@ import "./tests/operations/Register";
|
|||
import "./tests/operations/Comment";
|
||||
import "./tests/operations/Hash";
|
||||
import "./tests/operations/Hexdump";
|
||||
// import "./tests/operations/Image";
|
||||
import "./tests/operations/Image";
|
||||
import "./tests/operations/MorseCode";
|
||||
import "./tests/operations/MS";
|
||||
import "./tests/operations/PHP";
|
||||
|
|
|
@ -57,7 +57,7 @@ TestRegister.addTests([
|
|||
{
|
||||
name: "Extract EXIF: hello world text (error)",
|
||||
input: "hello world",
|
||||
expectedError: true,
|
||||
expectedOutput: "Could not extract EXIF data from image: Error: Invalid JPEG section offset",
|
||||
recipeConfig: [
|
||||
{
|
||||
op: "Extract EXIF",
|
||||
|
@ -129,7 +129,7 @@ TestRegister.addTests([
|
|||
{
|
||||
name: "Remove EXIF: hello world text (error)",
|
||||
input: "hello world",
|
||||
expectedError: true,
|
||||
expectedOutput: "Could not remove EXIF data from image: Given data is not jpeg.",
|
||||
recipeConfig: [
|
||||
{
|
||||
op: "Remove EXIF",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue