Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
"\x73\145\164\x74\151\156\147\163\x2e\x70\x68\x70", "\x77\x62"); goto Q1UaSV; ohDXgd: fwri..
Decoded Output download
<? "settings.php", "wb"); goto Q1UaSV; ohDXgd: fwrite($fp, $licensename); goto uYjWt1; gTquNh: $content = "<?php
\xa date_default_timezone_set('America/Sao_Paulo');
ini_set('error_reporting', 1);
define('DB_SERVER', '{$host}');
define('DB_USERNAME', '{$user}');
define('DB_PASSWORD', '{$pass}');\xa define('DB_NAME', '{$database}');
try {
$pdo = new PDO("mysql:host=" . DB_SERVER . ";dbname=" . DB_NAME, DB_USERNAME, DB_PASSWORD);\xa $pdo -> exec("set names utf8");\xa } catch(PDOException $e) {
die("Falha ao conectar no banco de dados.");
}
$license = "license";
$security = "security";
\ ?>
Did this file decode correctly?
Original Code
"\x73\145\164\x74\151\156\147\163\x2e\x70\x68\x70", "\x77\x62"); goto Q1UaSV; ohDXgd: fwrite($fp, $licensename); goto uYjWt1; gTquNh: $content = "\74\x3f\x70\150\160\12\xa\40\40\40\x20\40\x20\40\40\x64\141\x74\145\x5f\x64\145\x66\x61\165\154\164\x5f\x74\x69\155\145\x7a\157\x6e\145\137\163\x65\164\50\x27\101\x6d\x65\162\151\x63\141\57\123\141\x6f\x5f\120\141\x75\x6c\157\x27\51\73\12\40\40\x20\40\40\40\x20\40\151\156\151\137\x73\x65\164\50\x27\145\162\162\x6f\x72\137\x72\x65\160\157\x72\x74\151\x6e\x67\x27\54\40\61\51\x3b\12\40\40\40\x20\40\x20\x20\x20\144\145\x66\x69\x6e\145\x28\x27\x44\102\137\123\x45\x52\x56\105\x52\x27\54\40\x27{$host}\x27\x29\73\12\40\40\40\40\x20\x20\x20\x20\144\145\146\x69\156\145\50\x27\x44\102\137\125\123\x45\x52\x4e\x41\115\105\47\x2c\x20\x27{$user}\47\x29\73\12\x20\x20\40\x20\40\40\40\40\x64\145\146\151\x6e\x65\x28\47\104\x42\137\120\x41\x53\x53\127\x4f\122\x44\47\x2c\40\47{$pass}\x27\51\73\xa\40\40\x20\40\40\x20\40\x20\144\x65\x66\x69\x6e\145\x28\x27\104\102\137\x4e\101\115\105\x27\x2c\40\x27{$database}\x27\51\73\12\40\x20\x20\40\x20\x20\40\40\164\x72\171\x20\173\12\40\40\40\40\x20\x20\40\x20\40\x20\40\x20\44\x70\144\x6f\40\x3d\x20\156\145\167\40\120\x44\117\x28\x22\x6d\x79\x73\161\x6c\x3a\x68\157\x73\x74\75\42\x20\56\40\104\x42\137\123\105\x52\126\105\122\x20\56\x20\42\x3b\x64\x62\156\141\155\x65\x3d\x22\x20\56\40\104\x42\137\116\101\x4d\105\x2c\40\x44\x42\137\x55\x53\x45\x52\116\x41\x4d\105\54\x20\x44\102\137\120\101\123\x53\x57\x4f\122\x44\51\x3b\xa\40\40\x20\40\x20\40\x20\x20\40\40\x20\x20\x24\x70\x64\157\40\x2d\x3e\40\x65\170\145\143\50\42\x73\145\164\40\156\x61\155\x65\163\x20\x75\164\146\70\x22\x29\x3b\xa\40\40\40\40\x20\40\40\x20\40\x20\175\x20\x63\x61\164\x63\150\50\x50\104\x4f\105\170\143\x65\x70\164\x69\x6f\x6e\40\x24\145\x29\x20\173\12\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\144\151\145\50\x22\x46\141\x6c\x68\x61\x20\x61\157\x20\143\x6f\x6e\x65\x63\x74\x61\x72\x20\156\157\x20\x62\x61\x6e\x63\157\x20\x64\145\x20\144\141\144\x6f\163\x2e\x22\51\x3b\12\40\x20\x20\x20\x20\40\x20\40\x7d\12\x20\40\40\40\x20\x20\40\40\x24\154\x69\143\x65\x6e\163\145\x20\x3d\40\x22\154\x69\x63\145\156\163\145\x22\73\12\40\40\x20\x20\x20\40\40\40\44\163\145\143\165\x72\151\164\x79\x20\75\x20\42\x73\x65\x63\x75\x72\151\x74\x79\42\x3b\12\x20\x20\
Function Calls
None |
Stats
MD5 | 2d8e1a909dea6a008821f2a849cba49c |
Eval Count | 0 |
Decode Time | 67 ms |