This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
The algorithm of injecting the payload into the JPG image, which will keep unchanged after transformations | |
caused by PHP functions imagecopyresized() and imagecopyresampled(). | |
It is necessary that the size and quality of the initial image are the same as those of the processed | |
image. | |
1) Upload an arbitrary image via secured files upload script | |
2) Save the processed image and launch: |
OlderNewer