This Tinyscript-based tool allows to unhide data hidden in base32/base64 strings. It can take a PNG or JPG in input to retrieve an EXIF value as the input data.
This can be installed using:
$ pip install tinyscript
$ tsm install paddinganograph
$ paddinganograph -e base64 -f Comment -s . < test.jpg
[...]
$ paddinganograph -e base64 -f Comment -s . < test.jpg | paddinganograph -e base32
[...]
This tool is especially useful in the use cases hereafter.
Retrieve hidden data from an image using Base32/64 padding
Select the "Comment
" field, split its value with the separator ".
" and extract hidden data:
$ paddinganograph -s "." -f "Comment" < image.jpg
[...]
Hi,
I have an error with this script with all png files I have tested :
python paddinganograph.py -s "." -f "Comment" < ./TheWonderfulWizard.png
Traceback (most recent call last):
File "/home/userxxx/ctf_tools/Stegano/scripts/paddinganograph.py", line 73, in
data = exif(data, args.exif)
File "/home/userxxx/ctf_tools/Stegano/scripts/paddinganograph.py", line 33, in exif
return exif if not key else exif[key]
KeyError: 'Comment'
Thank you for your help