diff options
author | Urban Müller | 2018-08-30 17:25:53 +0200 |
---|---|---|
committer | Urban Müller | 2018-08-30 17:25:53 +0200 |
commit | d4b951dc86ca967d837d8d972d95c7be218eaf5c (patch) | |
tree | 2ba7527dfeafd245aafaf8c7c056c762c1b87431 /itjs/error.gif | |
parent | 703275736ac4a2e5483dc5fddf2dcc9bf2db47a7 (diff) | |
download | itools-d4b951dc86ca967d837d8d972d95c7be218eaf5c.tar.gz itools-d4b951dc86ca967d837d8d972d95c7be218eaf5c.tar.bz2 itools-d4b951dc86ca967d837d8d972d95c7be218eaf5c.zip |
prevent echoing of php source code (wget itjs/error.gif), remove unused saving of POST data
Diffstat (limited to 'itjs/error.gif')
l---------[-rw-r--r--] | itjs/error.gif | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/itjs/error.gif b/itjs/error.gif index 8291976..5fc1571 100644..120000 --- a/itjs/error.gif +++ b/itjs/error.gif @@ -1,11 +1 @@ -<?php - -if ($_POST) -{ - $data = "<?php return " . var_export($_POST, true) . ";\n"; - @mkdir("/tmp/itjs"); - it::file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data); -} - -header("Content-Type: image/gif"); -it::readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif"); +0.gif
\ No newline at end of file |