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
[...]
@roumy OK, I figured it out ; the offending line is :
And now, it can be fixed by ensuring that the input to
ts.bin2str
is of typestr
and notbytes
:Ugly but I have no time right now to fix this directly into Tinyscript. I added the
ensure_str
invocation in the offending line on this Gist.You can
tsm update
thentsm install paddinganograph --force
to get the latest version.