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 if (!($_SERVER["REQUEST_METHOD"] == "POST")) { } else { $name = $_POST["\165\..
Decoded Output download
<?php
if (!($_SERVER["REQUEST_METHOD"] == "POST")) {
} else {
$name = $_POST["username"];
$email = $_POST["email"];
$licensekey = $_POST["licensekey"];
$whatsapp = $_POST["whatsapp"];
$clientid = $_POST["clientid"];
$clientsecret = $_POST["clientsecret"];
if (!empty($_POST["password"])) {
$password = password_hash($_POST["password"], PASSWORD_DEFAULT);
$drive = $_POST["drive"];
$username = $name;
$userEmail = $email;
$userLicenseKey = $licensekey;
$WhatsApp = $whatsapp;
$data = "<?php\xa$userEmail = '{$userEmail}';
$userPassword = '{$password}';
$username = '{$username}';
$userLicenseKey = '{$userLicenseKey}';
$WhatsApp = '{$WhatsApp}';
$client_id = '{$clientid}';\xa$client_secret = '{$clientsecret}';
$drive = '{$drive}';";
file_put_contents("db.php", $data);
$response = array("message" => "Successfully Updated. Reloading the page!");
echo json_encode($response);
} else {
include "db.php";
$password = $userPassword;
$drive = $_POST["drive"];
$username = $name;
$userEmail = $email;
$userLicenseKey = $licensekey;
$WhatsApp = $whatsapp;
$data = "<?php\xa$userEmail = '{$userEmail}';
$userPassword = '{$password}';
$username = '{$username}';
$userLicenseKey = '{$userLicenseKey}';
$WhatsApp = '{$WhatsApp}';
$client_id = '{$clientid}';\xa$client_secret = '{$clientsecret}';
$drive = '{$drive}';";
file_put_contents("db.php", $data);
$response = array("message" => "Successfully Updated. Reloading the page!");
echo json_encode($response);
}
} ?>
Did this file decode correctly?
Original Code
<?php
if (!($_SERVER["REQUEST_METHOD"] == "POST")) {
} else {
$name = $_POST["\165\163\x65\162\x6e\x61\155\145"];
$email = $_POST["\x65\155\141\x69\154"];
$licensekey = $_POST["\154\x69\x63\x65\x6e\163\x65\x6b\x65\171"];
$whatsapp = $_POST["\x77\150\141\164\163\x61\160\x70"];
$clientid = $_POST["\x63\x6c\151\x65\156\x74\x69\144"];
$clientsecret = $_POST["\x63\x6c\x69\145\156\164\x73\x65\x63\x72\x65\164"];
if (!empty($_POST["password"])) {
$password = password_hash($_POST["\x70\x61\163\163\x77\x6f\162\x64"], PASSWORD_DEFAULT);
$drive = $_POST["\x64\162\151\x76\145"];
$username = $name;
$userEmail = $email;
$userLicenseKey = $licensekey;
$WhatsApp = $whatsapp;
$data = "\x3c\77\x70\x68\160\xa\44\x75\163\145\162\x45\x6d\x61\x69\154\x20\75\x20\x27{$userEmail}\47\73\12\x24\x75\163\x65\x72\x50\141\163\x73\x77\x6f\162\x64\x20\75\x20\x27{$password}\x27\73\12\x24\165\163\145\x72\156\x61\x6d\145\40\x3d\40\47{$username}\x27\x3b\12\44\165\x73\145\162\x4c\151\143\x65\x6e\x73\x65\x4b\x65\171\x20\75\x20\47{$userLicenseKey}\47\x3b\12\44\127\x68\x61\164\163\x41\160\160\40\x3d\40\x27{$WhatsApp}\x27\73\12\x24\x63\154\x69\145\x6e\x74\137\151\144\x20\75\40\47{$clientid}\47\73\xa\x24\143\154\x69\x65\156\164\137\x73\145\143\x72\x65\x74\40\75\x20\47{$clientsecret}\47\73\12\x24\x64\x72\x69\x76\145\40\75\x20\x27{$drive}\47\x3b";
file_put_contents("\144\x62\56\x70\150\x70", $data);
$response = array("\x6d\145\x73\x73\141\x67\145" => "\123\x75\x63\x63\145\x73\x73\x66\165\x6c\x6c\171\40\125\x70\x64\141\164\145\144\x2e\x20\122\145\154\157\x61\144\151\x6e\x67\40\164\150\x65\40\x70\x61\147\145\x21");
echo json_encode($response);
} else {
include "\x64\x62\56\160\x68\160";
$password = $userPassword;
$drive = $_POST["\x64\162\151\x76\145"];
$username = $name;
$userEmail = $email;
$userLicenseKey = $licensekey;
$WhatsApp = $whatsapp;
$data = "\x3c\77\x70\x68\160\xa\44\x75\163\145\162\x45\x6d\x61\x69\154\x20\75\x20\x27{$userEmail}\47\73\12\x24\x75\163\x65\x72\x50\141\163\x73\x77\x6f\162\x64\x20\75\x20\x27{$password}\x27\73\12\x24\165\163\145\x72\156\x61\x6d\145\40\x3d\40\47{$username}\x27\x3b\12\44\165\x73\145\162\x4c\151\143\x65\x6e\x73\x65\x4b\x65\171\x20\75\x20\47{$userLicenseKey}\47\x3b\12\44\127\x68\x61\164\163\x41\160\160\40\x3d\40\x27{$WhatsApp}\x27\73\12\x24\x63\154\x69\145\x6e\x74\137\151\144\x20\75\40\47{$clientid}\47\73\xa\x24\143\154\x69\x65\156\164\137\x73\145\143\x72\x65\x74\40\75\x20\47{$clientsecret}\47\73\12\x24\x64\x72\x69\x76\145\40\75\x20\x27{$drive}\47\x3b";
file_put_contents("\144\x62\56\x70\150\x70", $data);
$response = array("\x6d\145\x73\x73\141\x67\145" => "\123\x75\x63\x63\145\x73\x73\x66\165\x6c\x6c\171\40\125\x70\x64\141\164\145\144\x2e\x20\122\145\154\157\x61\144\151\x6e\x67\40\164\150\x65\40\x70\x61\147\145\x21");
echo json_encode($response);
}
}
Function Calls
None |
Stats
MD5 | e49241d24754a9e2c886fdfcdba31b4c |
Eval Count | 0 |
Decode Time | 64 ms |