Skip to content

bf/python-visualize-binary-file-as-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualize Binary File as Image

This python script allows you to visualize any file as an image. On top of that, the file size and its hashes (MD5/SHA1) will be added to the image.

Visualization of archlinux-2019.01.01-x86_64.iso

Installation

Make sure you have python 3 and the required python libraries matplotlib and numpy installed.

pip3 -r requirements.txt

Usage:

Simply run the python script and point it to a file of your choice.

python3 visualize-binary-file-as-image.py /path/to/your/file

Once finished, you will see a new PNG file with the basename of the input file in the folder of the python script.

More Examples

.csv data

Visualization of majestic_million.csv

.mp4 video file

Visualization of not_falling_for_it.mp4

.exe Windows executable file

Visualization of VirtualBox-6.0.8-130520-Win.exe

Encrypted files from Solarleaks website

Visualization of csco.tgz.enc

Visualization of msft.tgz.enc

Visualization of feye.tgz.enc

Visualization of swi.tgz.enc

Releases

No releases published

Packages

No packages published

Languages