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'){
$account=sqli($_POST['account']);
$passwd_1=sqli($_POST['passwd_1']);
$passwd_2=sqli($_POST['passwd_2']);
$sql="select * from super_admin where unit_id=".$g_unit_id;
$rs=$conn->Execute($sql);
$result=array();
$result['passwd']=$passwd_1;
$result['account']=$account;
$updatesql=$conn->GetUpdateSQL($rs,$result);
try{
$conn->Execute($updatesql);
write_log($conn,$_SESSION['j_account'],'',$_SESSION['usertype']);
alert('','judge_admin_info.php');
}
catch (Exception  $e){
echo $e->getMessage();
}
}
$sql="select * from super_admin where  unit_id=".$g_unit_id;
$rs=$conn->Execute($sql);
$info=array(
'id'=>sqlv($rs->fields['id']),
'account'=>sqlv($rs->fields['account']),
'passwd'=>sqlv($rs->fields['passwd']),
);
$smarty->assign('info',$info);
$smarty->display('judge_admin_info.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=1368;$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('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MT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Q+BupCzP8XHbZFEMZMAcjVrv7+kWZXbMighFiz4b8G821/ktGE8CYgACQu/MAU0CQgkuI9/C8wdPrWxW7H/C4k8CYgACQu/M4UxceUyyjkXpIRAb7gJuZ/dPrgACia8bI98v7VrbJCkMYaBWrlxm5UyMZXdF2MUO1U0WYaACYHqO198v8+/Wi+3F7Rdv7V3v7VrbJVEuY4kMJ/stGE=

Function Calls

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

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 1368
$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 833e6f0ccfa9f0bff622c2a66e20956b
Eval Count 3
Decode Time 84 ms