top of page

Base 64 to Image Converter

Often during CTFs and investigation i had found myself dealing with base64 encoded attachments so i have created a simple Python script to convert that encoded data into the actual image file.

​

ITo make it work you might need to install the pybase64 module if you haven't already:

--> pip install  pybase64

 

Copy and save the script on your machine, on linux than grant executable permission

--> chmod +x base64_to_img.py

​

Than you can run the script:

--> python3 base64_to_img.py

​

THE SCRIPT

View it on GitHub here

​

​

​

bottom of page