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');
$id=sqli(intval($_POST['id']));
$type=sqli(intval($_POST['type']));
$name=sqli($_POST['name']);
$bk1=sqli($_POST['bk1']);
$newdate=sqli($_POST['newdate']);
$judge_user=$_POST['judge_user'];
$judge_user=implode(",",$judge_user);
$remark=sqli($_POST['remark']);
if (is_uploaded_file($_FILES['pic1']['tmp_name'])){
$pic_name=$getnow_str.'1.jpg';
if (move_uploaded_file($_FILES['pic1']['tmp_name'],"html/upload/".$pic_name)){
$pic1=$pic_name;
}
else{
$pic1="nopic.jpg";
}
}
else{
$pic1="nopic.jpg";
}
if (is_uploaded_file($_FILES['pic2']['tmp_name'])){
$pic_name=$getnow_str.'2.jpg';
if (move_uploaded_file($_FILES['pic2']['tmp_name'],"html/upload/".$pic_name)){
$pic2=$pic_name;
}
else{
$pic2="nopic.jpg";
}
}
else{
$pic2="nopic.jpg";
}
if (is_uploaded_file($_FILES['pic3']['tmp_name'])){
$pic_name=$getnow_str.'3.jpg';
if (move_uploaded_file($_FILES['pic3']['tmp_name'],"html/upload/".$pic_name)){
$pic3=$pic_name;
}
else{
$pic3="nopic.jpg";
}
}
else{
$pic3="nopic.jpg";
}
if (is_uploaded_file($_FILES['pic4']['tmp_name'])){
$pic_name=$getnow_str.'4.jpg';
if (move_uploaded_file($_FILES['pic4']['tmp_name'],"html/upload/".$pic_name)){
$pic4=$pic_name;
}
else{
$pic4="nopic.jpg";
}
}
else{
$pic4="nopic.jpg";
}
if (is_uploaded_file($_FILES['pic5']['tmp_name'])){
$pic_name=$getnow_str.'5.jpg';
if (move_uploaded_file($_FILES['pic5']['tmp_name'],"html/upload/".$pic_name)){
$pic5=$pic_name;
}
else{
$pic5="nopic.jpg";
}
}
else{
$pic5="nopic.jpg";
}
if (is_uploaded_file($_FILES['video']['tmp_name'])){
$video_name=$getnow_str.'_v.mp4';
if (move_uploaded_file($_FILES['video']['tmp_name'],"html/upload/".$video_name)){
$video=$video_name;
}
else{
$video="video.jpg";
}
}
else{
$video="video.jpg";
}
$insertsql="select count(*) as total from judge_user_shapant";
$rs=$conn->Execute($insertsql);
$sql="insert into judge_user_shapant(judge_user,bk1,remark,bk3,bk2,newdate,pic1,pic2,pic3,pic4,pic5,video) values('".$judge_user."','".$bk1."','".$remark."','".$bk3."','".$bk2."','".$newdate."','".$pic1."','".$pic2."','".$pic3."','".$pic4."','".$pic5."','".$video."')";
try{
$conn->Execute($updatesql);
$conn->Execute($sql);
write_log($conn,$_SESSION['j_account'],'-'.$id,$_SESSION['usertype']);
alert('','judge_user_shapan_remarkt_x.php');
}
catch (Exception  $e){
echo $e->getMessage();
}

Did this file decode correctly?

Original Code

<?php // This file is protected by copyright law & provided under license. Copyright(C) 2009-2018 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=3416;$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('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMH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EnQaEjUWunTxR+HXEn6u4KBlJ+OvW0USNYHPNh45qjo9qFHv1+okJF6qepuAc2BFeFUQNG6lTKHl9+WvrYHW9suAc1PAcFHSLFna3O4lTKHl9+LA4jo9qFHDrKE/Ehta3OEA3OEA3OoQa0TQIMP8qjo9qFHDvhEFeFUQNCoeuF7hIMPevMP8qKHxLFn2A0ykaG62LFHS9YyPdYTvW+EP8c4qdYnmdjUvAYHudFE2N+6/wjHlEFQvW0TQ7ny38Yn/R+EP4suAc2B2LG6lt+TxrCbxkpUQtjnl9cOle+E390ElL0HuesuAc2B3S+MA4KHxLFn2AhU9rjUDdKEQqFTQ1jn3909vLKUkuYHxAcUeWFUj9nyQLFnhaYoaSCB29+Hk7K7S4KLmaYoa7CUx9jTlRjUXa0U9tm6SuKHm7CB/eYLma0U9t3OSuKHmWCBFeFUQNc6/TYHSWFnm827hr2UeWFUj9nyQLFnhrh40a27hr2U2fm65427uEh45q0oQJYn2fC4hECO04C4l4KLmrh40a27hr2U2fm45427uEh45q+oQyFUkAF65427uEh45q0U9tm65427uEh45q0U9tm45427uEh45q0U9tm75427uEh45q0U9t3O5427uEh45q0U9t365427uEh45qjo9qFHDrh40ehta3OEl7pna3O4lt+TxrCbxkpUQtjnl9cOlW0UlRjUQL0HuesuAc2U3N+o5JGqQ5FH3WjUX82B3S+OqIMPey0o9AFQva+T082U3N+o5a2kvblQ3b6XvsH7jwnTktYTvW+EPEn6uELsTDADykLsn2aDnmAmnG84AEC4leFOuqnW3kXW32bAx+2yQLFn2Apn/92WAesuAcYHS90EP82DLJN3sL7+oo27uEKEQqFTQ1jn3909vLKUkuYHx10oQJYn2fjkv5CE/80O0esuAc1PAcYTkAYTddciQ5YTQujU9N+4gd2UXepuAcFH38+7gqF6AzFTQAbHQL0TkEF6desuAc1PAc

Function Calls

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

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 3416
$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 2a32a4a0ed77a7c5a412d09026ddf719
Eval Count 3
Decode Time 103 ms