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 eval("\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\..
Decoded Output download
?><?php
include('../connect.php');
include("../php/iceredsoft.php");
if($_POST['what']=="find_title"){
$name=$_POST['name'];
if($name=="")
$q="SELECT * FROM tb_unit";
else
$q="SELECT * FROM tb_unit WHERE u_name LIKE '%$name%'";
echo encode_json($q);
}
else if($_POST['what']=="add_title"){
$name=$_POST['name'];
$q="SELECT * FROM tb_unit WHERE u_name='$name'";
$r=mysql_query($q);
$result=mysql_fetch_array($r);
if($result==0){
$name=$_POST['name'];
$q="INSERT INTO tb_unit (u_id,u_name) VALUES(null,'$name')";
mysql_query($q);
}
else{
echo "error";
}
}
else if($_POST['what']=="update_title"){
$name=$_POST['name'];
$q="SELECT * FROM tb_unit WHERE u_name='$name'";
$r=mysql_query($q);
$result=mysql_fetch_array($r);
if($result==0){
$name=$_POST['name'];
$where=$_POST['where'];
$q="UPDATE tb_unit SET u_name = '$name' WHERE u_id = $where";
mysql_query($q);
}
else{
echo "error";
}
}
else if($_POST['what']=="delete_title"){
$where=$_POST['where'];
$q="DELETE FROM tb_unit WHERE u_id='$where'";
mysql_query($q);
}
?>
Did this file decode correctly?
Original Code
<?php
eval("\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28'TVbHDsVKDf0XNoCySL0pQixSbnrvid4mvfeer+fCQ4LFkeXjM5Jljz1TnEn/t7/8ceOfP24C/1n4B/aPGyF/lvhx9M9SP3x/wP+M/VtDYH+e+Y8O+S+H/smhPx36i3/4n/9fHf7v2P/5CPnX209QbnOVrrxC2V0YOkW4jBYoCk3knmIIAizXPZ1Gi168EGamXPR0SKheDQh87gTf/iUL+gRbKRrKOgQrcKwsfChlkSxJ1UQ4kjb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PAieOcFYknWP/S0WZAmOP/dlZ0x4eLaJrwGtH8ttTlThEyDxERf0sO8Jgk6OaAEeTfgC9nXJ1rguM3odHjs4jMDOGLLqnAbWIr09YUbBEIrrq3XCY3klsogDPd3coDEHXZMSUpCuU4dKO90Js8E2TTw+pM7YBgkJIV+c+//n5c1P+AMn/5+z/+BQ='\x29\x29\x29\x3B");
?>
Function Calls
gzinflate | 13 |
dahequ70061 | 1 |
dghbip70063 | 1 |
dqctpn70062 | 1 |
base64_decode | 13 |
Stats
MD5 | 1aac60f41c3c4b9cb6a8d8be882de910 |
Eval Count | 23 |
Decode Time | 72 ms |