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 class WPGWordPressDB { public static function isField($AS4zc, $ydFb_, $oU..
Decoded Output download
<?php
class WPGWordPressDB
{
public static function isField($AS4zc, $ydFb_, $oU0xh = true)
{
global $wpdb;
static $WknSh;
if ($AS4zc !== '' and $ydFb_ !== '') {
goto bseEW;
}
return false;
bseEW:
if (!isset($ilJfW[$AS4zc]) or !$oU0xh) {
goto nJGXk;
}
goto db4dc459d9667;
nJGXk:
$ilJfW[$AS4zc] = array();
$LEQcE = "SHOW COLUMNS FROM `" . esc_sql($AS4zc) . "`";
$LggHw = $wpdb->get_results($LEQcE, ARRAY_A);
if ($wpdb->last_error != '') {
goto fPLD6;
}
goto Eac3f7aad9e5b;
fPLD6:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Eac3f7aad9e5b:
if (!empty($LggHw)) {
goto OJzPs;
}
goto cefbb4edc63c3;
OJzPs:
foreach ($LggHw as $xMyOZ) {
if (isset($xMyOZ["Field"])) {
goto FaDMp;
}
goto D8396e67a363d;
FaDMp:
$ilJfW[$AS4zc][] = $xMyOZ["Field"];
D8396e67a363d:
sKy5i:
}
b_HfR:
cefbb4edc63c3:
db4dc459d9667:
return in_array($ydFb_, $ilJfW[$AS4zc]);
} ?>
Did this file decode correctly?
Original Code
<?php
class WPGWordPressDB
{
public static function isField($AS4zc, $ydFb_, $oU0xh = true)
{
global $wpdb;
static $WknSh;
if ($AS4zc !== '' and $ydFb_ !== '') {
goto bseEW;
}
return false;
bseEW:
if (!isset($ilJfW[$AS4zc]) or !$oU0xh) {
goto nJGXk;
}
goto db4dc459d9667;
nJGXk:
$ilJfW[$AS4zc] = array();
$LEQcE = "\x53\110\117\x57\x20\x43\117\114\125\115\116\x53\x20\106\122\x4f\115\40\140" . esc_sql($AS4zc) . "\140";
$LggHw = $wpdb->get_results($LEQcE, ARRAY_A);
if ($wpdb->last_error != '') {
goto fPLD6;
}
goto Eac3f7aad9e5b;
fPLD6:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Eac3f7aad9e5b:
if (!empty($LggHw)) {
goto OJzPs;
}
goto cefbb4edc63c3;
OJzPs:
foreach ($LggHw as $xMyOZ) {
if (isset($xMyOZ["\106\151\145\x6c\x64"])) {
goto FaDMp;
}
goto D8396e67a363d;
FaDMp:
$ilJfW[$AS4zc][] = $xMyOZ["\x46\x69\x65\x6c\x64"];
D8396e67a363d:
sKy5i:
}
b_HfR:
cefbb4edc63c3:
db4dc459d9667:
return in_array($ydFb_, $ilJfW[$AS4zc]);
}
Function Calls
None |
Stats
MD5 | 038217853ea05c8e50b121f517497f03 |
Eval Count | 0 |
Decode Time | 48 ms |