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("\x4c\157\x63\141\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"];
$pd1 = Database::search("SELECT * FROM `officer_personal_detials` WHERE `ranviruno`='" . $ranaviruNo7 . "' ");
$rs2 = $pd1->num_rows;
if (empty($ranaviruNo7)) {
echo "*Please Enter Ranaviru No";
} else {
if ($rs2 == 0) {
echo "*Wrong Ranaviru number or this Ranaviru number is not registered. Please try again.";
} else {
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("INSERT INTO `medical_details`
(`RanviruNO`,`MBRecomend`,`DMBRecoment`,`PEarningCapacity`,`RVSAMdicalAmount`) VALUES
('" . $ranaviruNo7 . "','" . $medicalBoardRecommendation . "','" . $dateGivenMedicalBoardRecomentaion . "','" . $percentageofEarningCapacity . "','" . $rVSAMedicalAmount . "')");
echo "success";
}
}
}
}
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
session_start();
if (!isset($_SESSION["\165"])) {
header("\x4c\157\x63\141\x74\x69\157\156\72\x20\56\x2f\154\x6f\x67\151\156\56\160\150\160");
} else {
require "\56\56\57\143\157\156\x6e\x65\x63\164\151\x6f\x6e\x2e\160\x68\x70";
$ranaviruNo7 = $_POST["\x72\141\x6e\141\x76\151\162\165\116\x6f\x37"];
$medicalBoardRecommendation = $_POST["\155\145\144\151\x63\141\154\102\x6f\x61\x72\144\x52\145\x63\157\x6d\155\x65\156\x64\x61\x74\151\157\156"];
$dateGivenMedicalBoardRecomentaion = $_POST["\x64\141\x74\x65\107\151\x76\x65\156\115\x65\x64\151\x63\x61\x6c\x42\157\141\x72\x64\x52\x65\x63\x6f\x6d\x65\156\x74\x61\x69\x6f\156"];
$percentageofEarningCapacity = $_POST["\160\x65\x72\x63\x65\x6e\164\141\147\145\x6f\x66\105\141\162\156\151\156\x67\103\141\160\141\x63\151\x74\x79"];
$rVSAMedicalAmount = $_POST["\162\x56\123\101\115\x65\x64\151\143\141\154\x41\155\x6f\x75\x6e\x74"];
$pd1 = Database::search("\x53\105\114\105\103\124\x20\x2a\40\106\122\x4f\x4d\40\140\x6f\x66\x66\151\143\x65\162\x5f\160\x65\x72\x73\157\156\x61\154\x5f\144\x65\x74\x69\141\x6c\x73\140\x20\127\x48\x45\x52\x45\40\x60\x72\141\x6e\x76\151\x72\165\x6e\157\x60\75\47" . $ranaviruNo7 . "\x27\40");
$rs2 = $pd1->num_rows;
if (empty($ranaviruNo7)) {
echo "\x2a\120\154\145\141\163\x65\x20\x45\156\164\145\162\40\x52\141\x6e\x61\166\151\x72\165\x20\116\157";
} else {
if ($rs2 == 0) {
echo "\52\127\162\157\x6e\x67\40\122\141\x6e\x61\166\x69\162\x75\40\x6e\x75\x6d\142\x65\162\40\x6f\x72\40\x74\x68\151\163\40\122\x61\156\141\166\151\162\x75\40\x6e\165\155\142\x65\162\x20\151\x73\40\156\x6f\164\40\x72\x65\x67\151\163\164\145\x72\145\x64\56\x20\120\154\x65\x61\x73\x65\x20\x74\162\171\x20\x61\147\x61\x69\156\x2e";
} else {
if (empty($medicalBoardRecommendation)) {
echo "\52\x50\x6c\145\141\x73\x65\x20\105\x6e\164\x65\162\40\115\145\x64\151\143\x61\154\x20\142\x6f\x61\x72\x64\x20\122\145\x63\157\155\155\145\x6e\144\x61\164\x69\x6f\156";
} else {
if (empty($dateGivenMedicalBoardRecomentaion)) {
echo "\52\x50\x6c\145\141\x73\x65\40\x45\x6e\164\145\162\40\x44\141\164\x65\40\x67\151\x76\x65\x6e\40\115\x65\x64\151\143\141\x6c\x20\x42\157\x61\162\x64\40\122\145\x63\157\x6d\145\x6e\164\x61\151\x6f\x6e";
} else {
if (empty($percentageofEarningCapacity)) {
echo "\x2a\x50\154\x65\141\163\145\x20\x50\x65\162\x63\145\x6e\x74\141\147\145\40\x6f\146\x20\105\x61\162\156\x69\x6e\147\40\103\141\x70\x61\143\x69\x74\x79";
} else {
if (empty($rVSAMedicalAmount)) {
echo "\52\x50\x6c\x65\x61\x73\145\40\122\126\x53\101\x20\115\145\144\151\x63\x61\x6c\40\x41\x6d\157\x75\156\164";
} else {
Database::iud("\111\x4e\123\x45\122\124\x20\111\116\x54\117\x20\140\x6d\145\144\151\x63\141\x6c\x5f\144\x65\x74\x61\151\154\x73\140\40\12\40\x20\40\x20\x20\x20\40\x20\x28\140\x52\x61\156\166\151\162\x75\116\x4f\140\54\140\x4d\x42\x52\x65\143\x6f\x6d\x65\x6e\144\140\54\140\x44\x4d\x42\x52\x65\143\x6f\155\x65\156\x74\x60\x2c\x60\x50\x45\x61\162\156\x69\156\147\103\141\x70\141\143\x69\164\171\x60\54\140\122\126\x53\x41\115\x64\x69\x63\x61\x6c\101\x6d\157\165\x6e\x74\x60\x29\40\x56\x41\x4c\125\x45\x53\40\12\x20\40\x20\40\x20\40\x20\x20\50\x27" . $ranaviruNo7 . "\47\54\47" . $medicalBoardRecommendation . "\x27\54\47" . $dateGivenMedicalBoardRecomentaion . "\x27\x2c\47" . $percentageofEarningCapacity . "\47\54\x27" . $rVSAMedicalAmount . "\47\x29");
echo "\x73\165\143\x63\145\163\163";
}
}
}
}
}
}
}
Function Calls
header | 1 |
session_start | 1 |
Stats
MD5 | b8f0842db1c775b39b6890800456647b |
Eval Count | 0 |
Decode Time | 48 ms |