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 = 'P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1W..
Decoded Output download
?><?php
ini_set('display_errors', 'Off');
if( !isset($_SESSION) ) session_start();
require_once '../utilities/fonction.inc.php';
function __autoload($class)
{
if (file_exists('../utilities/' . $class . '.php')) include_once('../utilities/' . $class . '.php');
}
//$obj = new database;
$adresse_ip = isset($_REQUEST['adresse_ip']) ? $_REQUEST['adresse_ip'] : NULL;
$serv_ip = isset($_REQUEST['serv_ip']) ? $_REQUEST['serv_ip'] : NULL;
$sno = isset($_REQUEST['sno']) ? $_REQUEST['sno'] : NULL;
$port = isset($_REQUEST['port']) ? $_REQUEST['port'] : NULL;
$TypeP = isset($_REQUEST['TypeP']) ? $_REQUEST['TypeP'] : NULL;
$mdp = isset($_REQUEST['mdp']) ? $_REQUEST['mdp'] : NULL;
$userpointeuse = isset($_REQUEST['userpointeuse']) ? $_REQUEST['userpointeuse'] : NULL;
//var_dump($_REQUEST);
//data:('adresse_ip':adresse_ip, 'sno':sno, 'port':port, 'mdp':mdp, 'TypeP':TypeP ),
$message = '';
if($TypeP == 7){
com_load_typelib("zkemkeeper.ZKEM");
$obj =new COM("zkemkeeper.ZKEM");
if($obj->Connect_Net($adresse_ip,$port)){
$message = "connected";
}
else{
$message = "not connected";
}
}
elseif ($TypeP == 2) {
com_load_typelib('FACESDK_V10.FaceSdk_V10Ctrl.1');
$obj = new COM('FACESDK_V10.FaceSdk_V10Ctrl.1');
if($obj->Connect($adresse_ip,$port,$userpointeuse,$mdp,0,0)){
$message = "connected";
}
else{
$message = "not connected";
}
}
//var_dump($message);
$jsonResponse = array ();
$jsonResponse['message'] = $message;
echo json_encode($jsonResponse);
?>
Did this file decode correctly?
Original Code
<?php $_F = __FILE__;
$_X = 'P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9N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T0hnTW5aT0huTSk7DVY/aQ1W';
$_D = strrev('edoced_46esab');
eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=')); ?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 9472bae37751264ee66e26d50f5c1245 |
Eval Count | 2 |
Decode Time | 47 ms |