
Python script that generates a PNG image exploiting CVE-2022-44268 to embed and leak local file paths via ImageMagick metadata parsing.
This Python script generates a PNG image filled with a specific color and embeds a file path as metadata using the Pillow library.
pip install pillow)git clone https://github.com/NataliSemi/-CVE-2022-44268.git
cd -CVE-2022-44268.git
pip install pillow
pip install pypng
python create_image.py
Generated Image: After running the script, an image file named image.png will be created in the repository directory.
python create_image.py -f /path/to/local/file.txt -o output_image.png