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 /* Licence @songsaluang if you want to update please contact Mr.Siriphong Chankracha..

Decoded Output download

 
session_start();
ob_start();
include"include/head.php";
include"include/phpfunction.php";
include"include/db.php";
if (!isset($_SESSION["Name"])){header("location: logout.php");}
if (!isset($_SESSION["UserName"])){header("location: logout.php");}
if (!isset($_SESSION["Password"])){header("location: logout.php");}
if (!isset($_SESSION["SPosition"])){header("location: logout.php");}
echo "<form name='sndPermission'><input type='hidden' name='Permission' value='$_SESSION[SPosition]'></form>";
$SltBank=$_POST['SltBank'];
$D=explode(" ",trim($_POST['DatePrint']));
$D1=$MonthName1[$D[1]];
$DatePrint=($D[2]-543).'-'.$D1.'-'.$D[0];
$DateInCheque=str_replace(' ','',str_replace('/','-',trim($_POST['DateInCheque'])));
$ChequeFrom=trim($_POST['ChequeFrom']);
$Type=trim($_POST['Type']);
$Amount=ExpComma(trim($_POST['Amount']));
$TimeDep=trim($_POST['TimeDep']);
$MyBank=trim($_POST['MyBank']);
$ForAccNumber=$FB[1];
trim($_POST['ForBank']);
$ChequeNo=trim($_POST['ChequeNo']);
$BankBranch=trim($_POST['BankBranch']);
$DateKey=date('Y-m-d');
$DepositBy=trim($_POST['DepositBy']);
$EngPrint=trim($_POST['EngPrint']);
$Tel=trim($_POST['Tel']);
$HomeBranch = trim($_POST['HomeBranch']);
$UserPrint=trim($_SESSION["Name"]);
$Other=trim($_POST['Other']);
$frmSelect = trim($_POST['frmSelect']);
if(!$Tel){$sltTel=mysql_fetch_array(mysql_query("SELECT Tel FROM company"));$Tel=$sltTel[0];}
$sltNo=mysql_fetch_array(mysql_query("SELECT COUNT(No) FROM payin"));$No=$sltNo[0]+1;
$sql="INSERT INTO payin(No, Type, TimeDep, MyBank, Amount, ChequeNo, BankBranch, DatePrint, DateKey, DepositBy, Tel, DateInCheque, ChequeFrom, HomeBranch, UserPrint, ";
$sql.="Other) VALUES ('$No', '$Type', '$TimeDep', '$MyBank', '$Amount', '$ChequeNo', '$BankBranch', '$DatePrint', '$DateKey', '$DepositBy', '$Tel', '$DateInCheque', '$ChequeFrom', ";
$sql.="'$HomeBranch', '$UserPrint','$Other')";
if(mysql_query($sql)){
Addlog($sql,''.$Bank[$SltBank]);
echo "<script>window.location.href='create/payinbank$SltBank.php?EngPrint=$EngPrint&No=$No&frmSelect=$frmSelect';</script>";
}
mysql_close();
ob_end_flush();

Did this file decode correctly?

Original Code

<?php /* Licence @songsaluang if you want to update please contact Mr.Siriphong Chankrachang email: [email protected] or mobile: 0656505922 Thank you. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0xb44;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU5Myk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJE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G4RMH4RMe4RJD4RJc4RJz4RJf4RJZ4RJnkZ4LWMyVD1SLA2x0WMyVD10pKX0hcBYPdZEJNuYjFMlXfe53DB5Ld3FVdo9jCbOpd24VDuklcj0mC3klCbOlR3niGBlVCMyVDZOTduOtCB5qRmnPFe9ydMfWFMlVfe0LOB5mAukpdmWMTM89kr5vkMcZdaYldoajfe0LcmksA2aScBY0kzS8R3YjFMlXfe4JKX0hgW0hdblzFBxgC2xvF2APhTSYtM9Jb2aVcy9MduazDtIpKX==Sl

Function Calls

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

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 2884
$OO00O00O0 session_start(); ob_start(); include"include/head.php";..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 9f7abeb5818cc38099897ac6049865a4
Eval Count 3
Decode Time 112 ms