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 session_start(); if (!isset($_SESSION["\165"])) { header("\114\157\x63\x61\x7..
Decoded Output download
<?php
session_start();
if (!isset($_SESSION["u"])) {
header("Location: ./login.php");
} else {
require "../connection.php";
$ranaviruNo7 = $_POST["ranaviruNo7"];
$medicalBoardRecommendation = $_POST["medicalBoardRecommendation"];
$dateGivenMedicalBoardRecomentaion = $_POST["dateGivenMedicalBoardRecomentaion"];
$percentageofEarningCapacity = $_POST["percentageofEarningCapacity"];
$rVSAMedicalAmount = $_POST["rVSAMedicalAmount"];
if (empty($medicalBoardRecommendation)) {
echo "*Please Enter Medical board Recommendation";
} else {
if (empty($dateGivenMedicalBoardRecomentaion)) {
echo "*Please Enter Date given Medical Board Recomentaion";
} else {
if (empty($percentageofEarningCapacity)) {
echo "*Please Percentage of Earning Capacity";
} else {
if (empty($rVSAMedicalAmount)) {
echo "*Please RVSA Medical Amount";
} else {
Database::iud("UPDATE `medical_details` SET `MBRecomend`='" . $medicalBoardRecommendation . "',`DMBRecoment`='" . $dateGivenMedicalBoardRecomentaion . "',`PEarningCapacity`='" . $percentageofEarningCapacity . "',`RVSAMdicalAmount`='" . $rVSAMedicalAmount . "' WHERE `RanviruNO`='" . $ranaviruNo7 . "'");
echo "success";
}
}
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
session_start();
if (!isset($_SESSION["\165"])) {
header("\114\157\x63\x61\x74\151\157\x6e\x3a\x20\56\57\x6c\157\147\x69\156\x2e\160\x68\160");
} else {
require "\56\56\57\143\157\x6e\x6e\x65\143\x74\151\157\x6e\56\x70\150\x70";
$ranaviruNo7 = $_POST["\162\141\156\x61\x76\x69\x72\165\116\157\x37"];
$medicalBoardRecommendation = $_POST["\155\145\x64\151\143\141\154\x42\157\141\162\144\x52\145\x63\x6f\155\x6d\x65\156\144\x61\x74\151\x6f\x6e"];
$dateGivenMedicalBoardRecomentaion = $_POST["\144\x61\x74\x65\107\x69\166\145\156\115\x65\144\151\x63\141\154\102\157\x61\162\x64\122\145\x63\x6f\155\145\x6e\x74\141\x69\157\x6e"];
$percentageofEarningCapacity = $_POST["\160\x65\x72\x63\x65\156\164\x61\x67\x65\x6f\146\x45\141\162\156\x69\156\x67\103\141\x70\x61\x63\x69\164\x79"];
$rVSAMedicalAmount = $_POST["\162\x56\x53\x41\x4d\x65\144\x69\x63\x61\154\x41\x6d\157\x75\x6e\x74"];
if (empty($medicalBoardRecommendation)) {
echo "\x2a\120\x6c\145\x61\x73\145\x20\x45\x6e\x74\x65\162\x20\x4d\145\144\151\143\x61\154\40\x62\157\141\x72\x64\x20\122\145\143\x6f\x6d\155\x65\156\x64\x61\x74\151\157\156";
} else {
if (empty($dateGivenMedicalBoardRecomentaion)) {
echo "\x2a\120\154\145\x61\163\145\x20\x45\156\x74\x65\x72\40\104\x61\x74\145\x20\x67\x69\x76\x65\156\40\115\145\144\x69\x63\x61\154\40\x42\x6f\x61\162\x64\40\122\145\143\157\x6d\145\156\x74\x61\x69\157\156";
} else {
if (empty($percentageofEarningCapacity)) {
echo "\x2a\120\x6c\145\x61\163\145\x20\120\145\x72\143\x65\x6e\164\141\x67\145\40\157\x66\x20\x45\x61\x72\x6e\151\156\x67\x20\103\x61\x70\x61\143\151\x74\x79";
} else {
if (empty($rVSAMedicalAmount)) {
echo "\x2a\120\x6c\145\x61\x73\145\40\x52\126\x53\101\40\x4d\145\x64\151\x63\141\154\x20\101\155\157\x75\156\x74";
} else {
Database::iud("\x55\120\x44\x41\x54\105\40\140\155\x65\144\151\143\141\154\137\x64\145\x74\x61\x69\x6c\x73\x60\x20\123\x45\124\x20\140\x4d\x42\x52\145\143\x6f\155\145\x6e\x64\x60\x3d\47" . $medicalBoardRecommendation . "\47\54\140\104\x4d\x42\x52\x65\143\x6f\x6d\145\156\164\x60\75\x27" . $dateGivenMedicalBoardRecomentaion . "\47\54\x60\x50\x45\141\162\x6e\151\x6e\x67\x43\x61\x70\141\x63\x69\164\x79\x60\75\47" . $percentageofEarningCapacity . "\x27\54\140\x52\126\123\x41\115\x64\151\143\141\154\101\x6d\x6f\165\x6e\164\x60\x3d\47" . $rVSAMedicalAmount . "\47\40\x57\110\x45\122\105\x20\x60\122\x61\x6e\x76\151\x72\x75\x4e\117\x60\75\47" . $ranaviruNo7 . "\47");
echo "\x73\165\x63\x63\145\163\x73";
}
}
}
}
}
Function Calls
header | 1 |
session_start | 1 |
Stats
MD5 | 13a4c50fc632693a07d81338fb0905f5 |
Eval Count | 0 |
Decode Time | 69 ms |