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 goto Y1_qg; Y1_qg: ?> <!doctypehtml><html lang="en"><head><meta charset="UTF-8"><..

Decoded Output download

<?php 
 goto Y1_qg; Y1_qg: ?> 
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><title>NID Info</title><style>body{font-family:Arial,sans-serif;background-color:#f5f5f5;color:#333;margin:20px;text-align:center}h1{color:#007acc}form{max-width:400px;margin:20px auto;background-color:#fff;padding:20px;border-radius:12px;box-shadow:0 0 10px rgba(0,0,0,.1)}label{display:block;margin-bottom:8px;color:#007acc}input{width:calc(100% - 16px);padding:10px;margin-bottom:16px;box-sizing:border-box;border:1px solid #007acc;border-radius:8px}input[type=submit]{background-color:#007acc;color:#fff;cursor:pointer}input[type=submit]:hover{background-color:#005580}h2{color:#007acc;text-align:center}.response-box{margin-top:20px;padding:10px;border:1px solid #007acc;border-radius:8px;color:#007acc;text-align:left}.response-data{font-weight:700;color:#007acc;text-align:left}</style></head><body><h1>X10-NID-INFO</h1><form action=""method="post"><input name="nid"id="nid"placeholder="Enter NID"required> <input name="dob"id="dob"placeholder="Enter DOB (YYYY-MM-DD)"required> <input name="getInfo"type="submit"value="Submit"> <a href="https://t.me/versionx10"target="_blank"><input type="button"value="Join Telegram"></a></form><?php  goto J1cvj; J1cvj: if (isset($_POST["getInfo"])) { $nidNumber = $_POST["nid"]; $dob = $_POST["dob"]; if (!preg_match("/^\d{4}-\d{2}-\d{2}$/", $dob)) { echo "<div class="response-box" id="responseBox">Invalid Date of Birth format. Please use (YYYY-MM-DD)</div>"; } else { $apiUrl = "https://api.versionx10.xyz/Server-Copy/NN.php?Nid={$nidNumber}&Dob={$dob}"; $response = file_get_contents($apiUrl); $data = json_decode($response, true); echo "<div class="response-box" id="responseBox">"; if (!empty($data["NameBn"])) { echo " :  " . $data["NameBn"] . "<br>"; } if (!empty($data["NameEn"])) { echo "Name:  " . $data["NameEn"] . "<br>"; } if (!empty($data["NID"])) { echo "Old NID  : " . $data["NID"] . "<br>"; } if (!empty($data["SMARTID"])) { echo "Smart NID :  " . $data["SMARTID"] . "<br>"; } if (!empty($data["DOB"])) { echo "Dob :  " . $data["DOB"] . "<br>"; } if (!empty($data["ADDRESS"])) { echo "Address :  " . $data["ADDRESS"] . "<br>"; } if (!empty($data["ADDRESSPERM"])) { echo "Permanent Address :  " . $data["ADDRESSPERM"] . "<br>"; } if (empty($data)) { echo "Data Not Found. The Server...!"; } echo "</div>"; } } goto Akk9e; Akk9e: ?> 
</body></html>

Did this file decode correctly?

Original Code

<?php
 goto Y1_qg; Y1_qg: ?>
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><title>NID Info</title><style>body{font-family:Arial,sans-serif;background-color:#f5f5f5;color:#333;margin:20px;text-align:center}h1{color:#007acc}form{max-width:400px;margin:20px auto;background-color:#fff;padding:20px;border-radius:12px;box-shadow:0 0 10px rgba(0,0,0,.1)}label{display:block;margin-bottom:8px;color:#007acc}input{width:calc(100% - 16px);padding:10px;margin-bottom:16px;box-sizing:border-box;border:1px solid #007acc;border-radius:8px}input[type=submit]{background-color:#007acc;color:#fff;cursor:pointer}input[type=submit]:hover{background-color:#005580}h2{color:#007acc;text-align:center}.response-box{margin-top:20px;padding:10px;border:1px solid #007acc;border-radius:8px;color:#007acc;text-align:left}.response-data{font-weight:700;color:#007acc;text-align:left}</style></head><body><h1>X10-NID-INFO</h1><form action=""method="post"><input name="nid"id="nid"placeholder="Enter NID"required> <input name="dob"id="dob"placeholder="Enter DOB (YYYY-MM-DD)"required> <input name="getInfo"type="submit"value="Submit"> <a href="https://t.me/versionx10"target="_blank"><input type="button"value="Join Telegram"></a></form><?php  goto J1cvj; J1cvj: if (isset($_POST["\147\x65\164\111\156\146\x6f"])) { $nidNumber = $_POST["\x6e\151\x64"]; $dob = $_POST["\x64\157\x62"]; if (!preg_match("\x2f\x5e\x5c\144\x7b\x34\x7d\x2d\134\x64\173\62\x7d\55\x5c\144\173\62\175\44\x2f", $dob)) { echo "\x3c\x64\151\x76\x20\x63\x6c\x61\163\163\x3d\42\162\145\163\x70\x6f\x6e\163\145\x2d\x62\x6f\x78\x22\x20\x69\144\x3d\x22\162\145\x73\160\x6f\156\163\145\102\157\x78\x22\x3e\x49\156\166\x61\154\151\144\40\104\141\164\145\40\x6f\x66\x20\102\151\162\x74\150\x20\x66\x6f\x72\155\x61\164\56\40\x50\154\145\141\163\145\x20\165\163\x65\x20\x28\131\x59\131\x59\x2d\115\x4d\55\x44\104\51\74\x2f\144\x69\x76\x3e"; } else { $apiUrl = "\150\164\164\x70\x73\x3a\x2f\x2f\x61\x70\x69\56\166\x65\162\163\x69\157\x6e\x78\61\60\x2e\170\x79\172\x2f\x53\145\x72\166\145\162\x2d\103\157\160\171\x2f\116\116\x2e\160\x68\x70\77\116\x69\144\x3d{$nidNumber}\46\104\x6f\142\x3d{$dob}"; $response = file_get_contents($apiUrl); $data = json_decode($response, true); echo "\x3c\144\x69\x76\40\143\154\x61\163\x73\75\x22\x72\145\x73\x70\x6f\x6e\163\x65\55\142\157\170\x22\x20\151\144\x3d\x22\x72\x65\163\160\157\156\x73\x65\102\x6f\x78\x22\x3e"; if (!empty($data["\x4e\x61\155\145\x42\156"])) { echo "\340\xa6\xa8\340\xa6\xbe\xe0\246\256\40\72\40\x20" . $data["\x4e\141\155\x65\102\x6e"] . "\74\142\162\76"; } if (!empty($data["\116\x61\155\145\x45\156"])) { echo "\116\141\155\x65\x3a\40\x20" . $data["\116\x61\x6d\x65\105\156"] . "\x3c\x62\162\76"; } if (!empty($data["\116\111\x44"])) { echo "\117\154\144\40\116\111\x44\40\40\x3a\x20" . $data["\116\x49\x44"] . "\74\142\x72\76"; } if (!empty($data["\123\115\101\122\x54\111\104"])) { echo "\123\155\x61\162\x74\x20\116\111\x44\40\72\40\40" . $data["\123\115\101\x52\x54\x49\104"] . "\74\142\162\76"; } if (!empty($data["\x44\117\102"])) { echo "\104\x6f\x62\x20\x3a\40\x20" . $data["\104\x4f\x42"] . "\x3c\x62\162\x3e"; } if (!empty($data["\101\x44\104\122\105\x53\123"])) { echo "\101\x64\144\x72\x65\163\x73\40\x3a\40\x20" . $data["\x41\104\x44\x52\105\123\123"] . "\74\142\x72\76"; } if (!empty($data["\x41\x44\x44\x52\105\123\123\x50\105\x52\x4d"])) { echo "\120\x65\162\x6d\x61\x6e\145\x6e\164\40\101\x64\x64\x72\145\x73\163\40\x3a\x20\40" . $data["\101\x44\104\122\x45\123\123\x50\105\x52\115"] . "\74\x62\162\x3e"; } if (empty($data)) { echo "\x44\141\164\x61\40\116\x6f\164\x20\106\157\165\156\x64\56\40\x54\150\145\40\123\145\x72\166\x65\x72\56\x2e\56\41"; } echo "\74\57\144\x69\166\x3e"; } } goto Akk9e; Akk9e: ?>
</body></html>

Function Calls

None

Variables

None

Stats

MD5 b820944795f715ac091a5c94c02b82fd
Eval Count 0
Decode Time 65 ms