In this tutorial, I show how to create a polyglot file using Python. The output file can work as both an image and a PDF at the same time. This is for learning and understanding how file structures work in cybersecurity.
For educational purposes only.
Source code:
https://github.com/zis3c/Polyglot-File
0:00 Intro
0:05 Install Dependencies
0:22 Run the Tool
0:30 Upload Files
0:46 Name the Polyglot File
1:04 Open as Image
1:19 Open as PDF