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 and provided under license. Reverse engin..

Decoded Output download

	session_start();
include("./includes/connection.php");
if(isset($_GET['Status']) &&$_GET['Status'] == 'New'){
if(isset($_SESSION['Grn_ID'])){
unset($_SESSION['Grn_ID']);
header("Location: ./grnwithoutpurchaseorder.php?GrnWithoutPurchaseOrder=GrnWithoutPurchaseOrderThisPage");
}else{
header("Location: ./grnwithoutpurchaseorder.php?GrnWithoutPurchaseOrder=GrnWithoutPurchaseOrderThisPage");
}
}else if(isset($_GET['Status']) &&$_GET['Status'] == 'pending'){
if(isset($_SESSION['Grn_ID'])){
unset($_SESSION['Grn_ID']);
header("Location: ./grnwithoutpurchaseorder.php?GrnWithoutPurchaseOrder=GrnWithoutPurchaseOrderThisPage");
}else{
header("Location: ./grnwithoutpurchaseorder.php?GrnWithoutPurchaseOrder=GrnWithoutPurchaseOrderThisPage");
}
}else if(isset($_GET['Status']) &&$_GET['Status'] == 'Previous'){
if(isset($_SESSION['Grn_ID'])){unset($_SESSION['Grn_ID']);}
if(isset($_GET['Grn_ID'])){$Grn_ID = $_GET['Grn_ID'];}else{$Grn_ID = 0;}
header("Location: ./previewgrnwithoutpurchaseorderreport.php?Grn_ID=$Grn_ID");
}else{
header("Location: ./grnwithoutpurchaseorder.php?GrnWithoutPurchaseOrder=GrnWithoutPurchaseOrderThisPage");
};

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$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=0x5ec;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4NCk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>BKs^h^kcPkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLO0xNWLyHA1SmT09NHeEXHr8Xk10PkrfHT0knTyYdk09NTzEXHeEXTZffhtOuTr9tWAxTBZfNHr8XHr9NHeEmbUILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzam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YlT3kLcbw9O3kVa2l0Do91fyn1FMYPCbYlT3kLcbkADolzAoymcUwpKXp9tm1lduYlwolMholzF2a0htOgO0aABZfTfoy0fbHmbULIkJCLb0fyaySmA3Oifuazk10INT0Ik1nZcbcpd3azkZl7tMlMholzF2a0htOgA0aTA0lNTlSmO3kVb0lrk10phbs1dmYlftILb1YyA1YkT05dk0fZdl9kOtffhTs9tMlMholzF2a0htOgO0aABZfuFM5gUAWmbULpGZOuFM5gUAWINUELb0fyaySmO3kVb0lrk107gBaSF2a7krfZdl9kOtE9weE7gWpPcByLcbwPwLxvC2y0DB9VKJEVR3nZcbcpcbfmFM53DbOPd3a0FuaZC2iiF2avFMOlFmklFo9Zft5XDuE/O3kVb0lrNUOuFM5gUAWJhTShgBaSF2a7tMilCBOlFJIJTo9jCbOpd246wt4vc3kVf2l0Do91fun1FMYPCbYld3kLcbwVFoiXN0fZdlfpfoivfbOWfbkjDoyzcA9ZcoaZNAfZdlfpfoivfbOWfbkjDoyzcA9ZcoaZaoipF1nic2AJhTShgTS=Ats_QGr}mWVQj

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 1516
$OO00O00O0 session_start(); include("./includes/connection.php"); if(i..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 a12bdbadaec794c27b14742f7478eeea
Eval Count 3
Decode Time 94 ms