Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/knews/direct/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/knews/direct/download.php
<?php
global $Knews_plugin;
if ($Knews_plugin) {
if (! $Knews_plugin->initialized) $Knews_plugin->init();
//burakali patch inspired
if (ob_get_contents()) ob_clean();
//ob_start();
$filename = $Knews_plugin->get_safe('file');
if ($filename != '') {
$filename = str_replace('/','*', $filename);
$filename = str_replace('\\','*', $filename);
$filename = str_replace('..','*', $filename);
if ($file = @file_get_contents(KNEWS_DIR . '/tmp/' . $filename)) {
if (strpos($filename,'.csv') !== false) {
header('Content-type: text/csv');
header('Content-disposition: attachment;filename=' . $filename);
}
if (strpos($filename,'.png') !== false) {
header('Content-type: image/png');
}
echo $file;
/*burakali patch #2
echo ob_get_clean();*/
die();
}
}
}
header('HTTP/1.0 404 Not Found');
echo '<html><head><title>404 Not Found</title></head>';
echo "<body><h1>404 Not Found</h1>";
echo "The page that you have requested could not be found.</body>";
die();
?>
Cyb3r Drag0nz Team • Google Edition