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'){
$name=sqli($_POST['name']);
$begintime=sqli($_POST['begintime']);
$endtime=sqli($_POST['endtime']);
$can_m=sqli($_POST['can_open_report']);
$content=sqli($_POST['content']);
$shijian=sqli($_POST['shijian']);
$cishu=sqli($_POST['cishu']);
$changdi=sqli($_POST['changdi']);
$renshu=sqli($_POST['renshu']);
$laiyuan=sqli($_POST['laiyuan']);
$txemail=sqli($_POST['txemail']);
$reg='/
|\s/';
$can_m=preg_replace($reg,'',$can_m);
$reg='/^---/';
$can_m=preg_replace($reg,'',$can_m);
$reg='/---$/';
$can_m=preg_replace($reg,'',$can_m);
$reg='/---/';
$can_m_array=preg_split($reg,$can_m);
try{
$can_open=$can_m_array[1];
}
catch(Exception $e){
$can_open='';
}
try{
$can_report=$can_m_array[3];
}
catch(Exception $e){
$can_report='';
}
try{
$can_report_fz=$can_m_array[5];
}
catch(Exception $e){
$can_report_fz='';
}
$reg='/,$/';
$can_open=preg_replace($reg,'',$can_open);
$can_report=preg_replace($reg,'',$can_report);
$can_report_fz=preg_replace($reg,'',$can_report_fz);
mysql_query("INSERT INTO judge_census (unit_id, name, begintime, endtime, succ_id, power_id, user_id, can_open, can_report, can_report_fz, content, shijian, cishu, changdi, renshu, laiyuan, txemail) VALUES ('$g_unit_id', '$name', '$begintime', '$endtime', '0', '0', '$user_id', '$can_open', '$can_report_fz', '$can_report_fz', '$content', '$shijian', '$cishu', '$changdi', '$renshu', '$laiyuan', '$txemail')");
$id=mysql_insert_id();
if($id!=""){
write_log($conn,$_SESSION['j_account'],''.$account,$_SESSION['usertype']);
gourl('judge_census_basic_set2.php');
}else{
alert('','judge_census_basic_set.php');
}
}
$conn->Close();
$smarty->display('judge_census_basic_set.html');

Did this file decode correctly?

Original Code

<?php // This file is protected by copyright law & provided under license. Copyright(C) 2009-2019 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=2564;$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('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMjYwKTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJzFoVERRcVlvc210Y1dGSUxmQzQ3emRqMHI4RXhWYXBLeWtaVUpiUCt3SHZlTW41OTIzRy91aUFTT0JSbFg2Z049JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgk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2yrAq50SmbVY6GaT2yrAq50SmbVY6Gaq6PpZ2yrA65aYd5aT2yVAkHEPbkxZ2yrAb/EozMsYFwrjB+8YJMsombx+Fwa42yxYqHp0dkxZ2yaokbxjqHxTJydJqWdzd7sTy+mYaKajBHaq6H8TVMsTVJxPqn84VMsTVJrPd+EjBuEjibmG2ymGCbxPCuEjibmG2ym/1+cT1+WTVMsTVJa0FbVb6H8TVMsTVJrAq50A628jO+cT1+mYFkxb6G80h9V+CK8+w+cT1+mYFkxb6G80h9V+CK8+w+cT1+mYF9x+Cbx+f+cT1+moFwEjHHrjO+cT1+mYFHVAkimG2ymGCUEYq58ACHmG2ymGCG8jB/Eoz+cT1+mY3kE0birjO+cT1+moCO8jikEj2+t4sHI2utmYbJLjiBVSqM0Ab5VAdGaq6H8TyHI2utEjrwmYbJs7uZsZblDfHSVPbu8d6MxAVwmYF9xPOMmq67CdF74z6IjGav0AqUrA6ix+f+042+GpUj2l95nvX+cZCkrAF9ajBucTCKzud7zubL7bM+a0FbV+CBVYz+04JlDfH+xSdGxTy+E+dJ8AdKrAd5VSd/0AmkVAbU0SFbaDs5VYk2mGJlDfH68j3/80MFTPqM80mutTKmRFxDu6DIXRIM3g9dNVZS/Ilfnce/iF+tiTVMmAHi8Yab0AFbx+FiVi6Zr0FHri6/80f5VYk2mGJlDfH6DfH6DfwJrA65xZugfA39VAzwt7MFTZC/xjqGaoJnLPCHVShMr0JwmAHi8Yab0AFbx+FiVi6Zr0FHri6/80f5EoCnxTVHI2ut

Function Calls

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

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 2564
$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 a7b801d06227b0d053c6a7062fcd3508
Eval Count 3
Decode Time 111 ms