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 // This file is protected by copyright law & provided under license. $OOO0O0O00=__F..

Decoded Output download


require_once('pub.php');
require_once('adodb.php');
require_once('ckauth.php');
require_once('pub_unit.php');
header('Content-Type:text/html;charset=GB2312');
if($_SESSION['id'] == ''||!isset($_SESSION['id'])){
alert('.','index.php');
exit;
}
if($_SESSION['usertype'] != 'judge_user'){
alert('..','index.php');
exit;
}
if($_GET['m_t'] != ''){
$measure_title=sqls($_GET['m_t']);
$id=intval($_SESSION['id']);
$cid=intval($_GET['census']);
$smarty->assign('measure_title',$measure_title);
$smarty->assign('id',$id);
$smarty->assign('cid',$cid);
$smarty->display('judge_census_basic_pedit_user.html');
}elseif($_GET['job'] == 'submit'){
$id=intval($_SESSION['id']);
$cid=sqli(intval($_POST['cid']));
$bk3=sqli($_POST['bk3']);
$remark=sqli($_POST['remark']);
$sql="select count(id) as total from judge_user_view where cid='".$cid."' and judge_user_id='".$id."'";
$rs=$conn->Execute($sql);
if(intval($rs->fields['total'])>0){
$sql="update judge_user_view set bk3='".$bk3."',remark='".$remark."',usernewdate='".$getnow."' where cid='".$cid."' and judge_user_id='".$id."'";
}else{
$sql="insert into judge_user_view(judge_user_id,cid,bk3,remark,usernewdate) values(".$id.",".$cid.",'".$bk3."','".$remark."','".$getnow."')";
}
if($cid>0){
$updatesql="update judge_user set judge_census_id='0',census_can_open='' where id='".$id."'";
}else{
$updatesql="update judge_user set can_open='' where id='".$id."'";
}
try{
$conn->Execute($sql);
$conn->Execute($updatesql);
write_log($conn,$_SESSION['j_account'],'',$_SESSION['usertype']);
alert('','judge_online_ok.php');
}
catch (Exception  $e){
echo $e->getMessage();
}
}else{
$id=intval($_SESSION['id']);
$sql="select * from judge_user where id=".$id;
$result=$conn->Execute($sql);
$info=array();
if($result){
$info=array(
'test_num'=>$result->fields['test_num'],
'test_state'=>$result->fields['test_state'],
'test_time'=>$result->fields['test_time'],
'begin_time'=>$result->fields['begin_time'],
'end_time'=>$result->fields['end_time'],
'judge_census_id'=>$result->fields['judge_census_id'],
'can_open'=>$result->fields['can_open'],
'census_can_open'=>$result->fields['census_can_open']
);
}
$test_num=$info['test_num'];
$test_state=$info['test_state'];
$test_time=$info['test_time'];
$begin_time=$info['begin_time'];
$end_time=$info['end_time'];
$can_open=$info['can_open'];
$census_can_open=$info['census_can_open'];
$judge_census_id=$info['judge_census_id'];
if($census_can_open!=""){
$user_census_can_open.="<tr class=\"trA\" onMouseOver=\"this.className='trB'\" onMouseOut=\"this.className='trA'\"><td class=\"topline6\" style=\"padding-left:5px; line-height:28px;\" align=\"left\">".$census_can_open."</td><td class=\"border_r\" align=\"center\"><a onClick=\"javascript:location.href='judge_online_ok.php?m_t=".$census_can_open."&census=".$judge_census_id."';\"></a></td></tr>";
}
if($can_open!=""){
$user_can_open.="<tr class=\"trA\" onMouseOver=\"this.className='trB'\" onMouseOut=\"this.className='trA'\"><td class=\"topline6\" style=\"padding-left:5px; line-height:28px;\" align=\"left\">".$can_open."</td><td class=\"border_r\" align=\"center\"><a onClick=\"javascript:location.href='judge_online_ok.php?m_t=".$can_open."';\"></a></td></tr>";
}
$smarty->assign('user_can_open',$user_can_open);
$smarty->assign('user_census_can_open',$user_census_can_open);
$smarty->display('judge_online_list.html');
}

Did this file decode correctly?

Original Code

<?php // This file is protected by copyright law & provided under license.
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=4652;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09P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+OEeXaj+XCyel/o9Y/75mayeiFBxXujPQa+elgjyXMIxVJcYIFdTS6dMjYM6aF0eQFwYlfjG1F0eigwDIJYiqTGiqu7PdLOuiHBi1LOP6/zfXq0fcgEyoOEPQa+elgjyXuoYRfOP+g+ewLz9TaAt+aIR3KG4RgEcQgVh9MW9QgAPnCED4uAy6COuTLEyXgAy6OEPQa+elgjyXuoYRfOP+g+ewCz96fOPTLEvXOEeYCzDnJYiqu7PdLOuiHBi1Cj+6gjrQHB2V/VyRCEyTaE9Z/z9+OErngAGX/7hda0gnJYiqTGiq

Function Calls

fread 3
strtr 2
fclose 1
OOO0000O0 1
urldecode 1
str_replace 1
base64_decode 2

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 4652
$OO00O00O0 require_once('pub.php'); require_once('adodb.php'); requ..
$OO0OO0000 fopen
$OO0OO000O fread
$OO0OO00O0 strtr
$OOO000000 th6sbehqla4co_sadfpnr
$OOO0000O0 base64_decode
$OOO0O0O00 index.php

Stats

MD5 961487beb50f59f825d7f4839fd4654b
Eval Count 3
Decode Time 129 ms