# CVE-2022-44268 Arbitrary File Read PoC - PNG generator
This is a proof of concept of the ImageMagick bug discovered by https://www.metabaseq.com/imagemagick-zero-days/
This is an automated tool for Pilgrimage HackTheBox challenge.
This is a fork from https://git.rotfl.io/v/CVE-2022-44268.
Tested on ImageMagick v. 7.1.0-48 and 6.9.11-60
## How to use
### Clone the project
`git clone https://github.com/katseyres2/CVE-2022-44268-pilgrimage`
### Run the project
`bash main.sh /etc/passwd`
[4.0K] /data/pocs/0a3972cbd2c372d61d5860172c713fece3412db7
├── [1.9K] Cargo.lock
├── [ 212] Cargo.toml
├── [1.6K] image.png
├── [ 60] main.sh
├── [ 502] README.md
├── [4.0K] screens
│ ├── [ 68K] 01_generating.png
│ ├── [ 95K] 02_resized_image.png
│ ├── [198K] 03_hex.png
│ └── [638K] 04_result.png
├── [1.6K] script.py
└── [4.0K] src
└── [ 896] main.rs
2 directories, 11 files