Misc - a little bit of tomcroppery

117 points | 313 solves

Description

Once you crop an image, the cropped part is gone... right???

Downloads

1MB
Open

Solution

I could immediately tell that this is the well-known "aCropalypse" vulnerability. What I didn't expect was that a working script to recover the cropped image to be so difficult to find so, I thought I should document this.

Firstly, one could go to this website to check if an image is vulnerable.

Secondly, use the code below to recover the image.

Image being recovered

Flag: LITCTF{4cr0p41yp5e_15_k1nd_0f_c001_j9g0s}

Last updated