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 $_F=__FILE__;$_X='P2lCP1ouWg1Wek12UXN6TV9PSDJNPidYWGhXczx6ZXpxaDJPSEFzeFhaLlonOw1Wek..

Decoded Output download

?><?php
require_once '../library/config.php';
require_once '../library/functions.php';

checkUser($_SERVER['REQUEST_URI']);
session_timeout();

$displayAdmin = "display:none !important;"; $displayDelete="display:none !important;";
$ListAdmin = checkPermission($dbConn, $params, $options, 'LA', 0, 0);
$ListPacienti = $ListRasti = checkPermission($dbConn, $params, $options, 'LP', 0, 0);
$ReadPacienti = $ListRasti = checkPermission($dbConn, $params, $options, 'RP', 0, 0);

$currUserID = $_SESSION['uid_eclinic']; $currFirmaID = $_SESSION['fid_eclinic']; $currDegaID = 1;//$_SESSION['did_eclinic'];
if($ListAdmin === sha1('g-1'))
{
   $displayAdmin = ""; $displayDelete="";
} 

if ($ListPacienti === sha1('g-1'))
{
	$view = (isset($_GET['view']) && $_GET['view'] != '') ? $_GET['view'] : '';
} 
else
{
	ruajLog($dbConn, $params, $options, 'Denied', 'Pacienti', 0, '', $_SERVER['REMOTE_ADDR']);
	$view = "paAutorizim";
} 
$selPacienti="active"; $selHome=$selKalendari=$selFatura=$selPagesa=$selShpenzime=$selDokumenta=""; 
$selTermini=$selAdm=$selAktiviteti=$selRaporti=""; $selDepo=$selArtikulli=$selFurnizime=$selFurnitori=$selKerkesa="";

//------------------- SWITCH  - Faqet ------------------------------
switch ($view) {
	case 'lista' :
		$Content = 'listaPacienti.php';	
		$pageTitle 	= 'Lista Pacient&euml;ve';
		$currentLink = "Pacienti";
		break;
	case 'frm' :
		$Content = 'frmPacienti.php';	
		$pageTitle 	= 'Pacienti';
		$currentLink = "Pacienti";
		break;
	case 'pacienti' :
		$Content = 'viewPacienti.php';	
		$pageTitle 	= 'Pacienti';
		$currentLink = "Pacienti";  $selPacienti=""; 
		break;
	case 'vizita' :
		$Content = 'viewVizita.php';	
		$pageTitle 	= 'Vizta';
		$currentLink = "Vizta";  $selPacienti="";
		break;
	case 'paAutorizim' :
		$Content 	= '../paAutorizim.htm';		
		$pageTitle 	= 'Not authorized!'; $currentLink = "";
		break;
	default :
		$Content = 'listaPacienti.php';	
		$pageTitle 	= 'Lista Pacient&euml;ve';
		$currentLink = "Pacienti"; //$selPersoni="active";
}

require_once '../include/template.php';
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wek12UXN6TV9PSDJNPidYWGhXczx6ZXpxaDJPSEFzeFhaLlonOw1Wek12UXN6TV9PSDJNPidYWGhXczx6ZXpxaEFRSDI9c09IblhaLlonOw1WDVYyLk0yeSBuTXooJF9wS2c2S2dqJ2dLdyBLcFRfIGczJ2QpOw1Wbk1ubnNPSF89c1lNT1E9KCk7DVYNViQ5c25aV2VxRjlZc0g+Uz4iOXNuWldlcTpIT0hNPiFzWVpPej1lSD07Ijs+JDlzblpXZXE0TVdNPU1TIjlzblpXZXE6SE9ITT4hc1laT3o9ZUg9OyI7DVYkSXNuPUY5WXNIPlM+Mi5NMnltTXpZc25uc09IKCQ5PC9PSEgsPiRaZXplWW4sPiRPWj1zT0huLD4nSUYnLD5hLD5hKTsNViRJc249bWUyc01IPXM+Uz4kSXNuPWdlbj1zPlM+Mi5NMnltTXpZc25uc09IKCQ5PC9PSEgsPiRaZXplWW4sPiRPWj1zT0huLD4nSW0nLD5hLD5hKTsNViRnTWU5bWUyc01IPXM+Uz4kSXNuPWdlbj1zPlM+Mi5NMnltTXpZc25uc09IKCQ5PC9PSEgsPiRaZXplWW4sPiRPWj1zT0huLD4nZ20nLD5hLD5hKTsNVg1WJDJRenogbk16MzQ+Uz4kX3BLcHAzN0VqJ1FzOV9NMldzSHMyJ2Q7PiQyUXp6cnN6WWUzND5TPiRfcEtwcDM3RWonQXM5X00yV3NIczInZDs+JDJReno0TXhlMzQ+Uz4wO2hoJF9wS3BwMzdFaic5czlfTTJXc0hzMidkOw1Wc0EoJElz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Iue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 265100a413da221b0a8521c8bc4fb1fe
Eval Count 2
Decode Time 88 ms