Merge branch 'feature-exif' of https://github.com/tlwr/CyberChef into tlwr-feature-exif

This commit is contained in:
n1474335 2017-05-13 15:59:48 +01:00
commit ad74e6c475
6 changed files with 158 additions and 0 deletions

View file

@ -207,6 +207,7 @@ const Categories = [
"Regular expression",
"XPath expression",
"CSS selector",
"Extract EXIF",
]
},
{

View file

@ -15,6 +15,7 @@ import Endian from "../operations/Endian.js";
import Entropy from "../operations/Entropy.js";
import Extract from "../operations/Extract.js";
import FileType from "../operations/FileType.js";
import Image from "../operations/Image.js";
import Hash from "../operations/Hash.js";
import Hexdump from "../operations/Hexdump.js";
import HTML from "../operations/HTML.js";
@ -3336,6 +3337,20 @@ const OperationConfig = {
},
]
},
"Extract EXIF": {
description: [
"Extracts EXIF data from an image.",
"<br><br>",
"EXIF data is metadata embedded in images (JPEG, JPG, TIFF) and audio files.",
"<br><br>",
"EXIF data from photos usually contains information about the image file itself as well as the device used to create it.",
].join("\n"),
run: Image.runEXIF,
inputType: "byteArray",
outputType: "string",
args: [
],
},
};
export default OperationConfig;