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. Copyright(C) 20..
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($_GET['job'] == 'submit'){
$id=sqli(intval($_POST['id']));
$census_type=sqli($_POST['census_type']);
if(intval($census_type) == 1){
$sql="select close from judge_census where unit_id=".$g_unit_id." and id=".$id;
$rs=$conn->Execute($sql);
$result=array();
$result['close']=1;
$updatesql=$conn->GetUpdateSQL($rs,$result);
try{
$conn->Execute($updatesql);
write_log($conn,$_SESSION['j_account'],'',$_SESSION['usertype']);
alert('','judge_census_basic_list.php');
}
catch (Exception $e){
echo $e->getMessage();
}
}else{
mysql_query("UPDATE judge_user_".$g_unit_id." SET judge_census_id='0',census_can_open='' WHERE unit_id=".$g_unit_id." and judge_census_id =".$id );
mysql_query("DELETE FROM judge_result_".$g_unit_id." WHERE unit_id=".$g_unit_id." and judge_census_id =".$id);
$sql="select close from judge_census where unit_id=".$g_unit_id." and id=".$id;
$rs=$conn->Execute($sql);
$result=array();
$result['close']=1;
$updatesql=$conn->GetUpdateSQL($rs,$result);
try{
$conn->Execute($updatesql);
write_log($conn,$_SESSION['j_account'],'',$_SESSION['usertype']);
alert('','judge_census_basic_list.php');
}
catch (Exception $e){
echo $e->getMessage();
}
}
}
$id=sqli(intval($_GET['id']));
$sql="select count(id) as total from judge_census where unit_id=".$g_unit_id." and id='".$id."'";
$rs=$conn->Execute($sql);
$total=intval($rs->fields['total']);
if($total==0){
alert('!','judge_census_basic_list.php');
exit;
}elseif($total>1){
alert('!','judge_census_basic_list.php');
exit;
}else{
$smarty->assign('id',$id);
$smarty->display('judge_census_basic_del.html');
}
Did this file decode correctly?
Original Code
<?php // This file is protected by copyright law & provided under license. Copyright(C) 2005-2017 www.nuohe.cc, All rights reserved.
$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=2496;$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('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMjYwKTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJ2VmcHREZ1laVE15Y3dYbVBHUjFqSys3MkZXdmJDdU8zOXFJaC9hcjhFeG9Ta2RCTjVISkFVNGlRTFY2c2x6MG49JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
MDzPwtfPwtfPwt4AuZM3Cr+5bYghW19824zY1KHg24l8cpT8TIL/jUzPwDl5jAe5cIT8TI5EMDzPjAe5wtfPwp9/jUl5jUl5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KdPruauD4aCQXqWiKEyjkXp8UXp8UXp8UXpIRxWt4AC7HxyYaBuZWqbp9/2Uug+gk8v7G821/xm5UyMZXHbtUICi+kW7XUTYXNu7VUyYa/y1fqCJfUbQRqbpfrCrzdTYx4WYua2iXab8X4CJfQvY+JW1f4braU2ia/P1TBMYu3u7VxugzxWpLITYgBWpfxWtU8TIL/v7GBTICIm5UyMZMAP1RhbiVBcjVgOY+hu2RaypRAC75xm5UyMZRNuYgkP7aBuZWqbp9/C8wdPrWxW7H/C4k8uYzUF75821/stGxxWI9/uYzUF75zPjexO5UyF7HaC8GEMl6U4uy4NuPGUyO4HcNBdonynbsuE6AZ6zbFJdGqMJ58v8+/Wi+3Fi+BCQ+A2iMqCiah2iHxCQGBCYq5MJ/stGxaOYaUm5Uy37+kCi+xWI9/uYzUF750w1astGxqbY+Jup98B06iSlSzNdQ1scmhE6AZ6zbFJdGqMJ58v8+/Wi+3Fi+BCQ+A2iMqCiah2iHxCQGBCYq5MJ/stGxaOYaUm5Uy37+kCi+stGE/Ci4qC8RVcjVqCQXxWiLEMia/MJ5/v7Gxm5UyMZXdF2MUO1U0WYaACYHqO198v8+/Wi+3Fi+BCQ+A2iMqCiah2iRabpVEuY4kMJ/stGxztGE=
Function Calls
fread | 3 |
strtr | 2 |
fclose | 1 |
OOO0000O0 | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 6740204ec6e3d69981d7fe10531d3a46 |
Eval Count | 3 |
Decode Time | 156 ms |