gchq / gchq/CyberChef

Bug report: EXIF comment not extracted

Open
#1,159 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Description of the bug**
EXIF comments added to JPEGs with exiftool (12.00) are not being extracted by the 'Extract EXIF' operation. Linux' file utility (file-5.11 on CentOS 7.7) successfully outputs the comment, so I believe it is being added correctly.

**To Reproduce**
Steps to reproduce the behaviour:

1. Load the provided test.jpg image (embedded under 'Additional Context') into the input
2. Add an 'Extract EXIF' operation
3. [Auto-]Bake
4. Note '0 tags extracted' in output

**Expected behaviour**
The EXIF comment 'This comment is in EXIF' should be in the output pane.

**Screenshots**
![cyberchef_exif_screenshot](https://user-images.githubusercontent.com/17182124/105424089-b0c90f00-5c14-11eb-93b6-7cf2a625e553.png)

**Desktop (if relevant, please complete the following information):**
- OS: Windows 10
- Browser: Firefox 78.6.1esr (64-bit)

CyberChef debugging information:
* Version: 9.21.0
* Compile time: 12/06/2020 12:53:19 UTC
* User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
* [Link to reproduce](https://gchq.github.io/CyberChef/#recipe=To_Hexdump(16,false,false)&input=YTMzM2U2MjNlYjhhOTRjZTAzY2Q2YjY2ZWExYjQzNGM1MDQ1ZGM3MDMyODZkM2Nk)

**Additional context**
Sample image test.jpg:
![test](https://user-images.githubusercontent.com/17182124/105423783-2aacc880-5c14-11eb-887b-4303e38e163f.jpg)

Hexdump of first 192 bytes of test.jpg:
![image](https://user-images.githubusercontent.com/17182124/105423944-6b0c4680-5c14-11eb-9205-43ae48b8c90f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.