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:/laragon4/www/_berita/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/laragon4/www/_berita//index.php
<?php
include 'config.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>

	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" href="css/BootSideMenu.css">
	<script src="https://code.jquery.com/jquery-2.2.4.min.js"
	integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!--[if lt IE 9]>
    <script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv-printshiv.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<style type="text/css">
	.media + .media {
		border-top:1px solid #eaeaea;
		padding-top:10px;
		padding-bottom:5px;
	}
</style>
</head>
<body>
	<div class="container" style="width:100%; left:0; top:0; position: relative;" >
		<?php
		$ch = curl_init();
		curl_setopt($ch,CURLOPT_URL,'https://portalberita.lumajangkab.go.id/api/berita.php?limit=2');
		curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
		curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);
		curl_setopt($ch,CURLOPT_HTTPHEADER,['Lumajang-Berita:$2y$10$wALz2CBxlzBFxaA4WyHeqOexj9gvFeN3vFrQLT/1vfNhON6Pdrdla']);
		$output = curl_exec($ch);
		curl_close($ch);
		$result = json_decode($output,true);
		?>
		<!--<div class="row">
			<div class="col-md-12">
				<h5 class="text-center" style="font-weight: 800">WIDGET BERITA KABUPATEN</h5>
			</div>
		</div>-->
		<div class="row" >
			<div class="col-md-12 col-md-offset-3">
				<div class="panel panel-primary">
				<div class="panel-heading" style="height:50px">
				:: BERITA DARI LUMAJANGKAB.GO.ID ::<a href="https://portalberita.lumajangkab.go.id" target="_blank" class="pull-right btn btn-sm btn-info">Lainnya</a>
				</div>
				<div class="panel-body">
					<?php 
					if($result['total'] > 0){
						foreach($result['item'] as $key=>$value){
							?>
							<div class="media">
  <div class="media-left">
    <a href="<?= $value['link']?>">
      <img class="media-object" src="<?= $value['foto']?>" width="200">
    </a>
  </div>
  <div class="media-body">
    <h4 class="media-heading" style="font-size:12pt;font-weight:bold;"><?= $value['judul']?></h4>
    <p style="font-size:8pt"><?= $value['cuplik'].' ...'?></p>
	<div class="text-right">
		<a href="<?= $value['link']?>" target="_blank" class="btn btn-sm btn-primary">Baca</a>
	</div>
  </div>
</div>
							<?php
						}
					}else{
						echo '<h5>Berita tidak ditemukan</h5>';
					}
					?>
				</div>
					
				</div>
			</div>
		</div>
	</div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit