Created
November 28, 2016 21:32
-
-
Save thedrint/2637eccfffef11affd5654f6cecfcd41 to your computer and use it in GitHub Desktop.
Deanon image-script
This file contains 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
<? require $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php'; | |
file_put_contents($_SERVER['DOCUMENT_ROOT'].'/upload/gotcha2.log', date('d.m.Y H:i:s').PHP_EOL.print_r($_SERVER, 1).PHP_EOL, FILE_APPEND); | |
header( 'Content-Type: image/jpeg' ); | |
echo file_get_contents($_SERVER['DOCUMENT_ROOT'].'/upload/iblock/000/0007b91a2a080008ab8dc986bdd50342.jpg'); | |
die; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment