Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
class WPGPlugin { protected static function _init() { } protected sta..
Decoded Output download
<? class WPGPlugin
{
protected static function _init()
{
}
protected static function _destroy()
{
}
public static function load()
{
register_activation_hook(WPGRABBER_PLUGIN_FILE, array(wpgPlugin(), "install"));
register_deactivation_hook(WPGRABBER_PLUGIN_FILE, array(wpgPlugin(), "uninstall"));
if (!WPGTools::isSubmit("saveButton")) {
goto bpsmu;
}
bpsmu:
add_action("wpgrabber_cron", array(wpgPlugin(), "wpCron"));
add_filter("cron_schedules", array(wpgPlugin(), "wpCronInterval"));
add_action("wpgrabber_crontz", array(wpgPlugin(), "wpCronTz"));
add_filter("plugin_action_links", array(wpgPlugin(), "addSettingsLink"), 10, 4);
add_filter("set-screen-option", array(wpgPlugin(), "setListOptions"), 8, 3);
add_filter("set_screen_option_" . "wpgrabber_feeds_per_page", array(wpgPlugin(), "setListOptions"), 10, 3);
add_action("admin_enqueue_scripts", array(wpgPlugin(), "js"));
add_action("admin_menu", array(wpgPlugin(), "menu"));
add_action("before_delete_post", array(wpgPlugin(), "deletePost"));
if (!wpgIsDemo()) {
goto MEvQp;
}
add_filter("login_redirect", array(wpgPlugin(), "adminDefaultPage"));
MEvQp:
add_action("wp_ajax_wpgrabberAjaxExec", array(wpgPlugin(), "ajaxExec"));
add_action("wp_ajax_wpgrabberAjaxExecTz", array(wpgPlugin(), "ajaxExecTz"));
if (!WPGTools::isSubmit("wpgrabberGetErrorLogFile")) {
goto DLCrk;
}
add_action("wp_loaded", array(wpgPlugin(), "getErrorLogFile"));
DLCrk:
if (!WPGTools::isSubmit("wpgrabberDeactivateAndClear")) {
goto YpIGP;
}
add_action("admin_init", array(wpgPlugin(), "deactivateAndClear"));
YpIGP:
if (!(WPGTools::getValue("action") == "export")) {
goto Tzngl;
}
add_action("plugins_loaded", array(wpgPlugin(), "export"));
Tzngl:
if (!WPGTools::getValue("wpgrun")) {
goto g4e_N;
}
add_action("wp_loaded", array(wpgPlugin(), "serverCron"));
g4e_N:
if (!WPGTools::getValue("cron_tz")) {
goto mFf8C;
}
add_action("wp_loaded", array(wpgPlugin(), "serverCronTz"));
mFf8C:
add_action("admin_print_footer_scripts", array(wpgPlugin(), "vk_api_settings_page_js"));
}
function wpUpdateShare()
{
$IQT2t = get_option("wpg_" . "vk_access_token_url");
if (!(isset($IQT2t) && !empty($IQT2t))) {
goto QpnPr;
}
$oQ87T = explode("#", $IQT2t);
$Xvp_K = wp_parse_args($oQ87T[1]);
$On89G = $Xvp_K["access_token"];
update_option("wpg_vk_access_token", $On89G);
QpnPr:
}
public static function vk_api_settings_page_js()
{
echo " <script type="text/javascript">\xd
jQuery(document).ready(function ($) {\xd
\xa $("#options\\[vk_app_id\\]").change(function () {\xd
if ($(this).val().trim().length) {\xd\xa $(this).val($(this).val().trim());\xd\xa $('#getaccesstokenurl').attr({
'href': 'http://oauth.vk.com/authorize?client_id=' + $(this).val().trim() + '&scope=wall,photos,video,market,offline&redirect_uri=http://api.vk.com/blank.html&display=page&response_type=token',
\xa 'target': '_blank'\xd
});\xd\xa
\xa }\xd\xa else {
$('#getaccesstokenurl').attr({'href': 'javscript:void(0);'});
}\xd
\xa });
\xa\xd
}); // jQuery End
</script>\xd
";
}
public static function addSettingsLink($b5bTD, $Qm7EG, $WtLXm, $lnP7H)
{
if (!(mb_strpos($Qm7EG, "wpgrabber") === false)) {
goto JCRYB;
}
return $b5bTD;
JCRYB:
$ZfwCj = array("<a title="\xd0\241\xd0\261\321\200\320\276\xd1\x81\320\xb8\xd1\x82\321\214 \320\275\320\260\321\x81\xd1\202\321\x80\320\xbe\xd0\271\320\xba\xd0\270 \320\xbf\320\xbb\320\xb0\xd0\xb3\320\xb8\320\xbd\xd0\260, \321\x83\xd0\xb4\320\260\320\273\xd0\xb8\xd1\x82\321\214 \xd0\xb2\xd1\201\320\xb5 \xd0\273\xd0\265\xd0\275\321\202\xd1\x8b \xd0\270 \xd1\202\320\260\320\261\xd0\xbb\xd0\xb8\321\206\321\x8b \320\xbf\320\xbb\xd0\xb0\320\263\xd0\270\xd0\xbd\320\xb0" onclick="return confirm('\xd0\x92\xd1\x8b \xd0\xb4\xd0\xb5\xd0\xb9\xd1\201\321\x82\320\270\xd1\x82\xd0\265\320\xbb\321\214\xd0\xbd\320\xbe \xd1\205\xd0\276\321\202\xd0\270\321\x82\320\xb5 \xd1\203\320\264\320\xb0\xd0\xbb\320\xb8\321\202\321\214 \xd0\262\321\x81\320\265 \xd0\275\320\260\xd1\x81\xd1\202\xd1\x80\xd0\276\xd0\265\xd0\xbd\320\xbd\xd1\x8b\320\xb5 \xd0\273\xd0\265\320\xbd\321\x82\321\x8b, \321\202\320\xb0\320\xb1\xd0\273\320\270\321\206\xd1\x8b \xd0\277\320\273\xd0\260\320\xb3\xd0\270\xd0\275\320\xb0, \xd0\260 \xd1\x82\320\260\320\xba\320\xb6\320\xb5 \321\201\xd0\261\321\200\xd0\xbe\xd1\201\xd0\xb8\321\x82\xd1\x8c \320\xb2\xd1\201\320\265 \320\277\320\260\xd1\200\xd0\xb0\xd0\xbc\xd0\xb5\xd1\202\xd1\200\xd1\213 \xd0\xb8 \xd0\264\320\xb5\xd0\260\320\272\xd1\202\320\270\xd1\200\xd0\276\320\xb2\320\xb0\xd1\x82\321\x8c \xd0\277\320\273\320\260\xd0\263\xd0\270\320\275 WPGrabber?');" href="" . admin_url("/admin.php?page=wpgrabber-settings&wpgrabberDeactivateAndClear") . "">\xd0\241\320\xb1\xd1\x80\xd0\xbe\321\201\xd0\xb8\xd1\x82\xd1\x8c?</a>");
return array_merge($b5bTD, $ZfwCj);
}
public static function install()
{
require_once WPGRABBER_PLUGIN_INSTALL_DIR . DIRECTORY_SEPARATOR . "install.php";
self::_wpCronOn();
}
public static function uninstall()
{
self::_wpCronOff();
}
protected static function _wpCronOn()
{
if (wp_next_scheduled("wpgrabber_cron")) {
goto AebP6;
}
wp_schedule_event(time(), "wpgmin", "wpgrabber_cron");
AebP6:
if (wp_next_scheduled("wpgrabber_crontz")) {
goto CA2Im;
}
wp_schedule_event(time(), "wpgmintz", "wpgrabber_crontz");
CA2Im:
}
protected static function _wpCronOff()
{
wp_clear_scheduled_hook("wpgrabber_cron");
wp_clear_scheduled_hook("wpgrabber_crontz");
}
public static function wpCronInterval($r2y2n)
{
$IbYLD = get_option("wpg_cronInterval") ? get_option("wpg_cronInterval") : 60;
$r2y2n["wpgmin"] = array("interval" => $IbYLD * 60, "display" => "\320\247\320\xb5\321\200\320\xb5\xd0\xb7 \xd0\xba\xd0\260\320\xb6\320\xb4\321\213\320\265 " . $IbYLD . " \xd0\xbc\xd0\270\320\275\321\x83\xd1\202");
$IbYLD = get_option("wpg_cronIntervalTz") ? get_option("wpg_cronIntervalTz") : 60;
$r2y2n["wpgmintz"] = array("interval" => $IbYLD * 60, "display" => "\320\xa7\320\xb5\321\x80\320\265\xd0\267 \xd0\xba\xd0\xb0\xd0\266\xd0\xb4\xd1\213\320\265 " . $IbYLD . " \xd0\xbc\320\270\320\275\xd1\203\321\x82");
return $r2y2n;
}
public static function serverCron()
{
if (!get_option("wpg_cronOn")) {
goto OOE11;
}
self::_cron();
exit;
OOE11:
return false;
}
public static function serverCronTz()
{
if (!get_option("wpg_cronOnTz")) {
goto QMLJD;
}
self::_crontz(0);
exit;
QMLJD:
return false;
}
public static function wpCron()
{
if (!(get_option("wpg_cronOn") && !get_option("wpg_methodUpdate"))) {
goto KTLDO;
}
self::_cron();
exit;
KTLDO:
return false;
}
public static function wpCronTz()
{
if (!(get_option("wpg_cronOnTz") && !get_option("wpg_methodUpdateTz"))) {
goto tv3uI;
}
self::_crontz(1);
exit;
tv3uI:
return false;
}
protected static function _crontz($OVw2o = 0)
{
global $wpdb;
cron_tz(0, $OVw2o);
}
protected static function _cron()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$c6wWc = (int) get_option("wpg_countUpdateFeeds") ? (int) get_option("wpg_countUpdateFeeds") : 1;
$fQZGl = array();
$qJxUm = isset($_GET["feeds"]) ? $_GET["feeds"] : null;
if (isset($qJxUm)) {
goto XLQYB;
}
if (get_option("wpg_methodUpdateSort")) {
goto H43X8;
}
$IbYLD = (int) get_option("wpg_cronInterval") ? (int) get_option("wpg_cronInterval") : 60;
self::_adminNotice("wpg_cronInterval, \320\277\320\276 \xd0\xbf\xd0\276\321\200\xd1\217\320\264\320\xba\xd1\x83 \xd1\x87\xd0\265\xd1\200\xd0\xb5\320\xb7 \320\267\320\260\320\264\320\260\xd0\275\320\xbd\xd1\x8b\320\271 \xd0\xb8\xd0\xbd\321\202\xd0\xb5\xd1\x80\xd0\262\320\260\320\xbb: " . $IbYLD);
$V7Csh = "SELECT COUNT(*)\xd
FROM `" . $wpdb->prefix . "wpgrabber`
\xa WHERE `published` = 1";
$HLpcb = (int) $wpdb->get_var($V7Csh);
if ($wpdb->last_error != '') {
goto TXhln;
}
if ($HLpcb > 0) {
goto Ynkpg;
}
goto lgfLv;
TXhln:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
goto lgfLv;
Ynkpg:
$DYQFG = (int) $IbYLD * 60;
$V7Csh = "SELECT id\xd\xa FROM `" . $wpdb->prefix . "wpgrabber`
WHERE `published` = 1
\xa AND UNIX_TIMESTAMP() > (`last_update` + " . $DYQFG . ")
\xa ORDER BY `last_update` ASC\xd\xa LIMIT " . (int) $c6wWc;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto bNRVX;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
bNRVX:
lgfLv:
goto yZKBm;
XLQYB:
self::_adminNotice("_GET['feeds']: " . $qJxUm);
if (is_numeric($qJxUm)) {
goto tYvlP;
}
if (stripos($qJxUm, "-") !== false) {
goto h8wqJ;
}
if (stripos($qJxUm, ",") !== false) {
goto RAy4n;
}
goto bIxoR;
tYvlP:
$bswYY = "id = " . (int) $qJxUm;
goto bIxoR;
h8wqJ:
list($jLlak, $JGHVo) = explode("-", $qJxUm);
$bswYY = "id BETWEEN {$jLlak} AND {$JGHVo}";
goto bIxoR;
RAy4n:
$qJxUm = @explode(",", $qJxUm);
if (is_array($qJxUm) and count($qJxUm)) {
goto KOVJh;
}
$s_ZuF = "id = 0";
goto FCExW;
KOVJh:
$s_ZuF = implode(",", $qJxUm);
$bswYY = "id IN ({$s_ZuF})";
FCExW:
bIxoR:
$V7Csh = "SELECT id
\xa FROM `" . $wpdb->prefix . "wpgrabber`\xd\xa WHERE " . $bswYY;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto gH3UN;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
gH3UN:
goto yZKBm;
H43X8:
self::_adminNotice("wpg_methodUpdateSort, \321\203\321\207\xd0\270\xd1\202\xd1\x8b\320\xb2\320\xb0\xd1\x8f \xd0\270\xd0\xbd\320\xb4\320\xb8\xd0\xb2\320\270\320\264\321\x83\xd0\xb0\xd0\273\321\x8c\xd0\xbd\xd1\213\xd0\xb5 \xd0\277\320\xb5\xd1\x80\xd0\xb8\xd0\xbe\320\264\xd1\213 \xd0\272\320\xb0\320\xb6\320\264\xd0\xbe\xd0\271 \320\xbb\320\xb5\xd0\xbd\xd1\x82\321\213");
$V7Csh = "SELECT id\xd\xa FROM `" . $wpdb->prefix . "wpgrabber`\xd
WHERE UNIX_TIMESTAMP() > (`last_update` + `interval`)
AND `published` = 1
\xa LIMIT " . (int) $c6wWc;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto f1jsr;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
f1jsr:
yZKBm:
if (!(count($fQZGl) > 0)) {
goto IswXr;
}
echo "<html> <head> <title>WPGrabber " . WPGRABBER_VERSION . ", " . $_SERVER["HTTP_HOST"] . "</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body>";
foreach ($fQZGl as $Rx34n) {
$DtAtF = self::_getTGrabber();
$DtAtF->autoUpdateMode = 1;
$DtAtF->execute($Rx34n);
echo "<div id="echo-box" style="border: 1px solid #cacaca; padding: 10px; background:#e5e5e5; margin-right: 20px;">";
echo $DtAtF->getLog();
echo "</div>";
$DtAtF = null;
trVIG:
}
mmGEL:
IswXr:
}
public static function js()
{
wp_enqueue_script("jQuery_ScrollTo_js", WPGRABBER_PLUGIN_URL . "/js/jquery.scrollTo-2.1.2.min.js", array("jquery"));
}
public static function menu()
{
if (!function_exists("add_menu_page")) {
goto LFIXb;
}
$etkLo = add_menu_page("WPGrabber", "WPGrabber", self::_getUserLevel(), "wpgrabber-index", array(wpgPlugin(), "index"));
add_action("load-" . $etkLo, array(wpgPlugin(), "addListOptions"));
LFIXb:
if (!function_exists("add_submenu_page")) {
goto b2DlL;
}
add_submenu_page("wpgrabber-index", "\xd0\xa1\xd0\277\xd0\xb8\xd1\x81\xd0\xbe\320\272 \320\273\xd0\xb5\xd0\275\321\202", "\xd0\xa1\xd0\277\xd0\xb8\321\x81\xd0\xbe\320\272 \xd0\xbb\xd0\xb5\xd0\275\xd1\x82", self::_getUserLevel(), "wpgrabber-index", array(wpgPlugin(), "index"));
add_submenu_page("wpgrabber-index", "\320\x9d\320\xbe\xd0\262\xd0\260\321\217 \320\xbb\320\265\xd0\275\xd1\202\xd0\260", "\320\235\320\xbe\320\xb2\xd0\260\xd1\217 \xd0\xbb\xd0\xb5\xd0\xbd\xd1\202\xd0\xb0", self::_getUserLevel(), "wpgrabber-edit", array(wpgPlugin(), "edit"));
add_submenu_page("wpgrabber-index", "\xd0\x98\320\274\320\277\xd0\xbe\321\x80\xd1\202 \xd0\xbb\xd0\xb5\320\xbd\xd1\202", "\320\x98\320\xbc\320\xbf\320\276\xd1\200\321\x82 \xd0\273\xd0\xb5\320\275\xd1\x82", self::_getUserLevel(), "wpgrabber-import", array(wpgPlugin(), "import"));
add_submenu_page("wpgrabber-index", "\320\235\xd0\xb0\xd1\201\321\202\xd1\x80\320\xbe\320\271\xd0\272\xd0\270", "\xd0\235\320\260\xd1\201\xd1\x82\xd1\200\xd0\xbe\xd0\271\xd0\272\320\xb8", self::_getUserLevel(), "wpgrabber-settings", array(wpgPlugin(), "settings"));
b2DlL:
}
public static function addListOptions()
{
$IQIrI = "per_page";
$iXNQq = array("label" => "\xd0\232\320\xbe\xd0\xbb\320\xb8\xd1\x87\xd0\xb5\321\201\321\x82\320\xb2\xd0\xbe \320\xbb\xd0\265\xd0\xbd\xd1\202 \xd0\xbd\xd0\xb0 \321\x81\321\202\321\200\xd0\260\xd0\275\xd0\xb8\321\206\320\265", "default" => 20, "option" => "wpgrabber_feeds_per_page");
add_screen_option($IQIrI, $iXNQq);
require_once WPGRABBER_PLUGIN_CORE_DIR . DIRECTORY_SEPARATOR . "WPGTable.php";
$SEBbq = new WPGTable();
}
public static function index()
{
$_POST["rows"] = isset($_POST["rows"]) ? $_POST["rows"] : null;
$_REQUEST["action"] = isset($_REQUEST["action"]) ? $_REQUEST["action"] : null;
$_GET["paged"] = isset($_GET["paged"]) ? $_GET["paged"] : null;
if (!$_POST["rows"]) {
goto CzSZ4;
}
if (!($_REQUEST["action"] == "-1")) {
goto nYHfg;
}
$_REQUEST["action"] = $_REQUEST["action2"];
nYHfg:
CzSZ4:
if (!($_REQUEST["action"] == "export")) {
goto OUZ8f;
}
add_action("plugins_loaded", array(wpgPlugin(), "export"));
OUZ8f:
if (!isset($_POST["cat"])) {
goto BDVYK;
}
$_SESSION["wpgrabberCategoryFilter"] = $_POST["cat"];
BDVYK:
if ($_GET["paged"]) {
goto CHElY;
}
if ($_REQUEST["action"] == "test") {
goto I4E32;
}
if ($_REQUEST["action"] == "exec") {
goto VxAP8;
}
if (!empty($_REQUEST["action"]) && $_REQUEST["action"] != "-1") {
goto Yow7d;
}
goto xhnc0;
I4E32:
self::test($_GET["id"]);
goto xhnc0;
VxAP8:
self::execWPG($_GET["id"]);
goto xhnc0;
Yow7d:
if (!method_exists(wpgPlugin(), $_REQUEST["action"])) {
goto D7b7j;
}
call_user_func(array(wpgPlugin(), $_REQUEST["action"]));
D7b7j:
xhnc0:
CHElY:
self::_header();
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGTable.php";
$SEBbq = new WPGTable();
$SEBbq->prepare_items();
include_once WPGRABBER_PLUGIN_TPL_DIR . "list.php";
self::_footer();
}
protected static function _header()
{
include_once WPGRABBER_PLUGIN_TPL_DIR . "header.php";
}
protected static function _footer()
{
echo "<div style="text-align: right; padding-top: 20px; margin-top: 30px; font-size: 10px;">";
echo "PHP " . phpversion() . " ";
echo '' . constant("PHP_SAPI") . " ";
if (extension_loaded("curl")) {
goto BvP1z;
}
echo "CURL <font color="red">\xd0\262\320\276\xd0\267\xd0\274\320\xbe\320\266\320\275\xd0\xbe \320\xbd\320\xb5 \xd0\277\320\xbe\xd0\xb4\xd0\xb4\320\265\xd1\200\320\xb6\320\xb8\xd0\262\xd0\xb0\320\xb5\321\202\321\x81\321\217!</font> ";
goto uXn3k;
BvP1z:
$Vgwae = curl_version();
echo "CURL " . $Vgwae["version"] . " ";
echo $Vgwae["ssl_version"] . " ";
uXn3k:
if (!extension_loaded("mbstring")) {
goto BJ6wV;
}
echo "mbstring enabled <br>";
BJ6wV:
echo "PCRE " . constant("PCRE_VERSION") . " ";
if (!extension_loaded("gd")) {
goto zEN_U;
}
$Vgwae = gd_info();
echo "GD Version " . $Vgwae["GD Version"] . " ";
echo "JPEG Support " . $Vgwae["JPEG Support"] . " ";
echo "WebP Support " . $Vgwae["WebP Support"] . " ";
zEN_U:
echo " wp:" . get_bloginfo("version", "raw");
echo "</div>";
echo "<div style="text-align: left; padding-top: 0px; margin-top: 0px; font-size: 16px;">";
echo "© 2013-" . date("Y") . " WPGrabber <b>" . WPGRABBER_VERSION . "</b> \321\201 \321\204\321\x83\xd0\xbd\xd0\272\xd1\206\320\xb8\xd1\217\320\xbc\320\270 \xd1\201\xd0\xb8\xd0\275\320\276\xd0\275\320\270\320\xbc\320\xb0\xd0\xb9\xd0\267\320\265\xd1\x80\320\xb0 <b>"TEXTOROBOT"</b> \320\270 \xd0\x9d\320\xb5\320\xb9\321\200\320\xbe\xd0\240\xd0\265\321\x80\xd0\260\320\271\xd1\x82\xd0\270\xd0\275\320\xb3\xd0\260 <b>"\xd0\xa2\xd0\x97\xd1\210\320\xba\320\260"</b><br />";
echo "\320\xa1\xd0\xbb\321\x83\320\266\320\261\320\260 \xd0\237\320\276\320\xb4\xd0\264\xd0\265\xd1\200\320\266\320\272\320\xb8 WPGrabber <a target="_blank" href="https://wpgrabber.ru.com/">WPGRABBER.RU.COM</a><br />";
echo "\xd0\241\xd0\xbb\321\203\xd0\266\xd0\xb1\xd0\260 \xd0\237\xd0\276\320\264\xd0\xb4\xd0\265\xd1\200\xd0\xb6\xd0\272\320\270 \xd1\201\320\270\320\275\320\xbe\320\xbd\xd0\270\320\xbc\xd0\260\320\xb9\320\267\320\265\321\200\xd0\xb0 \320\270 \xd0\xbf\xd0\276\320\xbf\xd0\xbe\xd0\273\320\xbd\xd0\265\320\275\320\270\xd0\xb5 \320\xb5\xd0\xb3\320\276 \xd0\xb1\320\xb0\xd0\xbb\xd0\260\320\xbd\321\201\xd0\xb0 <a target="_blank" href="https://textorobot.ru/index.php?option=com_billing&partnername=wpgrabber">TEXTOROBOT.RU</a>";
echo "\xd
<!--webalan start-->
<br />\xd
\320\x9f\xd0\xbe\xd0\xb4\xd0\264\xd0\265\321\x80\320\266\320\xba\320\260 \xd0\xb8 \320\xbf\320\xbe\xd0\xbf\xd0\276\xd0\273\320\xbd\320\xb5\320\275\xd0\270\320\265 \xd0\261\320\xb0\xd0\273\320\xb0\320\275\xd1\201\320\260 <a target="_blank" href="https://tzshka.ru/neiroreraiting?p=3535">\xd0\x9d\xd0\xb5\320\271\xd1\200\xd0\xbe\320\240\xd0\xb5\321\200\320\xb0\320\271\xd1\x82\xd0\xb8\320\xbd\xd0\263\320\xb0</a>\xd\xa
\xa \xd\xa <!--webalan end-->";
echo "</div>";
echo "<hr>";
}
public static function edit()
{
global $wpdb;
$ONRFA["params"] = array();
$Rx34n = (int) WPGTools::getValue("id");
if (!$Rx34n) {
goto uW3UY;
}
$V7Csh = "SELECT * FROM `" . $wpdb->prefix . "wpgrabber`
\xa WHERE id = " . (int) $_GET["id"];
$cwr_v = $wpdb->get_row($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto Vt8VV;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Vt8VV:
if (!empty($cwr_v)) {
goto nLSpC;
}
WPGTools::redirect();
nLSpC:
$ONRFA["params"] = unserialize(base64_decode($cwr_v["params"]));
if (!(trim(@$ONRFA["params"]["imageHtmlCode"]) == '')) {
goto kfTxH;
}
$ONRFA["params"]["imageHtmlCode"] = "<img src="%PATH%" />";
kfTxH:
uW3UY:
$_GET["act"] = isset($_GET["act"]) ? $_GET["act"] : null;
switch ($_GET["act"]) {
case "apply":
$_GET["id"] = self::save();
goto nzymP;
case "exec":
self::execWPG($_GET["id"]);
goto nzymP;
case "test":
self::test($_GET["id"]);
goto nzymP;
}
rXE5h:
nzymP:
if (isset($_GET["id"]) ? $_GET["id"] : null) {
goto JqlHj;
}
$ONRFA["links"] = "/[\w\-_\/]{8,}";
$ONRFA["html_encoding"] = 0;
$ONRFA["params"]["autoIntroOn"] = "0";
$ONRFA["params"]["case_title"] = "0";
$ONRFA["id"] = '';
$ONRFA["params"]["filter_words_list"] = '';
$ONRFA["params"]["filter_words_save"] = 0;
$ONRFA["params"]["filter_words_where"] = 0;
$ONRFA["params"]["filter_words_on"] = 0;
$ONRFA["params"]["requestMethod"] = 0;
$ONRFA["params"]["usrepl"] = 0;
$ONRFA["params"]["user_replace_on"] = 1;
$ONRFA["params"]["css_no_del"] = 0;
$ONRFA["params"]["js_script_no_del"] = 0;
$ONRFA["params"]["yandex_api_key2"] = '';
$ONRFA["params"]["translate2_lang"] = 0;
$ONRFA["params"]["translate2_method"] = 0;
$ONRFA["params"]["translate2_on"] = 0;
$ONRFA["params"]["yandex_api_key"] = '';
$ONRFA["params"]["translate_lang"] = 0;
$ONRFA["params"]["translate_method"] = 0;
$ONRFA["params"]["translate_on"] = 0;
$ONRFA["params"]["nosave_if_not_translate"] = 1;
$ONRFA["params"]["img_intro_crop"] = "0";
$ONRFA["params"]["image_resize"] = 0;
$ONRFA["params"]["img_path_method"] = 0;
$ONRFA["params"]["post_thumb_on"] = 0;
$ONRFA["params"]["image_name_from_title_on"] = 0;
$ONRFA["params"]["image_class_name_on"] = 0;
$ONRFA["params"]["image_class_name_custom"] = "wpg_image";
$ONRFA["params"]["image_attr_delete"] = "itemprop,srcset,data-original,data-src,data-srcset,data-lazy-type,sizes";
$ONRFA["params"]["image_alt_make_on"] = 0;
$ONRFA["params"]["image_alt_replace"] = 0;
$ONRFA["params"]["image_alt_from_attr_title"] = 1;
$ONRFA["params"]["image_title_make_on"] = 0;
$ONRFA["params"]["image_save"] = 0;
$ONRFA["params"]["no_save_without_pic"] = 0;
$ONRFA["params"]["aliasSize"] = 0;
$ONRFA["params"]["aliasMethod"] = 1;
$ONRFA["params"]["postSlugOn"] = 0;
$ONRFA["params"]["introSymbolEnd"] = '';
$ONRFA["params"]["postFulltextSymbolEnd"] = ".";
$ONRFA["params"]["post_more_on"] = 0;
$ONRFA["params"]["fulltext_size_on"] = 0;
$ONRFA["params"]["post_status"] = 0;
$ONRFA["params"]["user_id"] = '';
$ONRFA["params"]["postType"] = 0;
$ONRFA["params"]["catid"] = '';
$ONRFA["params"]["titleUniqueOn"] = 1;
$ONRFA["url"] = '';
$ONRFA["name"] = '';
$ONRFA["params"]["start_link"] = "0";
$ONRFA["params"]["skip_error_urls"] = 0;
$ONRFA["params"]["start_top"] = 0;
$ONRFA["title"] = "<title>(.*?)</title";
$ONRFA["text_start"] = "</h1>";
$ONRFA["text_end"] = "</article>";
$ONRFA["params"]["introLinkTempl"] = '';
$ONRFA["params"]["orderLinkIntro"] = 0;
$ONRFA["published"] = 0;
$ONRFA["interval"] = 1800;
$ONRFA["params"]["rss_textmod"] = "1";
$ONRFA["params"]["max_items"] = 5;
$ONRFA["params"]["intro_size"] = 170;
$ONRFA["params"]["post_full_size"] = 370;
$ONRFA["params"]["frontpage"] = 1;
$ONRFA["params"]["dontPublished"] = 0;
$ONRFA["params"]["intro_pic_on"] = 0;
$ONRFA["params"]["image_path"] = get_option("wpg_imgPath") ? get_option("wpg_imgPath") : "/wp-content/uploads/";
$ONRFA["params"]["image_space_on"] = 0;
$ONRFA["params"]["intro_pic_width"] = 150;
$ONRFA["params"]["intro_pic_height"] = 150;
$ONRFA["params"]["intro_pic_quality"] = 100;
$ONRFA["params"]["text_pic_width"] = 600;
$ONRFA["params"]["text_pic_height"] = 600;
$ONRFA["params"]["text_pic_quality"] = 100;
$ONRFA["params"]["strip_tags"] = 1;
$ONRFA["params"]["allowed_tags"] = "<b><blockquote><br><center><embed><h2><h3><h4><h5><i><iframe><img><li><object><ol><p><param><source><strong><table><tbody><td><th><tr><u><ul><span>";
$ONRFA["params"]["template_on"] = 1;
$ONRFA["params"]["template_title"] = "%TITLE%";
$ONRFA["params"]["template_intro_text"] = "%INTRO_TEXT%";
$ONRFA["params"]["template_full_text"] = "%FULL_TEXT%";
$ONRFA["params"]["imageHtmlCode"] = "<img src="%PATH%" %ADDS% />";
$ONRFA["params"]["metaDescSize"] = "400";
$ONRFA["params"]["metaKeysSize"] = "50";
$ONRFA["params"]["title_words_count"] = "5";
$ONRFA["params"]["post_tags_on"] = "0";
$ONRFA["params"]["tagsScrape"] = "<tags>(.*?)</tags>";
$ONRFA["params"]["tagsScrapeCount"] = "10";
$ONRFA["params"]["post_date_on"] = 0;
$ONRFA["params"]["post_date_type"] = "runtime";
$ONRFA["params"]["post_date_scrape"] = "<time content="(.*?)" datatype";
$ONRFA["type"] = "html";
$B1EfC = true;
goto yvCRx;
JqlHj:
global $wpdb;
$V7Csh = "SELECT * FROM `" . $wpdb->prefix . "wpgrabber`
\xa WHERE id = " . (int) $_GET["id"];
$ONRFA = $wpdb->get_row($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto cfCO7;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
cfCO7:
$ONRFA["params"] = unserialize(base64_decode($ONRFA["params"]));
if (!(trim(@$ONRFA["params"]["imageHtmlCode"]) == '')) {
goto ZAHSP;
}
$ONRFA["params"]["imageHtmlCode"] = "<img src="%PATH%" />";
ZAHSP:
yvCRx:
$KmJUq = $ONRFA["params"]["textorobotApiKey"];
if ($KmJUq) {
goto GmAug;
}
$KmJUq = get_option("wpg_textorobotApiKey");
GmAug:
if (!$KmJUq) {
goto jcUir;
}
include_once WPGRABBER_PLUGIN_DIR . "textorobot/textorobotApi.php";
$ruEOT = new TextorobotApi($KmJUq);
$eOcGP = $ruEOT->balance();
jcUir:
$I5JaB = $ONRFA["params"]["tzApiKey"];
if ($I5JaB) {
goto DdO8g;
}
$I5JaB = get_option("wpg_tzApiKey");
DdO8g:
if (!$I5JaB) {
goto Jp4_G;
}
include_once WPGRABBER_PLUGIN_DIR . "tz/tzApi.php";
$ruEOT = new TzApi($I5JaB);
$RvLR1 = $ruEOT->balance();
Jp4_G:
$QpAOZ = (isset($_REQUEST["tab"]) and in_array($_REQUEST["tab"], array(1, 2, 3, 4, 5, 6, 7, 8, 9))) ? $_REQUEST["tab"] : 1;
self::_header();
include_once WPGRABBER_PLUGIN_TPL_DIR . "edit.php";
self::_footer();
}
private function translateGoogleCloudUpdate()
{
if (!get_option("wpg_" . "google_translate_api_key")) {
goto jinrg;
}
if (function_exists("curl_init")) {
goto Vh3YQ;
}
goto hJh1r;
jinrg:
self::_adminNotice("API-\xd0\xba\xd0\273\321\x8e\xd1\207 Google Cloud Translation \xd0\275\320\xb5 \320\267\xd0\xb0\xd0\264\320\xb0\320\275!");
goto hJh1r;
Vh3YQ:
$sNXH0 = curl_init();
$Xvp_K["key"] = get_option("wpg_" . "google_translate_api_key");
$Xvp_K["target"] = "ru";
$Xvp_K["model"] = "nmt";
$oQ87T = "https://translation.googleapis.com/language/translate/v2/languages?model=" . $Xvp_K["model"] . "&target=" . $Xvp_K["target"] . "&key=" . $Xvp_K["key"];
$WWP6V[] = "Content-Type: application/json";
$WWP6V[] = "x-goog-api-client: gl-php/7.2.0 gccl/1.5.0";
$WWP6V[] = "Accept-Encoding: gzip";
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_URL, $oQ87T);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_ENCODING, "gzip");
if (!get_option("wpg_" . "curlProxyType")) {
goto Q0ye2;
}
switch (get_option("wpg_" . "curlProxyType")) {
case 1:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
goto Now2c;
case 2:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4A);
goto Now2c;
case 3:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
goto Now2c;
default:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
}
dy3C0:
Now2c:
Q0ye2:
if (!get_option("wpg_" . "curlProxyUserPwd")) {
goto jLhsj;
}
curl_setopt($sNXH0, CURLOPT_PROXYUSERPWD, get_option("wpg_" . "curlProxyUserPwd"));
jLhsj:
curl_setopt($sNXH0, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0");
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
$Fel8D = json_decode($Eby3I, true);
if (!is_array($Fel8D)) {
goto szGSh;
}
foreach ($Fel8D["data"]["languages"] as $i3Iz6) {
$QoYBo[$i3Iz6["language"]] = $i3Iz6["name"];
SOG5M:
}
xGWQE:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "ru")) {
goto R7Unh;
}
goto fQR5Q;
R7Unh:
$UEltI["ru-" . $u9DhX] = "\320\240\321\203\321\201\xd1\x81\320\xba\xd0\xb8\xd0\271 > " . $TjwLi;
$UEltI[$u9DhX . "-ru"] = $TjwLi . " > \320\240\xd1\203\xd1\x81\xd1\201\xd0\xba\320\270\xd0\xb9";
fQR5Q:
}
xopxX:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "en")) {
goto sGajw;
}
goto vimJy;
sGajw:
$UEltI["en-" . $u9DhX] = "\xd0\x90\320\275\xd0\xb3\xd0\xbb\xd0\270\320\xb9\321\201\xd0\xba\xd0\270\xd0\xb9 > " . $TjwLi;
$UEltI[$u9DhX . "-en"] = $TjwLi . " > \320\220\xd0\xbd\xd0\xb3\320\273\320\270\xd0\xb9\xd1\201\320\xba\320\xb8\320\271";
vimJy:
}
lI983:
ksort($UEltI);
if (!count($UEltI)) {
goto klvFT;
}
if (get_option("wpg_googleTransLangs")) {
goto waH33;
}
add_option("wpg_googleTransLangs", json_encode($UEltI));
goto j_FFG;
waH33:
update_option("wpg_googleTransLangs", json_encode($UEltI));
j_FFG:
return true;
klvFT:
szGSh:
hJh1r:
}
private function translateYandexCloudUpdate()
{
if (!get_option("wpg_" . "yandexOauth")) {
goto HIooQ;
}
if (!get_option("wpg_" . "yandexFolderId")) {
goto miAT9;
}
if (function_exists("curl_init")) {
goto OZ8Bs;
}
goto NxF8z;
HIooQ:
self::_adminNotice("OAuth-\321\202\xd0\276\320\272\320\xb5\xd0\275 \xd0\xaf\xd0\xbd\320\xb4\xd0\265\320\272\xd1\x81 \320\275\320\265 \xd0\xb7\320\xb0\320\xb4\xd0\xb0\xd0\275!");
goto NxF8z;
miAT9:
self::_adminNotice("\xd0\230\320\264\320\265\320\xbd\xd1\x82\xd0\xb8\321\204\xd0\xb8\320\xba\xd0\xb0\xd1\202\xd0\xbe\xd1\x80 \xd0\272\320\260\321\202\320\260\xd0\xbb\xd0\276\320\xb3\xd0\xb0 \xd0\xaf\320\275\320\xb4\320\265\320\xba\321\x81 \320\275\xd0\265 \320\267\320\xb0\xd0\xb4\320\260\xd0\275!");
goto NxF8z;
OZ8Bs:
$sNXH0 = curl_init();
$DtAtF = self::_getTGrabber();
$vRr93["folderId"] = get_option("wpg_" . "yandexFolderId");
$pIaAc = json_encode($vRr93);
$WWP6V[] = "Content-Type: application/json";
$WWP6V[] = "Accept-Encoding: gzip";
$WWP6V[] = "Authorization: Bearer " . $DtAtF->getYandexPassportOauthToken(get_option("wpg_" . "yandexOauth"));
$WWP6V[] = "X-Client-Request-ID: 0da512b9-27b4-4b9d-9133-a02d6b7a8879";
curl_setopt($sNXH0, CURLOPT_URL, "https://translate.api.cloud.yandex.net/translate/v2/languages");
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0");
curl_setopt($sNXH0, CURLOPT_POST, true);
curl_setopt($sNXH0, CURLOPT_POSTFIELDS, $pIaAc);
curl_setopt($sNXH0, CURLOPT_FAILONERROR, false);
curl_setopt($sNXH0, CURLOPT_ENCODING, "gzip");
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
if (!(trim($Eby3I) == '')) {
goto x7c4M;
}
return false;
x7c4M:
$Fel8D = json_decode($Eby3I, true);
if (!is_array($Fel8D)) {
goto nzuEs;
}
foreach ($Fel8D["languages"] as $i3Iz6) {
if (isset($i3Iz6["name"])) {
goto rY9HG;
}
$QoYBo[$i3Iz6["code"]] = $i3Iz6["code"];
goto cGB2j;
rY9HG:
$QoYBo[$i3Iz6["code"]] = $i3Iz6["name"];
cGB2j:
bL7KY:
}
U5EUK:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "ru")) {
goto VyGKd;
}
goto ki019;
VyGKd:
$UEltI["ru-" . $u9DhX] = "\320\xa0\321\203\321\x81\xd1\201\xd0\272\xd0\xb8\320\271 > " . $TjwLi;
$UEltI[$u9DhX . "-ru"] = $TjwLi . " > \320\240\321\x83\321\201\321\x81\320\272\320\xb8\320\271";
ki019:
}
bsrJc:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "en")) {
goto A297p;
}
goto WULV8;
A297p:
$UEltI["en-" . $u9DhX] = "\320\220\320\xbd\xd0\263\xd0\273\320\xb8\320\271\xd1\201\xd0\272\320\xb8\xd0\271 > " . $TjwLi;
$UEltI[$u9DhX . "-en"] = $TjwLi . " > \320\x90\320\xbd\xd0\xb3\xd0\273\320\xb8\320\xb9\xd1\201\xd0\272\320\xb8\320\271";
WULV8:
}
SDcw8:
ksort($UEltI);
if (!count($UEltI)) {
goto cTZ6z;
}
if (get_option("wpg_yandexCloudTransLangs")) {
goto iz8ss;
}
add_option("wpg_yandexCloudTransLangs", json_encode($UEltI));
goto CUaW4;
iz8ss:
update_option("wpg_yandexCloudTransLangs", json_encode($UEltI));
CUaW4:
return true;
cTZ6z:
nzuEs:
NxF8z:
}
private static function translateDeeplUpdate()
{
if (!get_option("wpg_" . "deepl_api_key")) {
goto CCHde;
}
if (function_exists("curl_init")) {
goto lEmJ8;
}
goto NbYJo;
CCHde:
self::_adminNotice("API-\xd0\272\320\xbb\xd1\x8e\321\x87 DeepL Translate \xd0\275\320\265 \320\267\320\260\xd0\264\xd0\xb0\320\xbd!");
goto NbYJo;
lEmJ8:
$sNXH0 = curl_init();
$Xvp_K["auth_key"] = get_option("wpg_" . "deepl_api_key");
$Xvp_K["type"] = "source";
$oQ87T = "https://api.deepl.com/v2/languages";
$WWP6V[] = "Accept-Encoding: gzip";
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_URL, $oQ87T);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_ENCODING, "gzip");
curl_setopt($sNXH0, CURLOPT_POST, TRUE);
curl_setopt($sNXH0, CURLOPT_POSTFIELDS, http_build_query($Xvp_K));
if (!get_option("wpg_" . "curlProxyType")) {
goto AMLDt;
}
switch (get_option("wpg_" . "curlProxyType")) {
case 1:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
goto ISH2u;
case 2:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4A);
goto ISH2u;
case 3:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
goto ISH2u;
default:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
}
n5_cr:
ISH2u:
AMLDt:
if (!get_option("wpg_" . "curlProxyUserPwd")) {
goto fZgav;
}
curl_setopt($sNXH0, CURLOPT_PROXYUSERPWD, get_option("wpg_" . "curlProxyUserPwd"));
fZgav:
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
$chMC8 = json_decode($Eby3I, true);
if (!is_array($chMC8)) {
goto s2RZ1;
}
$EXxKd = array(0 => array("language" => "DE", "name" => "German"), 1 => array("language" => "EN-GB", "name" => "English (British)"), 2 => array("language" => "EN-US", "name" => "English (American)"), 3 => array("language" => "ES", "name" => "Spanish"), 4 => array("language" => "FR", "name" => "French"), 5 => array("language" => "IT", "name" => "Italian"), 6 => array("language" => "JA", "name" => "Japanese"), 7 => array("language" => "NL", "name" => "Dutch"), 8 => array("language" => "PL", "name" => "Polish"), 9 => array("language" => "PT-PT", "name" => "Portuguese (European)"), 10 => array("language" => "PT-BR", "name" => "Portuguese (Brazilian)"), 11 => array("language" => "RU", "name" => "Russian"), 12 => array("language" => "ZH", "name" => "Chinese"));
foreach ($chMC8 as $BRr7B) {
$mkXYU[$BRr7B["language"]] = $BRr7B["name"];
DrIKR:
}
ciHNP:
foreach ($EXxKd as $Soap5) {
$wgYMZ[$Soap5["language"]] = $Soap5["name"];
as5mI:
}
rNg2w:
foreach ($mkXYU as $I6uuG => $Y6ZpR) {
foreach ($wgYMZ as $UekXD => $m8W9m) {
if (!($UekXD == $I6uuG)) {
goto sRpKX;
}
goto QdITd;
sRpKX:
if (!($UekXD == $I6uuG)) {
goto oO6pf;
}
goto QdITd;
oO6pf:
$UEltI[$I6uuG . "_" . $UekXD] = $Y6ZpR . " > " . $m8W9m;
$UEltI[$UekXD . "_" . $I6uuG] = $m8W9m . " > " . $Y6ZpR;
QdITd:
}
ZP8WI:
lxQ5t:
}
AQsu0:
$k3Lbw = array("EN_RU" => "\320\x90\xd0\xbd\320\263\xd0\xbb\xd0\270\320\xb9\xd1\x81\xd0\xba\320\270\xd0\xb9 > \xd0\240\xd1\203\321\201\321\201\xd0\xba\320\xb8\xd0\271", "EN-US_RU" => "\xd0\220\xd0\xbd\320\263\xd0\273\320\270\320\xb9\xd1\201\xd0\272\xd0\xb8\xd0\271 (American) > \320\xa0\321\203\321\201\321\201\320\xba\xd0\270\320\271", "EN-GB_RU" => "\320\x90\320\275\xd0\263\xd0\273\320\xb8\320\271\321\x81\320\xba\xd0\xb8\320\271 (British) > \320\240\xd1\203\xd1\x81\xd1\201\320\xba\xd0\270\320\xb9", "RU_EN" => "\xd0\240\321\203\321\x81\321\x81\xd0\272\320\270\320\271 > \xd0\x90\xd0\xbd\xd0\xb3\xd0\xbb\320\xb8\320\271\321\x81\xd0\xba\320\xb8\xd0\xb9", "RU_EN-GB" => "\xd0\240\xd1\203\321\x81\321\201\xd0\xba\xd0\xb8\320\271 > \xd0\x90\320\275\xd0\263\xd0\xbb\xd0\xb8\xd0\271\321\201\320\xba\320\xb8\xd0\271 (British)", "RU_EN-US" => "\xd0\xa0\321\203\xd1\x81\321\x81\320\xba\xd0\270\xd0\271 > \320\x90\320\xbd\xd0\263\xd0\xbb\320\270\xd0\271\321\201\xd0\xba\320\270\xd0\271 (American)");
asort($UEltI);
$FVA77 = array_merge($k3Lbw, $UEltI);
if (!count($UEltI)) {
goto NpRDT;
}
if (get_option("wpg_deeplTransLangs")) {
goto b1K5U;
}
add_option("wpg_deeplTransLangs", json_encode($FVA77));
goto F77wd;
b1K5U:
update_option("wpg_deeplTransLangs", json_encode($FVA77));
F77wd:
return true;
NpRDT:
s2RZ1:
NbYJo:
}
public static function settings()
{
WPGErrorHandler::initPhpErrors();
if (!(isset($_GET["translate_deepl"]) == "update")) {
goto WPWjp;
}
if (!self::translateDeeplUpdate()) {
goto EwaWu;
}
self::_adminNotice("\320\221\xd0\260\xd0\267\320\xb0 \320\xbf\xd0\265\321\200\320\xb5\320\262\320\276\xd0\264\xd0\276\320\262 \xd1\201\xd0\265\321\x80\320\xb2\xd0\xb8\xd1\x81\xd0\260 DeepL Translate \321\203\xd1\x81\320\xbf\xd0\265\321\210\320\xbd\xd0\276 \xd0\xbe\320\xb1\320\xbd\xd0\xbe\320\xb2\xd0\xbb\xd0\xb5\320\xbd\320\xb0!");
EwaWu:
WPWjp:
if (!(isset($_GET["translate_cloud_yandex"]) == "update")) {
goto Alo09;
}
if (!self::translateYandexCloudUpdate()) {
goto XEKok;
}
self::_adminNotice("\320\221\xd0\xb0\320\xb7\320\260 \320\xbf\xd0\265\xd1\200\xd0\xb5\xd0\262\320\276\320\264\xd0\xbe\320\xb2 \xd1\201\320\xb5\321\200\xd0\xb2\320\270\xd1\x81\xd0\260 \320\xaf\xd0\275\320\264\320\xb5\320\xba\xd1\x81.\xd0\236\xd0\261\320\273\xd0\xb0\xd0\272\320\276 Translate \xd1\203\xd1\x81\320\277\xd0\xb5\321\x88\xd0\275\320\276 \320\276\xd0\xb1\320\275\320\276\xd0\xb2\320\xbb\xd0\xb5\xd0\275\xd0\xb0!");
XEKok:
Alo09:
if (!(isset($_GET["translate_cloud_google"]) == "update")) {
goto dt28k;
}
if (!self::translateGoogleCloudUpdate()) {
goto TuxAf;
}
self::_adminNotice("\320\221\320\260\320\xb7\xd0\260 \xd0\xbf\320\265\321\x80\320\265\xd0\262\xd0\xbe\xd0\xb4\xd0\276\320\xb2 \321\201\xd0\xb5\xd1\x80\320\xb2\320\xb8\xd1\201\320\260 Google Cloud Translation v2 \xd1\203\321\x81\xd0\277\320\265\xd1\x88\xd0\xbd\xd0\xbe \320\xbe\xd0\261\320\275\xd0\276\xd0\262\xd0\xbb\xd0\265\320\275\320\260!");
TuxAf:
dt28k:
if (!isset($_POST["options"])) {
goto GKgdQ;
}
foreach ($_POST["options"] as $vFsbw => $TjwLi) {
if (get_option("wpg_{$vFsbw}") != $TjwLi) {
goto YEvu1;
}
add_option("wpg_{$vFsbw}", $TjwLi);
goto M9PLp;
YEvu1:
update_option("wpg_{$vFsbw}", $TjwLi);
M9PLp:
DKpkm:
}
CCmiC:
if (isset($_POST["saveButton"])) {
goto ucF0O;
}
return;
goto bx8pM;
ucF0O:
if (!(get_option("wpg_deepl_api_key") and !get_option("wpg_deeplTransLangs"))) {
goto F3fv9;
}
WPGPlugin::translateDeeplUpdate();
F3fv9:
if (!(get_option("wpg_yandexOauth") and !get_option("wpg_yandexCloudTransLangs"))) {
goto najvg;
}
WPGPlugin::translateYandexCloudUpdate();
najvg:
if (!(get_option("wpg_google_translate_api_key") and !get_option("wpg_googleTransLangs"))) {
goto GpoN0;
}
WPGPlugin::translateGoogleCloudUpdate();
GpoN0:
self::_adminNotice("\xd0\235\xd0\xb0\xd1\x81\321\x82\xd1\200\xd0\xbe\320\xb9\xd0\xba\320\xb8 \xd1\203\xd1\x81\320\277\320\265\321\x88\xd0\275\320\xbe \321\201\xd0\xbe\321\205\321\200\xd0\xb0\xd0\xbd\xd0\265\xd0\xbd\321\213");
bx8pM:
GKgdQ:
$KmJUq = get_option("wpg_textorobotApiKey");
if (!$KmJUq) {
goto tswy3;
}
include_once WPGRABBER_PLUGIN_DIR . "textorobot/textorobotApi.php";
$ruEOT = new TextorobotApi($KmJUq);
$eOcGP = $ruEOT->balance();
tswy3:
$I5JaB = get_option("wpg_tzApiKey");
if (!$I5JaB) {
goto wFC9x;
}
include_once WPGRABBER_PLUGIN_DIR . "tz/tzApi.php";
$ruEOT = new TzApi($I5JaB);
$RvLR1 = $ruEOT->balance();
wFC9x:
include_once WPGRABBER_PLUGIN_TPL_DIR . "settings.php";
self::_footer();
}
public static function adminDefaultPage()
{
return "/wp-admin/admin.php?page=wpgrabber-index";
}
protected static function _getUserLevel()
{
return wpgIsDemo() ? 0 : "update_core";
}
protected static function _ifDemo($vFQ5A)
{
if (!(current_user_can("publish_posts") && current_user_can("update_core"))) {
goto xJi70;
}
return false;
xJi70:
$LOV8o = array("90", "91", "92", "93", "94");
if (wpgIsDemo()) {
goto f1zVM;
}
return false;
f1zVM:
if (is_array($vFQ5A)) {
goto Til9s;
}
if (in_array($vFQ5A, array("90", "91", "92", "93", "94"))) {
goto dD9Eo;
}
return false;
dD9Eo:
goto hrSlo;
Til9s:
$gEKCL = array_intersect($vFQ5A, $LOV8o);
if (count($gEKCL)) {
goto JKclS;
}
return false;
JKclS:
hrSlo:
self::_adminNotice("\xd0\xa2\xd0\265\321\x81\xd1\x82\xd0\xbe\320\xb2\xd1\213\xd0\xb5 \320\273\xd0\265\xd0\xbd\xd1\202\xd1\x8b \xd0\xbd\320\xb5 \320\xb2\320\xbe\320\xb7\xd0\274\320\276\320\xb6\320\xbd\320\276 \321\200\xd0\265\320\264\xd0\260\xd0\xba\321\x82\xd0\270\xd1\200\xd0\xbe\320\xb2\xd0\260\xd1\x82\321\214 \320\xb8 \xd1\203\xd0\264\xd0\xb0\xd0\273\321\x8f\321\202\321\x8c \320\xb2 demo-\xd1\200\320\xb5\xd0\266\xd0\xb8\xd0\xbc\320\265! \320\225\321\201\320\xbb\xd0\270 \320\222\320\260\320\xbc \xd0\xbd\321\203\320\xb6\xd0\275\320\276 \xd0\xb8\320\267\xd0\xbc\320\xb5\320\275\320\270\321\x82\321\x8c \320\273\320\xb5\320\xbd\xd1\202\xd1\203, \321\x81\320\272\xd0\xbe\xd0\277\xd0\270\321\x80\xd1\203\xd0\271\xd1\202\320\265 \xd0\xb5\xd0\xb5 \320\xb8 \xd0\xbc\xd0\xb5\320\275\xd1\217\320\xb5\320\xb9\321\x82\320\xb5 \xd0\275\xd0\260\321\201\321\x82\xd1\200\320\xbe\320\271\320\272\xd0\xb8 \xd0\262 \320\272\320\xbe\320\xbf\320\xb8\xd0\270 \xd0\xbb\320\265\xd0\275\xd1\202\321\213!");
return true;
}
public static function setListOptions($hrdgG, $IQIrI, $TjwLi)
{
if (!($IQIrI == "wpgrabber_feeds_per_page")) {
goto tQ01G;
}
$TjwLi = intval($TjwLi);
return $TjwLi ? $TjwLi : 256;
tQ01G:
return $TjwLi;
}
protected static function _adminNotice($l_2Pu, $MMZ8O = "updated")
{
echo " <div class="";
echo $MMZ8O;
echo ""><p>";
echo $l_2Pu;
echo "</p></div>";
}
public static function deletePost($Rx34n)
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$V7Csh = "SELECT *\xd
FROM `" . $wpdb->prefix . "wpgrabber_content`\xd\xa WHERE `content_id` = " . (int) $Rx34n;
$NHzJs = $wpdb->get_results($V7Csh, ARRAY_A);
if ($wpdb->last_error != '') {
goto od_fw;
}
if (!count($NHzJs)) {
goto YgidN;
}
foreach ($NHzJs as $ONRFA) {
$exs9D = $NHzJs["images"];
if (!(trim($exs9D) == '')) {
goto plZE2;
}
goto r6NuK;
plZE2:
$exs9D = explode(",", $exs9D);
if (!count($exs9D)) {
goto WXXyB;
}
foreach ($exs9D as $xEy3f) {
@unlink(ABSPATH . $xEy3f);
DfaWF:
}
st_gu:
WXXyB:
r6NuK:
}
JFnLr:
$V7Csh = "DELETE FROM `" . $wpdb->prefix . "wpgrabber_content`\xd
WHERE `content_id` = " . (int) $Rx34n;
$wpdb->query($V7Csh);
if ($wpdb->last_error != '') {
goto ExeJn;
}
$XMf2s = get_posts(array("post_type" => "attachment", "posts_per_page" => -1, "post_status" => null, "post_parent" => $Rx34n));
if (empty($XMf2s)) {
goto mlsxm;
}
foreach ($XMf2s as $ak5ok) {
wp_delete_attachment($ak5ok->ID);
cNpEV:
}
p6Rv9:
mlsxm:
goto yzgDq;
ExeJn:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
yzgDq:
YgidN:
goto OZqb9;
od_fw:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
OZqb9:
}
public static function clear()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_POST["rows"])) {
goto m1Aoi;
}
return false;
m1Aoi:
$NHzJs = array_map("intval", $_POST["rows"]);
$V7Csh = "SELECT `content_id`\xd
FROM `" . $wpdb->prefix . "wpgrabber_content`
\xa WHERE `feed_id` IN (" . implode(",", $NHzJs) . ")
\xa AND `content_id` > 0";
$CRNVl = $wpdb->get_col($V7Csh);
if ($wpdb->last_error != '') {
goto myijL;
}
if (!count($CRNVl)) {
goto ter1E;
}
foreach ($CRNVl as $epWDB) {
wp_delete_post($epWDB, true);
Q6bJS:
}
qxEAV:
ter1E:
$V7Csh = "DELETE FROM `" . $wpdb->prefix . "wpgrabber_content`\xd
WHERE `feed_id` IN (" . implode(",", $NHzJs) . ")
AND `content_id` > 0";
$wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto Qzd1f;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Qzd1f:
self::_adminNotice("\320\243\xd1\x81\320\xbf\320\xb5\321\210\xd0\xbd\320\xbe \321\x83\320\xb4\xd0\xb0\320\273\320\265\xd0\xbd\xd0\xbe \xd0\xb7\xd0\260\xd0\xbf\320\xb8\321\x81\xd0\xb5\xd0\xb9: " . (int) count($CRNVl));
goto Hi3Tq;
myijL:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Hi3Tq:
}
public static function execWPG($Rx34n, $czxv_ = false)
{
WPGErrorHandler::initPhpErrors();
$DtAtF = self::_getTGrabber();
if (!$czxv_) {
goto rbAGS;
}
$DtAtF->setTest();
rbAGS:
$DtAtF->execute($Rx34n);
echo "<br /><br /><div id="echo-box" style="border: 1px solid #cacaca; padding: 10px; background:#e5e5e5; margin-right: 20px;">";
echo $DtAtF->getLog();
echo "</div>";
}
public static function test($Rx34n)
{
self::execWPG($Rx34n, true);
}
private static function _getTGrabber()
{
if (wpgIsPro()) {
goto Z7NNa;
}
if (wpgIsStandard()) {
goto g4XOc;
}
if (wpgIsLite()) {
goto Gn3Ni;
}
$MMZ8O = "TGrabberWordPress";
goto BFCyD;
Z7NNa:
$MMZ8O = "TGrabberWordPressPro";
goto BFCyD;
g4XOc:
$MMZ8O = "TGrabberWordPressStandard";
goto BFCyD;
Gn3Ni:
$MMZ8O = "TGrabberWordPressLite";
BFCyD:
$nznMS = new $MMZ8O();
return $nznMS;
}
public static function save()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$ONRFA = $_POST["row"];
$Xvp_K = $_POST["params"];
if (!count($Xvp_K["usrepl"])) {
goto XbdHD;
}
foreach ($Xvp_K["usrepl"] as $TjwLi) {
if ($TjwLi["type"]) {
goto wWc9a;
}
goto kDnoN;
wWc9a:
$Xvp_K["replace"][$TjwLi["type"]][] = $TjwLi;
kDnoN:
}
OkxXx:
XbdHD:
$Xvp_K = WPGHelper::strips($Xvp_K);
$ONRFA = WPGHelper::strips($ONRFA);
$ONRFA["params"] = base64_encode(serialize($Xvp_K));
$ONRFA["id"] = intval($ONRFA["id"]);
if ($ONRFA["id"]) {
goto FiSB9;
}
$ONRFA["interval"] = '';
$Cx9Np = $wpdb->insert($wpdb->prefix . "wpgrabber", array("name" => $ONRFA["name"], "type" => $ONRFA["type"], "url" => $ONRFA["url"], "links" => $ONRFA["links"], "title" => $ONRFA["title"], "text_start" => $ONRFA["text_start"], "text_end" => $ONRFA["text_end"], "rss_encoding" => $ONRFA["rss_encoding"], "html_encoding" => $ONRFA["html_encoding"], "published" => $ONRFA["published"], "params" => $ONRFA["params"], "interval" => $ONRFA["interval"]));
if ($Cx9Np > 0) {
goto FP_ZB;
}
if (!($wpdb->last_error != '')) {
goto c3osW;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
c3osW:
self::_adminNotice("\xd0\x9e\321\210\320\xb8\320\xb1\xd0\272\xd0\xb0 \xd1\x81\320\xbe\321\x85\xd1\200\320\260\xd0\275\320\265\320\xbd\xd0\270\xd1\217 \xd0\xbb\320\265\xd0\xbd\321\202\321\x8b!", "error");
goto bRc9V;
FP_ZB:
self::_adminNotice("\xd0\x9b\320\xb5\xd0\xbd\321\202\320\260 \321\x83\321\x81\xd0\xbf\320\265\xd1\210\xd0\275\xd0\xbe \xd0\264\320\276\320\xb1\320\260\xd0\xb2\xd0\273\320\265\320\275\320\260");
return $wpdb->insert_id;
bRc9V:
goto ZbxVb;
FiSB9:
if (!self::_ifDemo($ONRFA["id"])) {
goto QRFbp;
}
return null;
QRFbp:
$Cx9Np = $wpdb->update($wpdb->prefix . "wpgrabber", array("name" => $ONRFA["name"], "type" => $ONRFA["type"], "url" => $ONRFA["url"], "links" => $ONRFA["links"], "title" => $ONRFA["title"], "text_start" => $ONRFA["text_start"], "text_end" => $ONRFA["text_end"], "rss_encoding" => $ONRFA["rss_encoding"], "html_encoding" => $ONRFA["html_encoding"], "published" => $ONRFA["published"], "params" => $ONRFA["params"], "interval" => isset($ONRFA["interval"]) ? $ONRFA["interval"] : 60), array("id" => $ONRFA["id"]));
if ($Cx9Np > 0) {
goto gr5C7;
}
if ($Cx9Np === False) {
goto JIh_r;
}
self::_adminNotice("OK, \320\261\320\265\320\267 \320\276\xd0\261\xd0\275\xd0\276\xd0\xb2\320\xbb\320\xb5\320\xbd\xd0\270\xd1\x8f");
goto Nw2qQ;
gr5C7:
self::_adminNotice("\xd0\233\320\xb5\xd0\275\321\202\xd0\xb0 \321\203\321\201\320\xbf\320\xb5\321\x88\320\xbd\320\xbe \320\xbe\xd0\261\320\xbd\320\xbe\320\262\320\xbb\xd0\265\xd0\275\xd0\260");
goto Nw2qQ;
JIh_r:
if (!($wpdb->last_error != '')) {
goto jYyMH;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
jYyMH:
self::_adminNotice("\320\x9e\xd1\210\320\xb8\320\xb1\xd0\xba\320\xb0 \xd1\x81\320\276\321\x85\321\200\320\260\320\xbd\320\265\xd0\275\xd0\xb8\xd1\217 \xd0\xb8\320\267\320\274\320\xb5\xd0\xbd\320\xb5\320\xbd\xd0\xb8\xd0\271 \320\262 \320\273\xd0\265\320\xbd\xd1\x82\320\265!", "error");
exit(var_dump($wpdb->last_query));
Nw2qQ:
return $ONRFA["id"];
ZbxVb:
}
public static function del()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_POST["rows"])) {
goto P2Idr;
}
return false;
P2Idr:
if (!self::_ifDemo($_POST["rows"])) {
goto oBtX6;
}
return null;
oBtX6:
$NHzJs = array_map("intval", $_POST["rows"]);
$V7Csh = "DELETE FROM `" . $wpdb->prefix . "wpgrabber`\xd
WHERE id IN (" . implode(",", $NHzJs) . ")";
$Cx9Np = $wpdb->query($V7Csh);
if ($Cx9Np > 0) {
goto qO2Wx;
}
if (!($wpdb->last_error != '')) {
goto t8De8;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
t8De8:
self::_adminNotice("\xd0\236\321\210\xd0\270\xd0\261\xd0\272\xd0\260 \321\203\320\xb4\320\260\xd0\xbb\320\265\320\275\320\xb8\xd1\217 \320\273\xd0\xb5\320\275\321\202!", "error");
goto xB1Cm;
qO2Wx:
self::_adminNotice("\xd0\222\321\x8b\320\261\321\200\xd0\260\320\275\xd0\xbd\321\213\320\265 \xd0\xbb\320\xb5\320\275\321\202\xd1\213 \xd1\203\xd1\x81\320\xbf\320\xb5\321\210\320\275\320\276 \321\x83\320\xb4\xd0\xb0\320\xbb\320\xb5\xd0\275\xd1\213!");
xB1Cm:
}
public static function copy()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_REQUEST["rows"])) {
goto Z3XDi;
}
self::_adminNotice("\320\x9d\xd0\265 \320\xb2\xd1\x8b\xd0\xb1\321\x80\320\260\320\275\320\275\321\x8b \320\xbb\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b \320\xb4\320\xbb\xd1\x8f \xd0\272\xd0\276\xd0\277\320\xb8\xd1\200\xd0\276\320\xb2\320\260\xd0\xbd\320\270\xd1\x8f", "error");
return false;
Z3XDi:
$NHzJs = array_map("intval", $_REQUEST["rows"]);
$V7Csh = "SELECT `name`, `type`, `url`, `links`, `title`, `text_start`,\xd
`text_end`, `rss_encoding`, `html_encoding`, `published`,\xd
`params`, `interval`
\xa FROM `" . $wpdb->prefix . "wpgrabber`
WHERE id IN (" . implode(",", $NHzJs) . ")";
$NHzJs = $wpdb->get_results($V7Csh, "ARRAY_A");
if (!($wpdb->last_error != '')) {
goto IUuIm;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
IUuIm:
if (!(!count($NHzJs) and !is_array($NHzJs))) {
goto i_RIB;
}
self::_adminNotice("\320\236\xd1\210\320\xb8\xd0\xb1\320\272\xd0\xb0 \xd0\xb2\321\x8b\320\261\320\276\xd1\x80\320\xba\320\270 \xd1\x81\320\277\xd0\xb8\xd1\x81\xd0\xba\xd0\260 \320\273\320\265\320\275\xd1\202 \320\270\320\xb7 \xd0\261\320\xb0\320\267\xd1\213", "error");
i_RIB:
$mTmFW = $lzZ5s = 0;
foreach ($NHzJs as $ONRFA) {
$Y2tmZ = array();
$lXAsb = array();
$ONRFA["name"] = "\xd0\232\xd0\276\xd0\xbf\320\xb8\xd1\x8f " . $ONRFA["name"];
$Cx9Np = $wpdb->insert($wpdb->prefix . "wpgrabber", $ONRFA);
if (!($wpdb->last_error != '')) {
goto EdDBv;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
EdDBv:
if ($Cx9Np > 0) {
goto fBq1G;
}
$lzZ5s++;
goto fDVLo;
fBq1G:
$mTmFW++;
fDVLo:
fUq2P:
}
UzcFj:
self::_adminNotice("\320\xa1\xd0\272\xd0\276\320\277\xd0\xb8\321\x80\xd0\276\320\262\xd0\260\320\xbd\xd0\xbe \xd0\xbb\320\265\320\275\321\x82: " . (int) $mTmFW . ", \320\xbe\xd1\210\xd0\xb8\320\xb1\xd0\xbe\320\272: " . (int) $lzZ5s);
}
public function export()
{
global $wpdb;
if (!(isset($_REQUEST["action"]) and $_REQUEST["action"] != "export")) {
goto ruju0;
}
return false;
ruju0:
if (!(isset($_POST["rows"]) and $_POST["rows"])) {
goto Bozuc;
}
if (!(isset($_REQUEST["action"]) and $_REQUEST["action"] == "-1")) {
goto dhejb;
}
$_REQUEST["action"] = $_REQUEST["action2"];
dhejb:
Bozuc:
if (!empty($_POST["rows"])) {
goto ONlLZ;
}
return false;
ONlLZ:
WPGErrorHandler::initPhpErrors();
$NHzJs = array_map("intval", $_POST["rows"]);
$V7Csh = "SELECT `name`, `type`, `url`, `links`, `title`,\xd
`text_start`, `text_end`, `rss_encoding`, `html_encoding`,
`published`, `params`, `interval`\xd\xa FROM `" . $wpdb->prefix . "wpgrabber`\xd
WHERE id IN (" . implode(",", $NHzJs) . ")";
$NHzJs = $wpdb->get_results($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto YOy8k;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
YOy8k:
if (is_array($NHzJs) and count($NHzJs)) {
goto lv6cZ;
}
self::_adminNotice("\320\236\321\210\xd0\270\xd0\261\320\xba\320\xb0 \xd0\xb2\xd1\x8b\320\261\320\276\321\200\xd0\xba\320\270 \xd1\201\320\277\xd0\270\xd1\x81\xd0\272\xd0\xb0 \320\xbb\320\xb5\320\275\xd1\202 \xd0\xb8\320\xb7 \320\261\320\260\320\267\321\213", "error");
return false;
goto Udxh1;
lv6cZ:
$fQZGl = array();
foreach ($NHzJs as $ONRFA) {
if (!count($ONRFA)) {
goto Md5gv;
}
$TnSmn = '';
foreach ($ONRFA as $vFsbw => $TjwLi) {
$TnSmn .= "\x9 <{$vFsbw}><![CDATA[{$TjwLi}]]></{$vFsbw}>
";
ztxVs:
}
pVtrk:
$fQZGl[] = $TnSmn;
Md5gv:
PK3Dh:
}
za2sy:
if (count($fQZGl)) {
goto W5WNi;
}
self::_adminNotice("\xd0\236\321\x88\320\xb8\xd0\261\320\272\xd0\260 \xd1\201\320\xb1\320\xbe\xd1\x80\320\260 \320\273\xd0\xb5\xd0\xbd\xd1\202", "error");
return;
W5WNi:
foreach ($fQZGl as $cxqmP) {
$WO0XZ .= " <feed>
{$cxqmP} </feed>\xa";
uNeBr:
}
SPPBF:
$WO0XZ = "<?xml version="1.0" encoding="utf-8" ?>\xa<feeds wpgcore="" . WPGRABBER_CORE_VERSION . "">
{$WO0XZ}</feeds>";
header("Content-type: text/xml");
header("Content-Disposition: attachment; filename=export.xml");
echo $WO0XZ;
self::_destroy();
exit;
Udxh1:
}
public static function import()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!$_FILES["file"]) {
goto b2R7o;
}
$LwMD1 = file_get_contents($_FILES["file"]["tmp_name"]);
if (!(trim($LwMD1) == '')) {
goto ldH0j;
}
self::_adminNotice("\320\237\321\203\321\x81\321\202\320\276\320\xb9 XML-\xd1\204\320\xb0\320\271\320\xbb", "error");
return;
ldH0j:
$WO0XZ = simplexml_load_string($LwMD1);
$kxUk4 = isset($WO0XZ["wpgcore"]) ? (string) $WO0XZ["wpgcore"] : "3.0.1";
if (count($WO0XZ->feed)) {
goto zP_gW;
}
self::_adminNotice("\xd0\x94\320\260\320\xbd\320\xbd\321\x8b\xd1\x85 \320\264\320\273\xd1\217 \xd0\270\320\xbc\320\277\320\276\xd1\x80\xd1\x82\xd0\260 \xd0\273\xd0\xb5\xd0\xbd\321\x82 \xd0\262 XML-\xd1\204\320\260\xd0\xb9\320\xbb\xd0\265 \xd0\275\xd0\265 \xd0\xbe\xd0\261\xd0\xbd\xd0\260\xd1\x80\321\x83\xd0\xb6\320\265\320\275\xd0\xbe", "error");
return;
zP_gW:
foreach ($WO0XZ->feed as $cxqmP) {
$jvnP7 = array();
foreach ($cxqmP->children() as $HyKHm) {
$vFsbw = $HyKHm->getName();
if (!($vFsbw !== '' and WPGWordPressDB::isField($wpdb->prefix . "wpgrabber", $vFsbw))) {
goto xD08C;
}
$jvnP7[$vFsbw] = (string) $cxqmP->{$vFsbw};
xD08C:
ecs98:
}
SgfOB:
if (empty($jvnP7)) {
goto eIyrq;
}
$fQZGl[] = $jvnP7;
eIyrq:
Df1ag:
}
BMz2R:
if (count($fQZGl)) {
goto qz0q9;
}
self::_adminNotice("\xd0\x94\xd0\xb0\320\xbd\xd0\xbd\xd1\x8b\xd1\x85 \320\xb4\320\xbb\xd1\x8f \xd0\270\320\274\xd0\277\xd0\276\321\200\xd1\x82\xd0\xb0 \320\273\320\265\xd0\275\xd1\202 \320\xb2 XML-\321\204\xd0\260\xd0\271\320\273\xd0\265 \320\275\xd0\265 \xd0\xbe\320\261\320\xbd\xd0\260\321\200\321\203\xd0\xb6\xd0\xb5\320\xbd\xd0\xbe", "error");
return;
qz0q9:
foreach ($fQZGl as $cxqmP) {
$Cx9Np = $wpdb->insert($wpdb->prefix . "wpgrabber", $cxqmP);
if (!($wpdb->last_error != '')) {
goto TWEMN;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
TWEMN:
if ($Cx9Np > 0) {
goto g49QW;
}
$olAEm++;
goto Z8HXZ;
g49QW:
$bd_sb++;
Z8HXZ:
kOTeb:
}
S2y39:
self::_adminNotice("\320\243\321\x81\xd0\277\xd0\xb5\xd1\x88\xd0\xbd\xd0\276 \xd0\270\xd0\xbc\xd0\xbf\xd0\276\xd1\x80\xd1\202\320\xb8\321\200\320\276\320\262\xd0\260\320\xbd\xd0\xbe: " . (int) $bd_sb . " \320\xbb\320\xb5\xd0\xbd\321\x82, \xd0\xb2\321\x8b\321\x8f\xd0\262\xd0\xbb\xd0\265\320\xbd\320\276 \320\xbe\xd1\210\xd0\270\320\261\xd0\276\xd0\xba: " . (int) $olAEm);
b2R7o:
include_once WPGRABBER_PLUGIN_TPL_DIR . "import.php";
self::_footer();
}
public static function on()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!isset($_REQUEST["rows"])) {
goto DBSfm;
}
$NHzJs = array_map("intval", $_REQUEST["rows"]);
$V7Csh = "UPDATE `" . $wpdb->prefix . "wpgrabber`
\xa SET published = 1\xd\xa WHERE id IN (" . implode(",", $NHzJs) . ")";
$Cx9Np = $wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto fCiY2;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
fCiY2:
if (!($Cx9Np > 0)) {
goto k7AMV;
}
self::_adminNotice("\320\222\321\x8b\xd0\261\xd1\200\320\260\320\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \320\273\320\265\xd0\xbd\321\x82\321\213 \xd1\x83\xd1\x81\320\277\320\265\xd1\210\xd0\275\320\276 \320\xb2\320\xba\320\xbb\321\216\xd1\x87\xd0\xb5\320\xbd\321\213");
return true;
k7AMV:
DBSfm:
self::_adminNotice("\320\236\321\210\xd0\270\xd0\xb1\320\xba\xd0\xb0 \320\xb2\xd0\xba\320\273\xd1\216\xd1\x87\320\xb5\320\275\xd0\270\321\217 \320\xb2\xd1\213\320\261\321\x80\xd0\260\320\275\320\xbd\321\213\321\205 \320\xbb\320\265\xd0\275\xd1\x82!", "error");
return false;
}
public static function off()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!isset($_REQUEST["rows"])) {
goto t7ujx;
}
$NHzJs = array_map("intval", $_REQUEST["rows"]);
$V7Csh = "UPDATE `" . $wpdb->prefix . "wpgrabber`\xd
SET published = 0\xd\xa WHERE id IN (" . implode(",", $NHzJs) . ")";
$Cx9Np = $wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto U2Yzd;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
U2Yzd:
if (!($Cx9Np > 0)) {
goto jrK0D;
}
self::_adminNotice("\320\x92\xd1\x8b\320\261\321\x80\xd0\260\320\275\320\275\xd1\213\320\265 \320\273\xd0\xb5\xd0\275\321\202\321\213 \xd1\203\321\x81\320\277\xd0\265\xd1\x88\xd0\275\xd0\xbe \xd0\xb2\321\x8b\320\xba\xd0\xbb\321\216\xd1\x87\320\265\xd0\xbd\xd1\x8b");
return true;
jrK0D:
t7ujx:
self::_adminNotice("\320\x9e\xd1\x88\xd0\xb8\xd0\xb1\320\272\320\xb0 \320\xb2\xd1\213\320\xba\xd0\xbb\321\x8e\xd1\207\320\xb5\xd0\xbd\xd0\270\xd1\x8f \xd0\xb2\xd1\213\xd0\261\321\200\320\xb0\xd0\xbd\xd0\275\321\213\321\205 \xd0\xbb\xd0\265\320\xbd\321\202!", "error");
return false;
}
public static function ajaxExecTz()
{
global $wpdb;
ob_start();
$Cx9Np = array("pid" => '', "status" => 0, "error" => '', "log" => '', `end` => 0);
$Rx34n = !empty($_REQUEST["id"]) ? (int) $_REQUEST["id"] : 0;
$VN4on = !empty($_REQUEST["pid"]) ? $_REQUEST["pid"] : null;
$AszLg = !empty($_REQUEST["test"]);
$Eby3I = cron_tz($Rx34n);
$Cx9Np["end"] = $Eby3I["end"];
$Cx9Np["error"] = $Eby3I["error"];
$Cx9Np["status"] = $Eby3I["success"];
$bA2q6 = ob_get_clean();
if (!$bA2q6) {
goto ZIlEK;
}
$Cx9Np["log"] .= "<p style="color: red;">" . $bA2q6 . "</p>";
ZIlEK:
echo json_encode($Cx9Np);
exit;
}
public static function ajaxExec()
{
ob_start();
WPGErrorHandler::initPhpErrors();
$Cx9Np = array("pid" => '', "status" => 0, "error" => '', "log" => '');
$Rx34n = !empty($_REQUEST["id"]) ? (int) $_REQUEST["id"] : 0;
$VN4on = !empty($_REQUEST["pid"]) ? $_REQUEST["pid"] : null;
$AszLg = !empty($_REQUEST["test"]);
if (get_option("wpg_useTransactionModel")) {
goto GgGp8;
}
$DtAtF = self::_getTGrabber();
if (!$AszLg) {
goto NniRu;
}
$DtAtF->setTest();
NniRu:
$DtAtF->execute($Rx34n);
$Cx9Np["log"] = $DtAtF->getLog();
$Cx9Np["status"] = 1;
goto z0fNY;
GgGp8:
if (session_id()) {
goto VVpXS;
}
session_start();
VVpXS:
if ($VN4on === null) {
goto d7cpx;
}
$sQeq5 = false;
if (!isset($_SESSION[$VN4on]["grabber"])) {
goto CPToM;
}
$DtAtF = @unserialize($_SESSION[$VN4on]["grabber"]);
if (!is_object($DtAtF)) {
goto ukSI0;
}
$sQeq5 = $DtAtF->execute($Rx34n);
$Cx9Np["log"] = $DtAtF->getLog();
ukSI0:
CPToM:
goto Spx9I;
d7cpx:
$VN4on = md5(microtime(true) . rand(0, 100));
DzSpW:
if (!isset($_SESSION[$VN4on])) {
goto U0rwk;
}
$VN4on = md5(microtime(true) . rand(0, 100));
goto DzSpW;
U0rwk:
$_SESSION[$VN4on]["date_add"] = time();
$DtAtF = self::_getTGrabber();
if (!$AszLg) {
goto qdUOx;
}
$DtAtF->setTest();
qdUOx:
$DtAtF->setTransactionModel();
$sQeq5 = $DtAtF->execute($Rx34n);
$Cx9Np["log"] = $DtAtF->getLog();
Spx9I:
if (is_object($sQeq5)) {
goto ADsBt;
}
if ($sQeq5 === true) {
goto G3ib8;
}
$Cx9Np["status"] = 2;
$Cx9Np["error"] = "ajaxExec::\320\241\320\261\xd0\276\xd0\xb9 \xd1\201\320\xb5\xd1\200\xd0\xb2\320\265\321\x80\xd0\xb0";
goto UR1au;
G3ib8:
$Cx9Np["status"] = 1;
UR1au:
unset($_SESSION[$VN4on]);
goto B80k9;
ADsBt:
$Cx9Np["pid"] = $VN4on;
$_SESSION[$VN4on]["grabber"] = serialize($sQeq5);
B80k9:
z0fNY:
$bA2q6 = ob_get_clean();
if (!$bA2q6) {
goto K6nHJ;
}
$Cx9Np["log"] .= "<p style="color: red;">" . $bA2q6 . "</p>";
K6nHJ:
echo json_encode($Cx9Np);
exit;
}
public static function getErrorLogFile()
{
WPGErrorHandler::initPhpErrors();
$fEfjd = "wpg_error_log.txt";
$XD9s2 = WPGErrorHandler::getTxtLog();
header("Content-type: text/plain");
header("Content-Length: " . strlen($XD9s2));
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo $XD9s2;
exit;
}
public static function deactivateAndClear()
{
global $wpdb;
deactivate_plugins(plugin_basename(WPGRABBER_PLUGIN_FILE));
$qa3pX[] = "DROP TABLE " . $wpdb->prefix . "wpgrabber";
$qa3pX[] = "DROP TABLE " . $wpdb->prefix . "wpgrabber_content";
$qa3pX[] = "DROP TABLE " . $wpdb->prefix . "wpgrabber_errors";
$qa3pX[] = "DELETE FROM " . $wpdb->prefix . "options WHERE option_name LIKE 'wpg_%'";
foreach ($qa3pX as $V7Csh) {
$wpdb->query($V7Csh);
KlS99:
}
y5264:
wp_redirect(admin_url("plugins.php"));
}
} ?>
Did this file decode correctly?
Original Code
class WPGPlugin
{
protected static function _init()
{
}
protected static function _destroy()
{
}
public static function load()
{
register_activation_hook(WPGRABBER_PLUGIN_FILE, array(wpgPlugin(), "\151\x6e\x73\x74\x61\154\x6c"));
register_deactivation_hook(WPGRABBER_PLUGIN_FILE, array(wpgPlugin(), "\165\156\x69\x6e\163\x74\141\154\154"));
if (!WPGTools::isSubmit("\x73\x61\166\145\102\x75\164\x74\157\x6e")) {
goto bpsmu;
}
bpsmu:
add_action("\x77\160\147\x72\x61\142\142\x65\162\x5f\x63\x72\x6f\156", array(wpgPlugin(), "\x77\160\103\x72\157\x6e"));
add_filter("\x63\162\x6f\156\x5f\x73\143\150\x65\x64\165\154\x65\x73", array(wpgPlugin(), "\167\x70\103\162\157\156\111\x6e\x74\x65\162\166\x61\x6c"));
add_action("\167\160\x67\x72\x61\142\x62\x65\162\x5f\143\162\157\x6e\164\x7a", array(wpgPlugin(), "\167\160\x43\162\157\156\x54\x7a"));
add_filter("\x70\x6c\x75\x67\x69\x6e\x5f\x61\x63\164\x69\157\156\x5f\154\x69\156\x6b\x73", array(wpgPlugin(), "\x61\144\144\123\145\x74\164\x69\156\x67\163\x4c\x69\x6e\153"), 10, 4);
add_filter("\163\145\x74\x2d\163\x63\162\145\x65\x6e\55\157\160\164\151\x6f\x6e", array(wpgPlugin(), "\163\x65\x74\114\151\x73\164\117\x70\x74\x69\x6f\156\x73"), 8, 3);
add_filter("\163\145\164\x5f\163\143\162\x65\145\156\137\157\160\164\151\157\156\x5f" . "\167\160\x67\162\x61\x62\x62\145\162\137\x66\x65\x65\144\x73\x5f\x70\145\162\x5f\160\141\147\x65", array(wpgPlugin(), "\x73\x65\x74\114\x69\x73\164\x4f\x70\164\151\157\x6e\x73"), 10, 3);
add_action("\x61\144\155\x69\x6e\x5f\x65\156\x71\165\145\x75\145\137\x73\x63\162\151\x70\x74\x73", array(wpgPlugin(), "\152\x73"));
add_action("\141\144\x6d\x69\156\x5f\155\145\156\165", array(wpgPlugin(), "\155\145\156\165"));
add_action("\142\145\x66\157\162\x65\137\144\x65\x6c\145\164\x65\x5f\160\x6f\163\x74", array(wpgPlugin(), "\144\145\154\145\164\x65\x50\157\x73\x74"));
if (!wpgIsDemo()) {
goto MEvQp;
}
add_filter("\154\x6f\147\x69\156\x5f\162\x65\144\151\x72\x65\143\164", array(wpgPlugin(), "\x61\144\155\x69\156\x44\145\x66\141\165\x6c\164\120\141\x67\145"));
MEvQp:
add_action("\x77\160\x5f\141\x6a\x61\x78\137\167\x70\147\162\141\142\x62\145\162\x41\x6a\141\x78\x45\x78\145\143", array(wpgPlugin(), "\x61\152\141\170\105\170\x65\143"));
add_action("\167\160\x5f\141\152\141\170\137\x77\160\147\162\141\142\142\x65\x72\x41\152\141\x78\x45\x78\145\x63\x54\x7a", array(wpgPlugin(), "\x61\x6a\141\170\105\x78\x65\x63\x54\172"));
if (!WPGTools::isSubmit("\167\160\147\x72\141\x62\x62\145\162\x47\145\x74\x45\162\162\157\x72\x4c\x6f\x67\x46\x69\x6c\145")) {
goto DLCrk;
}
add_action("\x77\x70\137\x6c\x6f\x61\144\145\144", array(wpgPlugin(), "\147\145\x74\105\162\x72\x6f\x72\x4c\157\147\x46\x69\x6c\145"));
DLCrk:
if (!WPGTools::isSubmit("\167\x70\x67\x72\141\x62\142\x65\x72\x44\145\141\143\x74\151\166\141\x74\145\101\x6e\144\103\x6c\x65\x61\162")) {
goto YpIGP;
}
add_action("\141\144\155\151\x6e\x5f\x69\x6e\x69\x74", array(wpgPlugin(), "\x64\145\141\143\x74\x69\166\x61\x74\x65\x41\156\144\x43\154\145\x61\162"));
YpIGP:
if (!(WPGTools::getValue("\141\143\164\x69\157\x6e") == "\145\x78\x70\157\162\164")) {
goto Tzngl;
}
add_action("\x70\x6c\165\147\151\156\x73\137\154\157\x61\144\145\x64", array(wpgPlugin(), "\x65\170\x70\x6f\162\164"));
Tzngl:
if (!WPGTools::getValue("\x77\160\147\162\x75\x6e")) {
goto g4e_N;
}
add_action("\x77\160\137\154\x6f\x61\x64\145\144", array(wpgPlugin(), "\x73\145\162\166\x65\x72\103\162\x6f\156"));
g4e_N:
if (!WPGTools::getValue("\x63\x72\157\x6e\x5f\x74\x7a")) {
goto mFf8C;
}
add_action("\x77\160\x5f\x6c\157\x61\x64\145\144", array(wpgPlugin(), "\163\x65\x72\166\x65\162\103\162\157\x6e\x54\172"));
mFf8C:
add_action("\x61\x64\x6d\151\156\137\x70\162\151\156\x74\x5f\146\x6f\x6f\x74\145\162\x5f\x73\143\x72\x69\x70\164\x73", array(wpgPlugin(), "\x76\x6b\137\141\160\x69\137\163\x65\164\164\x69\156\147\x73\x5f\160\141\147\x65\137\x6a\163"));
}
function wpUpdateShare()
{
$IQT2t = get_option("\x77\x70\147\137" . "\166\153\x5f\141\143\x63\145\163\163\x5f\164\157\153\x65\156\x5f\x75\162\154");
if (!(isset($IQT2t) && !empty($IQT2t))) {
goto QpnPr;
}
$oQ87T = explode("\43", $IQT2t);
$Xvp_K = wp_parse_args($oQ87T[1]);
$On89G = $Xvp_K["\141\x63\x63\x65\163\x73\x5f\x74\157\153\145\156"];
update_option("\167\160\147\137\166\x6b\x5f\x61\x63\143\145\163\163\137\164\x6f\153\x65\156", $On89G);
QpnPr:
}
public static function vk_api_settings_page_js()
{
echo "\40\40\40\x20\40\40\40\x20\74\163\143\x72\151\x70\x74\40\164\x79\160\145\75\42\164\x65\170\x74\x2f\x6a\x61\166\141\x73\x63\162\151\x70\x74\42\76\xd\12\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\152\121\x75\x65\162\x79\x28\x64\157\x63\165\x6d\x65\x6e\164\x29\56\162\x65\x61\x64\171\x28\x66\165\x6e\143\x74\151\x6f\x6e\40\50\x24\x29\x20\173\xd\12\15\xa\x20\40\40\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\44\x28\42\x23\x6f\160\x74\x69\x6f\x6e\163\x5c\x5c\133\x76\153\x5f\x61\x70\x70\137\x69\144\x5c\x5c\x5d\x22\x29\x2e\x63\x68\141\156\x67\x65\x28\x66\165\x6e\143\164\x69\x6f\x6e\40\x28\51\40\x7b\xd\12\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\151\x66\40\50\44\x28\164\x68\151\x73\51\56\x76\141\x6c\x28\51\56\x74\x72\x69\155\50\51\x2e\154\145\x6e\147\164\x68\x29\40\173\xd\xa\x20\40\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\40\40\x20\x20\40\x20\x20\x20\x24\50\164\150\151\x73\x29\56\x76\141\x6c\x28\x24\x28\x74\x68\151\x73\x29\x2e\x76\141\x6c\50\x29\x2e\x74\162\x69\x6d\x28\51\x29\x3b\xd\xa\x20\x20\40\x20\x20\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\40\x24\50\x27\x23\147\145\164\x61\143\x63\x65\x73\x73\164\157\x6b\x65\156\x75\162\154\x27\51\56\141\164\164\162\x28\x7b\15\12\40\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x27\150\x72\145\x66\x27\x3a\x20\x27\150\x74\x74\x70\x3a\57\x2f\x6f\141\x75\164\x68\56\x76\x6b\x2e\143\x6f\x6d\x2f\x61\x75\164\150\x6f\162\x69\x7a\145\77\143\x6c\x69\145\x6e\x74\x5f\x69\x64\75\x27\x20\53\x20\44\50\x74\150\x69\163\51\56\166\141\x6c\50\51\56\164\162\x69\155\x28\x29\x20\53\x20\x27\x26\163\143\x6f\160\145\x3d\x77\x61\154\154\x2c\x70\x68\157\x74\157\163\54\166\151\144\145\157\54\155\141\162\153\x65\x74\x2c\x6f\146\146\x6c\x69\156\x65\x26\162\145\144\151\x72\145\143\164\x5f\165\x72\x69\75\x68\x74\x74\x70\72\57\x2f\x61\160\151\x2e\x76\x6b\56\x63\157\x6d\x2f\x62\154\141\156\153\x2e\150\x74\155\154\46\x64\151\163\160\154\x61\x79\x3d\160\x61\147\145\46\x72\x65\163\x70\x6f\156\163\145\137\x74\171\160\x65\x3d\164\157\153\x65\x6e\47\54\15\xa\x20\40\x20\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\40\40\40\x20\x20\40\x27\164\x61\162\x67\145\164\47\x3a\x20\x27\137\x62\x6c\x61\156\153\47\xd\12\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\40\40\40\x20\175\51\73\xd\xa\15\xa\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\175\xd\xa\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x65\x6c\163\145\40\173\15\12\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\44\50\x27\x23\147\145\164\x61\143\x63\145\x73\163\x74\x6f\153\145\x6e\x75\162\x6c\47\x29\x2e\141\x74\164\162\50\173\x27\x68\x72\x65\x66\47\72\40\47\x6a\x61\166\x73\x63\x72\x69\160\164\x3a\166\157\151\x64\50\x30\51\73\x27\175\x29\73\15\12\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\x20\x20\40\40\x20\175\xd\12\15\xa\x20\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\175\51\x3b\15\xa\xd\12\40\x20\40\40\40\40\40\40\40\40\40\40\175\x29\x3b\x20\57\57\40\152\x51\x75\x65\x72\x79\x20\x45\x6e\x64\15\12\40\x20\x20\x20\40\40\40\x20\x3c\x2f\163\x63\x72\151\160\164\x3e\xd\12\40\x20\40\x20\40\40\40\40";
}
public static function addSettingsLink($b5bTD, $Qm7EG, $WtLXm, $lnP7H)
{
if (!(mb_strpos($Qm7EG, "\x77\160\147\162\141\142\142\x65\x72") === false)) {
goto JCRYB;
}
return $b5bTD;
JCRYB:
$ZfwCj = array("\74\x61\x20\164\x69\164\x6c\x65\75\x22\xd0\241\xd0\261\321\200\320\276\xd1\x81\320\xb8\xd1\x82\321\214\x20\320\275\320\260\321\x81\xd1\202\321\x80\320\xbe\xd0\271\320\xba\xd0\270\x20\320\xbf\320\xbb\320\xb0\xd0\xb3\320\xb8\320\xbd\xd0\260\54\40\321\x83\xd0\xb4\320\260\320\273\xd0\xb8\xd1\x82\321\214\x20\xd0\xb2\xd1\201\320\xb5\x20\xd0\273\xd0\265\xd0\275\321\202\xd1\x8b\40\xd0\270\x20\xd1\202\320\260\320\261\xd0\xbb\xd0\xb8\321\206\321\x8b\x20\320\xbf\320\xbb\xd0\xb0\320\263\xd0\270\xd0\xbd\320\xb0\42\40\157\156\143\x6c\x69\143\x6b\x3d\42\162\145\x74\x75\162\x6e\40\143\x6f\156\146\x69\162\x6d\x28\47\xd0\x92\xd1\x8b\x20\xd0\xb4\xd0\xb5\xd0\xb9\xd1\201\321\x82\320\270\xd1\x82\xd0\265\320\xbb\321\214\xd0\xbd\320\xbe\40\xd1\205\xd0\276\321\202\xd0\270\321\x82\320\xb5\40\xd1\203\320\264\320\xb0\xd0\xbb\320\xb8\321\202\321\214\x20\xd0\262\321\x81\320\265\x20\xd0\275\320\260\xd1\x81\xd1\202\xd1\x80\xd0\276\xd0\265\xd0\xbd\320\xbd\xd1\x8b\320\xb5\x20\xd0\273\xd0\265\320\xbd\321\x82\321\x8b\54\40\321\202\320\xb0\320\xb1\xd0\273\320\270\321\206\xd1\x8b\40\xd0\277\320\273\xd0\260\320\xb3\xd0\270\xd0\275\320\xb0\x2c\40\xd0\260\40\xd1\x82\320\260\320\xba\320\xb6\320\xb5\x20\321\201\xd0\261\321\200\xd0\xbe\xd1\201\xd0\xb8\321\x82\xd1\x8c\40\320\xb2\xd1\201\320\265\40\320\277\320\260\xd1\200\xd0\xb0\xd0\xbc\xd0\xb5\xd1\202\xd1\200\xd1\213\40\xd0\xb8\40\xd0\264\320\xb5\xd0\260\320\272\xd1\202\320\270\xd1\200\xd0\276\320\xb2\320\xb0\xd1\x82\321\x8c\40\xd0\277\320\273\320\260\xd0\263\xd0\270\320\275\40\x57\120\x47\x72\141\142\142\145\x72\x3f\47\x29\73\x22\40\x68\x72\145\x66\x3d\x22" . admin_url("\57\141\x64\x6d\x69\156\56\160\150\160\x3f\x70\x61\x67\x65\75\167\x70\x67\162\141\142\x62\145\x72\x2d\x73\x65\164\x74\x69\x6e\x67\163\46\x77\x70\x67\x72\141\142\x62\145\162\x44\x65\x61\x63\x74\151\166\141\x74\145\x41\156\x64\103\x6c\x65\141\x72") . "\x22\x3e\xd0\241\320\xb1\xd1\x80\xd0\xbe\321\201\xd0\xb8\xd1\x82\xd1\x8c\77\x3c\x2f\141\76");
return array_merge($b5bTD, $ZfwCj);
}
public static function install()
{
require_once WPGRABBER_PLUGIN_INSTALL_DIR . DIRECTORY_SEPARATOR . "\151\x6e\x73\x74\x61\x6c\x6c\56\160\x68\x70";
self::_wpCronOn();
}
public static function uninstall()
{
self::_wpCronOff();
}
protected static function _wpCronOn()
{
if (wp_next_scheduled("\167\x70\x67\x72\x61\x62\x62\x65\x72\137\143\162\x6f\156")) {
goto AebP6;
}
wp_schedule_event(time(), "\167\160\147\155\x69\156", "\x77\160\x67\x72\141\x62\142\145\x72\x5f\x63\162\x6f\156");
AebP6:
if (wp_next_scheduled("\167\x70\147\x72\x61\142\x62\145\162\x5f\143\162\157\x6e\164\x7a")) {
goto CA2Im;
}
wp_schedule_event(time(), "\167\x70\x67\x6d\151\156\x74\x7a", "\x77\160\147\x72\141\142\142\x65\x72\137\143\x72\157\156\164\172");
CA2Im:
}
protected static function _wpCronOff()
{
wp_clear_scheduled_hook("\x77\x70\x67\x72\x61\142\x62\x65\x72\x5f\x63\162\157\156");
wp_clear_scheduled_hook("\167\x70\x67\x72\141\x62\x62\145\162\137\143\x72\157\156\x74\172");
}
public static function wpCronInterval($r2y2n)
{
$IbYLD = get_option("\x77\160\x67\137\x63\162\x6f\x6e\x49\x6e\164\x65\x72\x76\141\x6c") ? get_option("\167\x70\x67\137\143\x72\157\x6e\x49\x6e\x74\145\x72\166\x61\x6c") : 60;
$r2y2n["\x77\160\147\155\x69\x6e"] = array("\x69\156\164\145\x72\x76\141\x6c" => $IbYLD * 60, "\144\151\x73\x70\154\141\x79" => "\320\247\320\xb5\321\200\320\xb5\xd0\xb7\x20\xd0\xba\xd0\260\320\xb6\320\xb4\321\213\320\265\x20" . $IbYLD . "\x20\xd0\xbc\xd0\270\320\275\321\x83\xd1\202");
$IbYLD = get_option("\167\160\147\137\143\x72\157\x6e\111\156\x74\x65\x72\166\x61\x6c\124\172") ? get_option("\x77\x70\147\x5f\x63\x72\x6f\x6e\x49\156\164\x65\162\x76\141\x6c\x54\x7a") : 60;
$r2y2n["\167\x70\x67\155\151\x6e\164\172"] = array("\x69\x6e\x74\x65\x72\x76\141\x6c" => $IbYLD * 60, "\144\x69\x73\160\x6c\141\x79" => "\320\xa7\320\xb5\321\x80\320\265\xd0\267\x20\xd0\xba\xd0\xb0\xd0\266\xd0\xb4\xd1\213\320\265\x20" . $IbYLD . "\40\xd0\xbc\320\270\320\275\xd1\203\321\x82");
return $r2y2n;
}
public static function serverCron()
{
if (!get_option("\x77\x70\x67\137\143\162\157\156\117\156")) {
goto OOE11;
}
self::_cron();
exit;
OOE11:
return false;
}
public static function serverCronTz()
{
if (!get_option("\167\x70\147\x5f\x63\x72\157\156\x4f\x6e\x54\172")) {
goto QMLJD;
}
self::_crontz(0);
exit;
QMLJD:
return false;
}
public static function wpCron()
{
if (!(get_option("\x77\160\x67\x5f\143\162\157\x6e\x4f\156") && !get_option("\x77\x70\x67\x5f\x6d\145\164\x68\x6f\x64\125\160\144\141\x74\145"))) {
goto KTLDO;
}
self::_cron();
exit;
KTLDO:
return false;
}
public static function wpCronTz()
{
if (!(get_option("\167\160\147\137\x63\x72\x6f\156\x4f\x6e\124\x7a") && !get_option("\167\160\147\x5f\x6d\145\164\x68\x6f\144\125\160\144\141\164\x65\124\172"))) {
goto tv3uI;
}
self::_crontz(1);
exit;
tv3uI:
return false;
}
protected static function _crontz($OVw2o = 0)
{
global $wpdb;
cron_tz(0, $OVw2o);
}
protected static function _cron()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$c6wWc = (int) get_option("\167\x70\x67\x5f\143\x6f\x75\156\x74\x55\160\x64\141\164\145\106\x65\x65\144\163") ? (int) get_option("\167\x70\x67\x5f\143\x6f\x75\x6e\164\x55\160\144\x61\164\145\x46\145\145\x64\x73") : 1;
$fQZGl = array();
$qJxUm = isset($_GET["\146\145\145\x64\163"]) ? $_GET["\146\x65\145\144\163"] : null;
if (isset($qJxUm)) {
goto XLQYB;
}
if (get_option("\167\x70\147\x5f\x6d\x65\164\150\x6f\x64\125\160\x64\141\x74\145\123\157\x72\x74")) {
goto H43X8;
}
$IbYLD = (int) get_option("\167\x70\147\x5f\x63\162\157\x6e\111\156\164\x65\x72\x76\141\154") ? (int) get_option("\167\x70\147\x5f\x63\x72\x6f\x6e\111\156\x74\145\x72\166\141\154") : 60;
self::_adminNotice("\x77\160\147\x5f\x63\162\x6f\156\x49\x6e\164\145\x72\166\x61\x6c\x2c\40\320\277\320\276\x20\xd0\xbf\xd0\276\321\200\xd1\217\320\264\320\xba\xd1\x83\40\xd1\x87\xd0\265\xd1\200\xd0\xb5\320\xb7\x20\320\267\320\260\320\264\320\260\xd0\275\320\xbd\xd1\x8b\320\271\x20\xd0\xb8\xd0\xbd\321\202\xd0\xb5\xd1\x80\xd0\262\320\260\320\xbb\x3a\x20" . $IbYLD);
$V7Csh = "\x53\x45\114\105\x43\124\40\x43\117\x55\x4e\124\x28\52\51\xd\12\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\40\40\x20\x46\122\x4f\115\x20\x60" . $wpdb->prefix . "\x77\160\x67\x72\x61\142\142\145\x72\x60\15\xa\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\127\x48\105\x52\x45\x20\140\160\x75\x62\x6c\151\163\x68\145\144\140\x20\x3d\40\x31";
$HLpcb = (int) $wpdb->get_var($V7Csh);
if ($wpdb->last_error != '') {
goto TXhln;
}
if ($HLpcb > 0) {
goto Ynkpg;
}
goto lgfLv;
TXhln:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
goto lgfLv;
Ynkpg:
$DYQFG = (int) $IbYLD * 60;
$V7Csh = "\x53\x45\114\105\x43\124\x20\x69\144\xd\xa\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\40\40\40\40\106\122\x4f\x4d\x20\140" . $wpdb->prefix . "\167\160\x67\x72\141\x62\142\145\x72\x60\15\12\40\40\40\40\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\127\x48\105\x52\x45\x20\x60\x70\x75\x62\154\x69\x73\x68\x65\144\140\x20\75\40\x31\15\xa\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\40\x20\101\116\104\x20\125\116\111\130\137\x54\x49\115\x45\x53\124\101\115\120\50\x29\40\76\40\50\x60\154\141\x73\164\137\165\160\144\x61\164\x65\140\x20\53\x20" . $DYQFG . "\51\15\xa\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\40\40\x20\x4f\122\x44\105\x52\40\x42\x59\x20\140\154\141\163\164\x5f\x75\x70\144\141\x74\145\x60\x20\101\x53\103\xd\xa\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x4c\x49\x4d\111\x54\40" . (int) $c6wWc;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto bNRVX;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
bNRVX:
lgfLv:
goto yZKBm;
XLQYB:
self::_adminNotice("\x5f\107\105\124\133\47\x66\x65\x65\x64\163\x27\135\x3a\40" . $qJxUm);
if (is_numeric($qJxUm)) {
goto tYvlP;
}
if (stripos($qJxUm, "\x2d") !== false) {
goto h8wqJ;
}
if (stripos($qJxUm, "\54") !== false) {
goto RAy4n;
}
goto bIxoR;
tYvlP:
$bswYY = "\151\144\x20\x3d\40" . (int) $qJxUm;
goto bIxoR;
h8wqJ:
list($jLlak, $JGHVo) = explode("\55", $qJxUm);
$bswYY = "\x69\144\40\x42\x45\124\x57\105\x45\x4e\40{$jLlak}\x20\x41\x4e\x44\40{$JGHVo}";
goto bIxoR;
RAy4n:
$qJxUm = @explode("\x2c", $qJxUm);
if (is_array($qJxUm) and count($qJxUm)) {
goto KOVJh;
}
$s_ZuF = "\151\144\x20\x3d\40\x30";
goto FCExW;
KOVJh:
$s_ZuF = implode("\x2c", $qJxUm);
$bswYY = "\151\x64\x20\111\116\x20\x28{$s_ZuF}\51";
FCExW:
bIxoR:
$V7Csh = "\x53\x45\x4c\105\x43\124\40\x69\144\15\xa\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\x20\x20\x20\x20\106\122\x4f\x4d\40\x60" . $wpdb->prefix . "\x77\x70\147\162\x61\142\x62\x65\162\x60\xd\xa\x20\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\127\x48\105\x52\x45\x20" . $bswYY;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto gH3UN;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
gH3UN:
goto yZKBm;
H43X8:
self::_adminNotice("\167\x70\147\x5f\x6d\145\164\x68\x6f\x64\x55\160\x64\141\x74\145\123\x6f\162\164\54\x20\321\203\321\207\xd0\270\xd1\202\xd1\x8b\320\xb2\320\xb0\xd1\x8f\x20\xd0\270\xd0\xbd\320\xb4\320\xb8\xd0\xb2\320\270\320\264\321\x83\xd0\xb0\xd0\273\321\x8c\xd0\xbd\xd1\213\xd0\xb5\40\xd0\277\320\xb5\xd1\x80\xd0\xb8\xd0\xbe\320\264\xd1\213\40\xd0\272\320\xb0\320\xb6\320\264\xd0\xbe\xd0\271\40\320\xbb\320\xb5\xd0\xbd\xd1\x82\321\213");
$V7Csh = "\123\x45\114\105\x43\124\x20\x69\x64\xd\xa\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\40\106\x52\x4f\x4d\x20\140" . $wpdb->prefix . "\167\160\147\162\141\142\x62\145\x72\x60\xd\12\x20\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\40\40\40\127\x48\x45\x52\x45\40\125\x4e\111\x58\137\124\x49\x4d\105\123\x54\101\115\120\50\x29\x20\76\40\x28\140\x6c\x61\163\164\x5f\x75\x70\144\x61\164\x65\140\40\53\x20\140\151\156\164\145\162\x76\x61\154\140\x29\15\12\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x41\116\104\x20\x60\160\165\142\154\151\163\x68\x65\144\140\40\75\40\61\15\xa\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x4c\111\x4d\111\124\40" . (int) $c6wWc;
$fQZGl = $wpdb->get_col($V7Csh);
if (!($wpdb->last_error != '')) {
goto f1jsr;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
f1jsr:
yZKBm:
if (!(count($fQZGl) > 0)) {
goto IswXr;
}
echo "\x3c\x68\164\x6d\154\76\40\x3c\x68\x65\141\144\76\40\74\x74\151\164\154\145\76\127\x50\x47\162\141\x62\142\145\162\40" . WPGRABBER_VERSION . "\x2c\x20" . $_SERVER["\x48\124\x54\120\137\x48\117\x53\x54"] . "\x3c\57\x74\151\164\154\145\76\x20\74\x6d\x65\x74\141\40\150\x74\x74\160\x2d\x65\x71\x75\151\x76\75\42\x43\x6f\156\164\145\x6e\x74\x2d\x54\171\x70\x65\x22\40\x63\x6f\156\x74\x65\156\x74\75\42\x74\145\x78\x74\57\x68\164\155\154\x3b\40\143\150\x61\162\x73\x65\x74\75\x55\124\x46\55\70\x22\x20\57\x3e\40\x3c\x2f\150\x65\141\x64\76\x20\74\x62\x6f\144\x79\x3e";
foreach ($fQZGl as $Rx34n) {
$DtAtF = self::_getTGrabber();
$DtAtF->autoUpdateMode = 1;
$DtAtF->execute($Rx34n);
echo "\74\144\151\x76\x20\151\x64\75\42\x65\143\150\x6f\x2d\142\x6f\170\42\40\163\x74\x79\x6c\x65\75\42\x62\x6f\x72\x64\x65\162\72\x20\x31\x70\x78\40\x73\157\154\x69\144\40\x23\x63\x61\143\x61\x63\141\x3b\40\160\141\144\144\151\156\147\72\40\x31\x30\x70\170\73\40\x62\141\x63\153\147\x72\x6f\x75\x6e\x64\x3a\x23\x65\x35\x65\65\x65\65\x3b\x20\155\x61\x72\147\151\x6e\55\162\151\147\x68\x74\72\x20\x32\60\160\170\x3b\42\76";
echo $DtAtF->getLog();
echo "\74\57\x64\x69\166\76";
$DtAtF = null;
trVIG:
}
mmGEL:
IswXr:
}
public static function js()
{
wp_enqueue_script("\152\x51\165\x65\162\171\x5f\123\x63\162\x6f\154\154\x54\x6f\137\152\163", WPGRABBER_PLUGIN_URL . "\x2f\152\163\x2f\152\x71\165\x65\x72\171\56\x73\x63\162\x6f\154\x6c\x54\157\55\62\56\61\56\x32\56\x6d\151\156\x2e\152\163", array("\152\161\165\x65\162\x79"));
}
public static function menu()
{
if (!function_exists("\141\x64\144\x5f\155\145\x6e\165\137\160\x61\x67\145")) {
goto LFIXb;
}
$etkLo = add_menu_page("\x57\120\107\x72\141\x62\142\x65\x72", "\x57\120\x47\162\141\142\x62\145\162", self::_getUserLevel(), "\x77\160\147\162\x61\142\142\145\x72\x2d\x69\156\144\x65\170", array(wpgPlugin(), "\151\x6e\x64\x65\170"));
add_action("\x6c\x6f\141\144\x2d" . $etkLo, array(wpgPlugin(), "\x61\144\144\x4c\151\x73\164\x4f\160\164\151\157\156\x73"));
LFIXb:
if (!function_exists("\141\x64\x64\137\163\165\142\155\145\156\x75\x5f\160\x61\147\x65")) {
goto b2DlL;
}
add_submenu_page("\167\160\x67\x72\x61\142\x62\x65\x72\55\x69\x6e\x64\145\x78", "\xd0\xa1\xd0\277\xd0\xb8\xd1\x81\xd0\xbe\320\272\40\320\273\xd0\xb5\xd0\275\321\202", "\xd0\xa1\xd0\277\xd0\xb8\321\x81\xd0\xbe\320\272\40\xd0\xbb\xd0\xb5\xd0\275\xd1\x82", self::_getUserLevel(), "\x77\x70\147\x72\x61\142\142\x65\162\x2d\x69\156\x64\145\x78", array(wpgPlugin(), "\151\156\144\145\170"));
add_submenu_page("\167\x70\x67\x72\x61\142\142\x65\162\x2d\151\x6e\144\x65\170", "\320\x9d\320\xbe\xd0\262\xd0\260\321\217\40\320\xbb\320\265\xd0\275\xd1\202\xd0\260", "\320\235\320\xbe\320\xb2\xd0\260\xd1\217\x20\xd0\xbb\xd0\xb5\xd0\xbd\xd1\202\xd0\xb0", self::_getUserLevel(), "\167\160\147\x72\x61\x62\142\x65\x72\55\145\x64\151\x74", array(wpgPlugin(), "\145\144\151\164"));
add_submenu_page("\167\160\x67\162\141\x62\142\145\162\x2d\151\x6e\144\x65\170", "\xd0\x98\320\274\320\277\xd0\xbe\321\x80\xd1\202\40\xd0\xbb\xd0\xb5\320\xbd\xd1\202", "\320\x98\320\xbc\320\xbf\320\276\xd1\200\321\x82\x20\xd0\273\xd0\xb5\320\275\xd1\x82", self::_getUserLevel(), "\x77\x70\x67\x72\141\142\142\x65\x72\55\x69\x6d\160\x6f\x72\164", array(wpgPlugin(), "\151\155\x70\x6f\x72\164"));
add_submenu_page("\x77\160\x67\162\141\142\x62\145\x72\55\151\x6e\x64\x65\170", "\320\235\xd0\xb0\xd1\201\321\202\xd1\x80\320\xbe\320\271\xd0\272\xd0\270", "\xd0\235\320\260\xd1\201\xd1\x82\xd1\200\xd0\xbe\xd0\271\xd0\272\320\xb8", self::_getUserLevel(), "\167\x70\147\162\x61\142\142\x65\x72\55\163\145\x74\164\151\x6e\x67\x73", array(wpgPlugin(), "\x73\145\x74\164\x69\x6e\147\163"));
b2DlL:
}
public static function addListOptions()
{
$IQIrI = "\160\x65\162\x5f\x70\141\147\x65";
$iXNQq = array("\154\x61\142\x65\x6c" => "\xd0\232\320\xbe\xd0\xbb\320\xb8\xd1\x87\xd0\xb5\321\201\321\x82\320\xb2\xd0\xbe\40\320\xbb\xd0\265\xd0\xbd\xd1\202\40\xd0\xbd\xd0\xb0\40\321\x81\321\202\321\200\xd0\260\xd0\275\xd0\xb8\321\206\320\265", "\144\145\146\x61\x75\154\164" => 20, "\x6f\x70\164\151\157\156" => "\x77\160\147\x72\141\142\x62\145\162\x5f\146\145\x65\x64\163\137\160\145\162\x5f\x70\x61\147\145");
add_screen_option($IQIrI, $iXNQq);
require_once WPGRABBER_PLUGIN_CORE_DIR . DIRECTORY_SEPARATOR . "\x57\x50\107\x54\141\142\x6c\145\56\x70\150\160";
$SEBbq = new WPGTable();
}
public static function index()
{
$_POST["\162\x6f\x77\x73"] = isset($_POST["\x72\x6f\167\x73"]) ? $_POST["\162\157\167\163"] : null;
$_REQUEST["\141\143\x74\x69\x6f\156"] = isset($_REQUEST["\141\143\164\151\157\x6e"]) ? $_REQUEST["\x61\x63\x74\151\x6f\156"] : null;
$_GET["\160\141\x67\145\x64"] = isset($_GET["\x70\x61\x67\x65\x64"]) ? $_GET["\160\141\147\x65\x64"] : null;
if (!$_POST["\x72\x6f\x77\163"]) {
goto CzSZ4;
}
if (!($_REQUEST["\x61\143\x74\151\x6f\x6e"] == "\x2d\61")) {
goto nYHfg;
}
$_REQUEST["\x61\x63\x74\x69\157\156"] = $_REQUEST["\x61\x63\x74\x69\157\x6e\62"];
nYHfg:
CzSZ4:
if (!($_REQUEST["\x61\x63\x74\x69\x6f\156"] == "\145\x78\x70\x6f\162\x74")) {
goto OUZ8f;
}
add_action("\160\154\165\147\151\156\x73\137\154\157\x61\144\145\144", array(wpgPlugin(), "\x65\x78\160\x6f\x72\x74"));
OUZ8f:
if (!isset($_POST["\x63\141\164"])) {
goto BDVYK;
}
$_SESSION["\167\160\147\x72\141\142\x62\x65\162\103\x61\164\145\147\x6f\162\x79\106\x69\x6c\164\145\162"] = $_POST["\x63\x61\164"];
BDVYK:
if ($_GET["\x70\141\147\145\x64"]) {
goto CHElY;
}
if ($_REQUEST["\141\143\164\x69\x6f\x6e"] == "\164\145\x73\x74") {
goto I4E32;
}
if ($_REQUEST["\141\x63\164\x69\x6f\156"] == "\145\x78\145\143") {
goto VxAP8;
}
if (!empty($_REQUEST["\141\x63\x74\151\x6f\x6e"]) && $_REQUEST["\x61\x63\x74\x69\157\x6e"] != "\55\x31") {
goto Yow7d;
}
goto xhnc0;
I4E32:
self::test($_GET["\151\x64"]);
goto xhnc0;
VxAP8:
self::execWPG($_GET["\x69\144"]);
goto xhnc0;
Yow7d:
if (!method_exists(wpgPlugin(), $_REQUEST["\x61\143\164\x69\x6f\x6e"])) {
goto D7b7j;
}
call_user_func(array(wpgPlugin(), $_REQUEST["\x61\x63\x74\151\x6f\x6e"]));
D7b7j:
xhnc0:
CHElY:
self::_header();
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x57\120\107\x54\141\x62\154\x65\56\x70\150\x70";
$SEBbq = new WPGTable();
$SEBbq->prepare_items();
include_once WPGRABBER_PLUGIN_TPL_DIR . "\x6c\x69\163\x74\56\x70\x68\160";
self::_footer();
}
protected static function _header()
{
include_once WPGRABBER_PLUGIN_TPL_DIR . "\x68\x65\x61\x64\145\162\x2e\160\150\x70";
}
protected static function _footer()
{
echo "\74\144\x69\x76\40\163\x74\171\154\x65\75\x22\x74\145\170\x74\55\141\154\151\147\156\72\40\162\x69\x67\x68\164\73\x20\x70\141\x64\x64\151\x6e\x67\x2d\164\157\160\72\x20\62\x30\160\x78\73\x20\x6d\141\162\x67\151\x6e\x2d\164\157\x70\72\40\63\x30\x70\170\x3b\40\146\157\156\164\55\163\151\x7a\145\x3a\40\61\60\x70\x78\x3b\x22\x3e";
echo "\x50\110\x50\x20" . phpversion() . "\46\156\x62\x73\x70\73\x26\x6e\142\x73\x70\x3b";
echo '' . constant("\120\110\x50\137\x53\101\120\x49") . "\46\x6e\x62\x73\x70\x3b\x26\156\x62\x73\160\x3b";
if (extension_loaded("\x63\x75\x72\x6c")) {
goto BvP1z;
}
echo "\103\x55\x52\x4c\x20\x3c\x66\157\x6e\x74\x20\x63\x6f\x6c\x6f\162\75\42\162\x65\x64\42\x3e\xd0\262\320\276\xd0\267\xd0\274\320\xbe\320\266\320\275\xd0\xbe\x20\320\xbd\320\xb5\x20\xd0\277\320\xbe\xd0\xb4\xd0\xb4\320\265\xd1\200\320\xb6\320\xb8\xd0\262\xd0\xb0\320\xb5\321\202\321\x81\321\217\41\74\x2f\x66\x6f\x6e\x74\76\x26\x6e\142\x73\x70\73\x26\156\x62\163\x70\x3b";
goto uXn3k;
BvP1z:
$Vgwae = curl_version();
echo "\103\x55\x52\x4c\40" . $Vgwae["\166\145\x72\x73\151\157\156"] . "\x26\156\142\x73\160\x3b\46\156\142\163\160\x3b";
echo $Vgwae["\x73\x73\x6c\x5f\166\x65\162\163\151\157\x6e"] . "\x26\156\x62\163\x70\x3b\x26\x6e\142\x73\x70\x3b";
uXn3k:
if (!extension_loaded("\x6d\x62\x73\x74\162\x69\x6e\x67")) {
goto BJ6wV;
}
echo "\x6d\142\163\164\162\x69\x6e\147\x20\x65\x6e\141\142\x6c\145\144\x26\x6e\142\163\x70\x3b\46\156\142\x73\160\x3b\x3c\x62\x72\76";
BJ6wV:
echo "\120\103\122\x45\40\x20" . constant("\120\x43\x52\105\x5f\x56\105\x52\123\111\117\116") . "\x26\x6e\142\163\x70\x3b\x26\x6e\142\x73\160\73";
if (!extension_loaded("\x67\144")) {
goto zEN_U;
}
$Vgwae = gd_info();
echo "\107\x44\x20\x56\x65\162\163\x69\x6f\x6e\40" . $Vgwae["\107\104\x20\x56\x65\x72\x73\151\x6f\156"] . "\x26\156\x62\163\x70\73\46\156\x62\x73\160\73";
echo "\112\x50\105\107\40\123\165\160\160\x6f\162\164\x20" . $Vgwae["\x4a\x50\x45\107\x20\123\165\x70\160\x6f\162\x74"] . "\x26\156\x62\x73\160\x3b\46\156\x62\163\x70\73";
echo "\x57\x65\142\x50\40\123\165\160\x70\x6f\x72\x74\x20" . $Vgwae["\127\x65\x62\120\x20\x53\165\160\160\x6f\162\164"] . "\46\156\142\x73\x70\x3b\x26\x6e\142\x73\160\73";
zEN_U:
echo "\x20\x77\160\x3a" . get_bloginfo("\166\145\162\x73\x69\x6f\x6e", "\162\x61\167");
echo "\x3c\x2f\x64\x69\x76\x3e";
echo "\74\x64\x69\x76\40\x73\x74\x79\154\x65\75\42\x74\145\x78\164\x2d\141\x6c\151\147\156\x3a\x20\154\145\x66\164\x3b\40\160\141\144\144\x69\x6e\x67\55\164\157\160\72\x20\60\160\x78\x3b\x20\155\x61\x72\147\x69\x6e\55\164\157\x70\x3a\x20\x30\x70\x78\73\40\146\x6f\x6e\x74\55\163\x69\x7a\x65\72\x20\61\x36\x70\170\73\x22\x3e";
echo "\x26\x63\x6f\x70\x79\40\x32\x30\x31\63\55" . date("\x59") . "\x20\127\120\107\x72\141\142\142\x65\162\x20\x3c\142\x3e" . WPGRABBER_VERSION . "\74\x2f\x62\x3e\40\321\201\x20\321\204\321\x83\xd0\xbd\xd0\272\xd1\206\320\xb8\xd1\217\320\xbc\320\270\40\xd1\201\xd0\xb8\xd0\275\320\276\xd0\275\320\270\320\xbc\320\xb0\xd0\xb9\xd0\267\320\265\xd1\x80\320\xb0\40\74\x62\76\x22\124\x45\130\124\117\122\x4f\x42\117\x54\x22\x3c\x2f\x62\76\40\320\270\40\xd0\x9d\320\xb5\320\xb9\321\200\320\xbe\xd0\240\xd0\265\321\x80\xd0\260\320\271\xd1\x82\xd0\270\xd0\275\320\xb3\xd0\260\40\74\142\x3e\x22\xd0\xa2\xd0\x97\xd1\210\320\xba\320\260\x22\x3c\x2f\142\76\74\142\162\x20\x2f\76";
echo "\320\xa1\xd0\xbb\321\x83\320\266\320\261\320\260\40\xd0\237\320\276\320\xb4\xd0\264\xd0\265\xd1\200\320\266\320\272\320\xb8\x20\127\120\107\x72\x61\142\x62\x65\162\40\74\x61\40\x74\x61\162\x67\145\x74\x3d\x22\137\142\154\x61\x6e\x6b\x22\40\x68\162\x65\146\75\x22\x68\164\x74\x70\x73\72\57\57\167\x70\147\162\141\142\142\x65\162\x2e\162\165\x2e\x63\157\155\x2f\42\76\127\x50\x47\x52\101\x42\x42\x45\122\56\x52\x55\56\103\117\115\74\57\x61\x3e\x3c\142\162\x20\57\x3e";
echo "\xd0\241\xd0\xbb\321\203\xd0\266\xd0\xb1\xd0\260\40\xd0\237\xd0\276\320\264\xd0\xb4\xd0\265\xd1\200\xd0\xb6\xd0\272\320\270\40\xd1\201\320\270\320\275\320\xbe\320\xbd\xd0\270\320\xbc\xd0\260\320\xb9\320\267\320\265\321\200\xd0\xb0\x20\320\270\x20\xd0\xbf\xd0\276\320\xbf\xd0\xbe\xd0\273\320\xbd\xd0\265\320\275\320\270\xd0\xb5\x20\320\xb5\xd0\xb3\320\276\40\xd0\xb1\320\xb0\xd0\xbb\xd0\260\320\xbd\321\201\xd0\xb0\x20\x3c\141\40\x74\x61\162\147\x65\x74\75\x22\137\142\154\x61\x6e\153\x22\x20\150\x72\x65\x66\75\x22\x68\x74\x74\x70\163\72\x2f\57\x74\x65\x78\164\157\x72\x6f\x62\x6f\164\56\162\x75\x2f\x69\x6e\x64\145\x78\x2e\x70\150\x70\x3f\157\x70\x74\x69\157\x6e\75\x63\157\x6d\x5f\x62\x69\154\154\151\156\x67\x26\x70\x61\x72\164\x6e\145\x72\156\x61\155\145\x3d\x77\160\147\x72\141\x62\x62\145\162\42\76\124\105\x58\124\117\122\117\x42\x4f\124\x2e\x52\125\74\57\141\76";
echo "\xd\12\40\x3c\41\55\55\167\x65\x62\141\x6c\141\x6e\x20\x20\163\164\x61\162\164\55\55\76\15\12\x3c\x62\x72\40\57\x3e\xd\12\x20\40\x20\40\320\x9f\xd0\xbe\xd0\xb4\xd0\264\xd0\265\321\x80\320\266\320\xba\320\260\40\xd0\xb8\40\320\xbf\320\xbe\xd0\xbf\xd0\276\xd0\273\320\xbd\320\xb5\320\275\xd0\270\320\265\x20\xd0\261\320\xb0\xd0\273\320\xb0\320\275\xd1\201\320\260\40\x20\74\141\x20\164\x61\162\147\145\164\x3d\x22\x5f\x62\154\x61\156\153\x22\x20\150\162\x65\x66\75\x22\150\x74\164\x70\x73\72\57\57\164\172\163\x68\153\141\x2e\x72\x75\x2f\156\x65\151\162\157\x72\x65\162\141\x69\x74\151\156\147\77\x70\x3d\63\65\63\x35\x22\76\xd0\x9d\xd0\xb5\320\271\xd1\200\xd0\xbe\320\240\xd0\xb5\321\200\320\xb0\320\271\xd1\x82\xd0\xb8\320\xbd\xd0\263\320\xb0\x3c\57\141\76\xd\xa\x20\15\xa\x20\xd\xa\x20\x3c\x21\55\55\167\x65\x62\141\154\141\156\x20\40\145\x6e\144\x2d\x2d\x3e";
echo "\74\x2f\144\x69\166\76";
echo "\x3c\150\x72\76";
}
public static function edit()
{
global $wpdb;
$ONRFA["\160\x61\162\141\x6d\x73"] = array();
$Rx34n = (int) WPGTools::getValue("\151\x64");
if (!$Rx34n) {
goto uW3UY;
}
$V7Csh = "\x53\x45\114\105\x43\x54\x20\x2a\40\x46\x52\117\115\40\140" . $wpdb->prefix . "\167\x70\147\x72\141\142\142\145\162\x60\15\xa\40\x20\40\x20\40\x20\40\x20\x20\40\x57\x48\x45\x52\105\x20\151\144\40\x3d\40" . (int) $_GET["\x69\144"];
$cwr_v = $wpdb->get_row($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto Vt8VV;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Vt8VV:
if (!empty($cwr_v)) {
goto nLSpC;
}
WPGTools::redirect();
nLSpC:
$ONRFA["\x70\x61\162\x61\x6d\x73"] = unserialize(base64_decode($cwr_v["\x70\x61\162\x61\155\163"]));
if (!(trim(@$ONRFA["\160\141\162\141\x6d\x73"]["\151\155\x61\147\145\110\x74\x6d\154\103\157\x64\x65"]) == '')) {
goto kfTxH;
}
$ONRFA["\x70\x61\x72\141\155\x73"]["\x69\x6d\141\x67\145\110\x74\x6d\x6c\103\x6f\x64\x65"] = "\x3c\151\155\x67\40\x73\x72\x63\x3d\42\45\x50\x41\x54\x48\45\x22\x20\x2f\x3e";
kfTxH:
uW3UY:
$_GET["\141\143\x74"] = isset($_GET["\141\143\x74"]) ? $_GET["\141\143\x74"] : null;
switch ($_GET["\141\x63\x74"]) {
case "\x61\160\x70\x6c\171":
$_GET["\151\x64"] = self::save();
goto nzymP;
case "\145\x78\145\x63":
self::execWPG($_GET["\151\x64"]);
goto nzymP;
case "\x74\x65\x73\x74":
self::test($_GET["\151\x64"]);
goto nzymP;
}
rXE5h:
nzymP:
if (isset($_GET["\151\x64"]) ? $_GET["\x69\x64"] : null) {
goto JqlHj;
}
$ONRFA["\154\x69\x6e\x6b\163"] = "\57\x5b\x5c\x77\x5c\55\137\134\x2f\x5d\x7b\x38\54\x7d";
$ONRFA["\150\x74\155\154\137\x65\x6e\143\x6f\144\x69\x6e\147"] = 0;
$ONRFA["\x70\141\x72\x61\155\163"]["\x61\x75\164\157\x49\x6e\x74\x72\157\117\156"] = "\x30";
$ONRFA["\160\141\162\141\155\x73"]["\x63\141\163\x65\x5f\x74\151\x74\x6c\x65"] = "\x30";
$ONRFA["\x69\144"] = '';
$ONRFA["\160\141\162\141\x6d\163"]["\146\151\154\x74\145\x72\x5f\167\x6f\162\144\x73\137\154\x69\x73\x74"] = '';
$ONRFA["\160\x61\162\x61\155\x73"]["\x66\151\154\x74\x65\162\137\167\157\162\144\x73\137\163\141\x76\145"] = 0;
$ONRFA["\160\141\162\x61\x6d\163"]["\x66\x69\154\x74\x65\x72\137\167\x6f\162\144\x73\x5f\167\150\145\162\145"] = 0;
$ONRFA["\x70\x61\x72\141\155\163"]["\x66\x69\x6c\164\x65\x72\137\x77\157\162\144\163\137\x6f\x6e"] = 0;
$ONRFA["\x70\141\x72\141\x6d\163"]["\162\x65\x71\165\145\x73\164\x4d\x65\x74\150\157\144"] = 0;
$ONRFA["\160\141\x72\x61\x6d\163"]["\x75\163\162\145\x70\154"] = 0;
$ONRFA["\160\141\162\x61\155\163"]["\x75\x73\x65\162\137\162\x65\x70\154\x61\143\145\137\x6f\156"] = 1;
$ONRFA["\x70\141\162\x61\x6d\x73"]["\143\x73\x73\137\156\157\x5f\144\x65\154"] = 0;
$ONRFA["\x70\141\x72\141\x6d\x73"]["\152\163\137\163\x63\x72\151\160\x74\137\156\x6f\x5f\144\145\x6c"] = 0;
$ONRFA["\x70\x61\x72\141\x6d\163"]["\x79\141\156\x64\145\x78\x5f\141\x70\x69\137\x6b\x65\x79\62"] = '';
$ONRFA["\x70\141\162\x61\155\x73"]["\164\x72\141\156\x73\x6c\141\x74\x65\62\x5f\154\141\156\x67"] = 0;
$ONRFA["\160\x61\162\x61\155\163"]["\x74\162\141\156\x73\x6c\x61\x74\x65\x32\x5f\x6d\x65\x74\150\157\x64"] = 0;
$ONRFA["\160\141\x72\141\155\163"]["\164\162\x61\156\163\x6c\141\164\x65\x32\137\157\x6e"] = 0;
$ONRFA["\160\141\x72\x61\x6d\x73"]["\x79\141\156\x64\145\x78\137\141\160\x69\137\x6b\145\x79"] = '';
$ONRFA["\160\x61\162\x61\155\x73"]["\164\x72\141\x6e\x73\x6c\141\x74\145\x5f\154\141\x6e\x67"] = 0;
$ONRFA["\x70\141\162\x61\x6d\163"]["\164\162\x61\x6e\163\x6c\x61\x74\145\137\x6d\x65\x74\x68\157\144"] = 0;
$ONRFA["\160\141\162\x61\x6d\163"]["\164\x72\x61\156\163\154\141\164\145\x5f\x6f\156"] = 0;
$ONRFA["\160\141\x72\141\x6d\163"]["\156\x6f\x73\141\166\145\137\151\146\137\x6e\x6f\164\137\x74\162\141\x6e\x73\x6c\x61\164\145"] = 1;
$ONRFA["\x70\x61\x72\x61\155\x73"]["\x69\x6d\147\137\x69\x6e\x74\162\x6f\x5f\143\x72\157\x70"] = "\x30";
$ONRFA["\x70\x61\x72\x61\155\x73"]["\151\x6d\141\147\x65\137\x72\x65\x73\151\172\x65"] = 0;
$ONRFA["\x70\x61\x72\141\155\163"]["\151\155\147\x5f\160\141\x74\150\137\155\145\164\150\157\144"] = 0;
$ONRFA["\x70\x61\x72\x61\155\163"]["\x70\157\163\164\x5f\164\x68\165\155\x62\x5f\x6f\156"] = 0;
$ONRFA["\160\141\162\141\x6d\163"]["\x69\x6d\141\147\x65\x5f\156\141\155\145\137\x66\x72\x6f\x6d\x5f\164\151\x74\154\x65\x5f\x6f\156"] = 0;
$ONRFA["\x70\141\162\x61\155\x73"]["\151\x6d\x61\x67\145\137\143\x6c\141\x73\163\x5f\156\x61\x6d\x65\137\157\x6e"] = 0;
$ONRFA["\x70\141\x72\141\155\x73"]["\x69\155\x61\x67\145\137\x63\154\x61\163\163\137\156\141\155\x65\x5f\143\165\x73\164\x6f\155"] = "\167\x70\147\137\x69\x6d\141\147\x65";
$ONRFA["\160\141\162\141\x6d\163"]["\151\x6d\x61\x67\145\x5f\x61\x74\164\162\137\x64\145\x6c\x65\x74\145"] = "\x69\x74\x65\x6d\x70\162\x6f\x70\x2c\x73\162\x63\163\x65\164\54\144\141\x74\x61\55\x6f\162\x69\147\x69\156\141\154\x2c\x64\141\164\x61\x2d\x73\162\143\x2c\x64\141\164\x61\x2d\163\162\x63\x73\x65\x74\54\144\141\x74\141\55\x6c\x61\x7a\171\55\x74\171\160\145\54\x73\x69\172\145\163";
$ONRFA["\160\141\x72\141\155\163"]["\151\x6d\x61\x67\x65\x5f\x61\x6c\x74\137\x6d\x61\153\x65\137\157\156"] = 0;
$ONRFA["\160\141\x72\x61\x6d\x73"]["\x69\155\x61\x67\x65\137\141\154\164\x5f\162\145\x70\x6c\141\143\x65"] = 0;
$ONRFA["\160\141\162\141\x6d\x73"]["\x69\x6d\x61\147\x65\137\141\154\x74\x5f\x66\162\x6f\x6d\137\141\164\164\x72\x5f\x74\151\164\154\x65"] = 1;
$ONRFA["\x70\x61\x72\141\x6d\163"]["\x69\x6d\141\147\x65\137\164\151\164\154\145\137\x6d\141\153\145\x5f\x6f\x6e"] = 0;
$ONRFA["\160\x61\x72\141\155\x73"]["\x69\155\x61\147\x65\137\x73\x61\x76\x65"] = 0;
$ONRFA["\160\x61\162\141\x6d\x73"]["\156\157\137\x73\x61\166\x65\x5f\x77\151\x74\x68\x6f\x75\x74\x5f\160\x69\x63"] = 0;
$ONRFA["\160\x61\162\141\155\x73"]["\141\x6c\151\141\163\x53\x69\x7a\x65"] = 0;
$ONRFA["\x70\141\162\x61\x6d\163"]["\x61\x6c\x69\x61\163\x4d\x65\x74\x68\x6f\144"] = 1;
$ONRFA["\x70\141\162\x61\155\163"]["\x70\157\163\x74\x53\154\x75\147\117\x6e"] = 0;
$ONRFA["\160\x61\x72\141\155\x73"]["\151\156\164\x72\157\x53\x79\x6d\142\x6f\x6c\105\x6e\x64"] = '';
$ONRFA["\160\x61\162\141\155\x73"]["\160\157\x73\164\x46\x75\x6c\x6c\164\145\x78\x74\x53\171\155\x62\x6f\154\x45\x6e\144"] = "\56";
$ONRFA["\160\x61\162\x61\155\163"]["\x70\x6f\x73\x74\x5f\x6d\157\162\145\137\157\156"] = 0;
$ONRFA["\160\x61\162\141\x6d\x73"]["\x66\x75\154\x6c\164\145\170\x74\137\163\x69\172\145\x5f\157\156"] = 0;
$ONRFA["\x70\141\162\x61\155\x73"]["\x70\157\163\164\x5f\x73\x74\x61\164\x75\163"] = 0;
$ONRFA["\160\141\x72\141\155\x73"]["\165\x73\x65\x72\x5f\x69\144"] = '';
$ONRFA["\x70\141\162\x61\155\x73"]["\160\157\x73\x74\x54\171\x70\x65"] = 0;
$ONRFA["\x70\x61\162\141\x6d\x73"]["\143\x61\164\x69\144"] = '';
$ONRFA["\160\141\x72\141\x6d\x73"]["\x74\x69\164\154\145\125\156\x69\x71\x75\x65\x4f\x6e"] = 1;
$ONRFA["\x75\162\x6c"] = '';
$ONRFA["\156\141\x6d\x65"] = '';
$ONRFA["\160\141\x72\141\x6d\163"]["\163\x74\x61\x72\x74\137\x6c\x69\x6e\153"] = "\60";
$ONRFA["\160\141\162\x61\155\x73"]["\163\153\151\160\x5f\x65\162\162\157\x72\137\165\x72\154\163"] = 0;
$ONRFA["\x70\x61\162\141\155\x73"]["\163\164\x61\x72\164\137\164\x6f\160"] = 0;
$ONRFA["\164\x69\x74\154\x65"] = "\x3c\x74\151\x74\x6c\145\76\50\x2e\x2a\x3f\51\x3c\x2f\164\151\x74\154\145";
$ONRFA["\x74\145\170\164\x5f\163\164\x61\162\x74"] = "\x3c\x2f\x68\x31\x3e";
$ONRFA["\164\145\170\164\137\145\156\x64"] = "\74\x2f\x61\162\x74\151\143\154\145\76";
$ONRFA["\160\x61\x72\x61\155\x73"]["\151\156\x74\162\157\x4c\151\156\153\124\x65\155\x70\x6c"] = '';
$ONRFA["\160\141\x72\141\x6d\163"]["\157\x72\144\x65\x72\114\151\156\153\x49\x6e\x74\162\x6f"] = 0;
$ONRFA["\160\165\x62\x6c\x69\163\x68\145\x64"] = 0;
$ONRFA["\x69\156\164\145\x72\x76\x61\x6c"] = 1800;
$ONRFA["\160\x61\x72\x61\x6d\x73"]["\162\x73\163\137\x74\145\170\164\x6d\157\144"] = "\61";
$ONRFA["\x70\x61\x72\141\155\163"]["\155\141\x78\x5f\151\164\145\155\x73"] = 5;
$ONRFA["\160\x61\x72\141\x6d\x73"]["\x69\156\164\x72\x6f\137\x73\151\172\145"] = 170;
$ONRFA["\160\x61\162\x61\155\x73"]["\160\157\x73\164\137\x66\165\x6c\154\137\163\x69\172\145"] = 370;
$ONRFA["\160\x61\x72\141\x6d\163"]["\146\x72\x6f\x6e\x74\x70\x61\x67\x65"] = 1;
$ONRFA["\160\x61\162\141\x6d\163"]["\144\157\156\164\120\x75\x62\154\151\163\x68\145\144"] = 0;
$ONRFA["\160\x61\162\141\155\x73"]["\151\156\164\162\x6f\137\160\151\x63\137\157\156"] = 0;
$ONRFA["\160\x61\162\x61\155\163"]["\151\x6d\x61\x67\145\137\x70\x61\164\x68"] = get_option("\x77\160\x67\x5f\151\155\147\x50\x61\164\150") ? get_option("\x77\160\x67\x5f\151\x6d\147\120\x61\x74\x68") : "\x2f\x77\x70\55\143\x6f\156\164\145\156\164\57\x75\x70\154\157\141\x64\x73\57";
$ONRFA["\160\141\x72\141\x6d\163"]["\151\x6d\x61\147\x65\x5f\x73\x70\x61\x63\x65\x5f\x6f\x6e"] = 0;
$ONRFA["\160\x61\162\141\x6d\163"]["\x69\x6e\x74\162\x6f\137\160\x69\x63\137\x77\151\x64\164\x68"] = 150;
$ONRFA["\160\141\x72\x61\155\163"]["\151\156\x74\162\x6f\137\x70\x69\x63\137\x68\145\x69\x67\150\x74"] = 150;
$ONRFA["\160\141\162\141\155\x73"]["\x69\x6e\x74\162\x6f\x5f\160\151\x63\x5f\x71\x75\141\x6c\x69\164\x79"] = 100;
$ONRFA["\x70\x61\162\141\x6d\163"]["\x74\145\x78\164\x5f\x70\151\x63\x5f\167\151\x64\164\x68"] = 600;
$ONRFA["\160\x61\162\x61\155\x73"]["\x74\x65\x78\x74\x5f\x70\151\143\x5f\150\145\x69\147\150\x74"] = 600;
$ONRFA["\160\141\162\x61\x6d\163"]["\x74\145\x78\164\137\160\151\143\137\161\165\x61\154\x69\x74\x79"] = 100;
$ONRFA["\x70\x61\162\x61\155\x73"]["\163\164\162\x69\x70\137\x74\x61\x67\163"] = 1;
$ONRFA["\x70\141\x72\x61\x6d\163"]["\x61\154\x6c\x6f\167\x65\144\x5f\164\141\x67\x73"] = "\74\142\x3e\74\x62\154\x6f\x63\153\x71\x75\157\164\145\x3e\x3c\x62\x72\76\x3c\x63\x65\156\164\145\x72\x3e\x3c\145\155\142\145\x64\76\x3c\150\62\x3e\74\x68\x33\x3e\74\150\64\x3e\x3c\x68\x35\76\x3c\151\x3e\74\151\146\x72\141\x6d\x65\x3e\74\x69\155\x67\76\x3c\154\x69\x3e\74\157\142\x6a\145\143\x74\76\x3c\x6f\x6c\76\74\x70\x3e\x3c\160\141\x72\141\x6d\x3e\74\x73\157\165\x72\x63\145\76\74\163\164\162\x6f\x6e\147\x3e\74\x74\141\x62\x6c\x65\x3e\74\x74\142\x6f\144\171\76\x3c\x74\144\76\x3c\164\x68\x3e\74\164\162\x3e\74\x75\76\x3c\x75\x6c\76\74\x73\160\x61\156\76";
$ONRFA["\160\141\162\141\155\163"]["\164\x65\155\160\154\141\x74\x65\x5f\157\x6e"] = 1;
$ONRFA["\x70\141\162\x61\155\x73"]["\x74\145\155\160\154\x61\x74\x65\137\x74\151\164\x6c\x65"] = "\45\124\x49\124\x4c\x45\45";
$ONRFA["\x70\141\x72\x61\155\x73"]["\x74\145\155\160\x6c\x61\x74\145\x5f\x69\x6e\164\162\x6f\137\164\145\x78\x74"] = "\45\111\x4e\124\122\x4f\x5f\x54\x45\130\124\x25";
$ONRFA["\160\141\x72\x61\155\163"]["\164\145\155\160\154\x61\x74\145\x5f\146\165\x6c\x6c\137\x74\x65\170\164"] = "\45\106\125\x4c\114\x5f\x54\x45\130\x54\45";
$ONRFA["\x70\141\x72\x61\155\163"]["\x69\155\x61\x67\x65\110\x74\x6d\154\103\157\144\x65"] = "\74\x69\x6d\x67\x20\x73\162\x63\75\42\45\120\x41\124\110\45\x22\x20\x25\x41\104\x44\x53\45\x20\x2f\76";
$ONRFA["\160\141\x72\141\x6d\163"]["\x6d\x65\x74\x61\x44\x65\163\x63\x53\x69\172\x65"] = "\x34\x30\60";
$ONRFA["\160\x61\162\141\x6d\x73"]["\x6d\145\x74\x61\113\x65\x79\x73\123\151\x7a\x65"] = "\65\x30";
$ONRFA["\160\x61\162\x61\x6d\163"]["\164\151\x74\154\x65\137\167\157\x72\x64\x73\137\143\x6f\165\156\x74"] = "\65";
$ONRFA["\x70\141\162\141\155\x73"]["\160\x6f\x73\x74\x5f\164\x61\147\x73\137\157\156"] = "\x30";
$ONRFA["\160\x61\x72\141\155\163"]["\x74\141\147\163\123\x63\162\141\x70\145"] = "\74\x74\141\147\x73\x3e\50\56\x2a\x3f\51\x3c\x2f\164\x61\x67\163\x3e";
$ONRFA["\x70\x61\162\141\155\163"]["\x74\x61\x67\x73\x53\143\x72\141\x70\x65\103\157\x75\156\164"] = "\x31\x30";
$ONRFA["\160\141\x72\141\x6d\x73"]["\x70\x6f\x73\x74\137\144\141\164\145\137\157\156"] = 0;
$ONRFA["\x70\141\x72\141\155\163"]["\160\157\163\164\x5f\144\141\164\145\x5f\164\x79\x70\145"] = "\x72\x75\x6e\164\x69\155\x65";
$ONRFA["\160\141\162\x61\155\x73"]["\x70\x6f\163\164\x5f\144\x61\164\145\137\163\x63\x72\141\160\145"] = "\74\x74\151\155\x65\x20\x63\x6f\x6e\164\145\156\164\75\x22\x28\56\x2a\77\51\42\40\x64\141\x74\x61\164\x79\160\x65";
$ONRFA["\x74\x79\160\x65"] = "\x68\164\x6d\154";
$B1EfC = true;
goto yvCRx;
JqlHj:
global $wpdb;
$V7Csh = "\123\105\x4c\105\103\124\40\x2a\40\106\x52\117\115\x20\x60" . $wpdb->prefix . "\x77\x70\147\x72\141\x62\x62\145\162\140\15\xa\40\40\40\x20\40\40\x20\x20\40\40\127\110\x45\122\105\40\x69\144\x20\x3d\x20" . (int) $_GET["\x69\144"];
$ONRFA = $wpdb->get_row($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto cfCO7;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
cfCO7:
$ONRFA["\160\141\x72\x61\x6d\163"] = unserialize(base64_decode($ONRFA["\x70\x61\x72\x61\155\163"]));
if (!(trim(@$ONRFA["\160\141\x72\141\155\x73"]["\151\x6d\x61\147\x65\110\164\155\154\x43\157\x64\145"]) == '')) {
goto ZAHSP;
}
$ONRFA["\160\x61\162\x61\155\x73"]["\x69\155\141\147\145\110\164\155\x6c\103\157\x64\x65"] = "\74\151\x6d\147\x20\x73\162\143\75\x22\x25\x50\x41\x54\x48\45\42\x20\x2f\76";
ZAHSP:
yvCRx:
$KmJUq = $ONRFA["\160\141\162\x61\x6d\163"]["\164\145\170\x74\157\162\157\142\x6f\164\101\x70\x69\x4b\145\x79"];
if ($KmJUq) {
goto GmAug;
}
$KmJUq = get_option("\167\160\x67\137\164\145\x78\x74\x6f\x72\x6f\x62\157\x74\101\x70\x69\113\x65\171");
GmAug:
if (!$KmJUq) {
goto jcUir;
}
include_once WPGRABBER_PLUGIN_DIR . "\164\x65\170\x74\x6f\x72\157\142\157\164\x2f\x74\145\170\164\157\162\x6f\142\x6f\x74\x41\x70\151\x2e\x70\x68\160";
$ruEOT = new TextorobotApi($KmJUq);
$eOcGP = $ruEOT->balance();
jcUir:
$I5JaB = $ONRFA["\160\x61\x72\141\x6d\163"]["\x74\172\101\x70\151\113\x65\x79"];
if ($I5JaB) {
goto DdO8g;
}
$I5JaB = get_option("\167\160\147\137\x74\x7a\x41\x70\x69\x4b\x65\x79");
DdO8g:
if (!$I5JaB) {
goto Jp4_G;
}
include_once WPGRABBER_PLUGIN_DIR . "\164\x7a\57\164\x7a\x41\x70\x69\56\x70\x68\160";
$ruEOT = new TzApi($I5JaB);
$RvLR1 = $ruEOT->balance();
Jp4_G:
$QpAOZ = (isset($_REQUEST["\x74\x61\x62"]) and in_array($_REQUEST["\x74\x61\x62"], array(1, 2, 3, 4, 5, 6, 7, 8, 9))) ? $_REQUEST["\164\141\142"] : 1;
self::_header();
include_once WPGRABBER_PLUGIN_TPL_DIR . "\145\x64\x69\x74\x2e\x70\150\x70";
self::_footer();
}
private function translateGoogleCloudUpdate()
{
if (!get_option("\x77\160\x67\x5f" . "\x67\x6f\157\147\154\x65\x5f\164\162\141\156\163\x6c\141\164\145\x5f\x61\x70\x69\137\x6b\145\x79")) {
goto jinrg;
}
if (function_exists("\143\x75\x72\x6c\x5f\x69\156\151\164")) {
goto Vh3YQ;
}
goto hJh1r;
jinrg:
self::_adminNotice("\x41\120\x49\x2d\xd0\xba\xd0\273\321\x8e\xd1\207\x20\x47\157\157\147\154\145\40\103\154\157\165\x64\40\x54\x72\141\x6e\x73\x6c\141\x74\x69\x6f\x6e\40\xd0\275\320\xb5\x20\320\267\xd0\xb0\xd0\264\320\xb0\320\275\x21");
goto hJh1r;
Vh3YQ:
$sNXH0 = curl_init();
$Xvp_K["\x6b\x65\x79"] = get_option("\167\x70\147\137" . "\147\157\157\147\x6c\x65\137\164\162\141\156\163\x6c\141\164\145\x5f\141\x70\x69\x5f\153\x65\x79");
$Xvp_K["\x74\x61\162\x67\145\x74"] = "\162\165";
$Xvp_K["\155\x6f\144\x65\154"] = "\x6e\155\x74";
$oQ87T = "\150\164\x74\x70\x73\x3a\x2f\x2f\164\162\x61\156\x73\x6c\x61\x74\x69\x6f\156\56\x67\x6f\x6f\x67\x6c\145\x61\x70\x69\x73\x2e\143\x6f\x6d\57\154\141\156\x67\165\141\147\145\x2f\164\x72\141\156\163\x6c\x61\164\x65\57\166\62\57\x6c\141\x6e\147\x75\141\x67\x65\163\77\155\x6f\144\145\154\x3d" . $Xvp_K["\155\x6f\x64\145\x6c"] . "\x26\x74\141\x72\147\x65\x74\x3d" . $Xvp_K["\164\x61\162\147\x65\164"] . "\x26\x6b\145\x79\x3d" . $Xvp_K["\x6b\x65\x79"];
$WWP6V[] = "\103\x6f\x6e\164\145\x6e\164\55\124\x79\x70\x65\x3a\40\141\160\160\x6c\151\x63\x61\x74\151\157\x6e\x2f\x6a\x73\157\x6e";
$WWP6V[] = "\170\x2d\147\157\x6f\147\x2d\141\x70\151\55\143\154\x69\x65\x6e\164\72\x20\147\x6c\55\160\x68\x70\x2f\67\x2e\62\56\60\x20\147\x63\x63\x6c\57\61\56\65\x2e\x30";
$WWP6V[] = "\101\143\x63\x65\x70\164\x2d\105\x6e\x63\157\144\x69\x6e\147\x3a\x20\x67\172\151\x70";
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_URL, $oQ87T);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_ENCODING, "\x67\172\x69\160");
if (!get_option("\x77\x70\147\x5f" . "\x63\x75\x72\154\x50\162\x6f\x78\171\124\171\x70\x65")) {
goto Q0ye2;
}
switch (get_option("\167\160\x67\x5f" . "\143\165\x72\154\120\x72\157\x78\171\124\171\160\145")) {
case 1:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
goto Now2c;
case 2:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4A);
goto Now2c;
case 3:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
goto Now2c;
default:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
}
dy3C0:
Now2c:
Q0ye2:
if (!get_option("\x77\160\x67\137" . "\x63\165\x72\x6c\120\x72\x6f\170\x79\125\163\145\x72\x50\167\x64")) {
goto jLhsj;
}
curl_setopt($sNXH0, CURLOPT_PROXYUSERPWD, get_option("\167\160\147\x5f" . "\143\165\162\x6c\120\x72\157\170\171\125\163\145\x72\120\167\x64"));
jLhsj:
curl_setopt($sNXH0, CURLOPT_USERAGENT, "\x4d\157\x7a\151\154\154\141\x2f\x35\56\x30\x20\x28\127\x69\156\144\x6f\167\163\x20\116\124\40\61\60\x2e\x30\x3b\x20\127\x69\156\66\x34\73\40\170\x36\x34\73\40\162\x76\x3a\x36\70\56\x30\51\40\107\145\143\x6b\x6f\57\x32\x30\x31\60\60\x31\x30\x31\x20\x46\151\162\x65\146\x6f\170\57\x36\70\x2e\x30");
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
$Fel8D = json_decode($Eby3I, true);
if (!is_array($Fel8D)) {
goto szGSh;
}
foreach ($Fel8D["\144\x61\164\x61"]["\x6c\x61\x6e\147\165\141\147\145\163"] as $i3Iz6) {
$QoYBo[$i3Iz6["\154\141\x6e\x67\x75\x61\x67\x65"]] = $i3Iz6["\x6e\141\x6d\145"];
SOG5M:
}
xGWQE:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "\162\165")) {
goto R7Unh;
}
goto fQR5Q;
R7Unh:
$UEltI["\x72\x75\55" . $u9DhX] = "\320\240\321\203\321\201\xd1\x81\320\xba\xd0\xb8\xd0\271\x20\76\x20" . $TjwLi;
$UEltI[$u9DhX . "\x2d\162\165"] = $TjwLi . "\40\x3e\x20\320\240\xd1\203\xd1\x81\xd1\201\xd0\xba\320\270\xd0\xb9";
fQR5Q:
}
xopxX:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "\145\156")) {
goto sGajw;
}
goto vimJy;
sGajw:
$UEltI["\x65\x6e\55" . $u9DhX] = "\xd0\x90\320\275\xd0\xb3\xd0\xbb\xd0\270\320\xb9\321\201\xd0\xba\xd0\270\xd0\xb9\40\76\40" . $TjwLi;
$UEltI[$u9DhX . "\55\145\x6e"] = $TjwLi . "\x20\76\x20\320\220\xd0\xbd\xd0\xb3\320\273\320\270\xd0\xb9\xd1\201\320\xba\320\xb8\320\271";
vimJy:
}
lI983:
ksort($UEltI);
if (!count($UEltI)) {
goto klvFT;
}
if (get_option("\x77\x70\x67\137\x67\x6f\157\x67\154\x65\124\162\141\x6e\x73\114\141\x6e\x67\163")) {
goto waH33;
}
add_option("\x77\160\x67\x5f\x67\x6f\157\x67\x6c\x65\124\x72\141\156\x73\114\x61\x6e\147\163", json_encode($UEltI));
goto j_FFG;
waH33:
update_option("\x77\x70\x67\137\x67\x6f\x6f\x67\154\145\x54\x72\x61\x6e\x73\114\x61\x6e\147\x73", json_encode($UEltI));
j_FFG:
return true;
klvFT:
szGSh:
hJh1r:
}
private function translateYandexCloudUpdate()
{
if (!get_option("\x77\160\147\137" . "\171\x61\x6e\x64\x65\x78\x4f\x61\x75\164\x68")) {
goto HIooQ;
}
if (!get_option("\x77\x70\x67\x5f" . "\x79\x61\156\144\145\x78\x46\157\x6c\x64\x65\162\111\x64")) {
goto miAT9;
}
if (function_exists("\x63\x75\x72\x6c\137\151\156\x69\164")) {
goto OZ8Bs;
}
goto NxF8z;
HIooQ:
self::_adminNotice("\x4f\101\x75\x74\150\x2d\321\202\xd0\276\320\272\320\xb5\xd0\275\x20\xd0\xaf\xd0\xbd\320\xb4\xd0\265\320\272\xd1\x81\40\320\275\320\265\40\xd0\xb7\320\xb0\320\xb4\xd0\xb0\xd0\275\x21");
goto NxF8z;
miAT9:
self::_adminNotice("\xd0\230\320\264\320\265\320\xbd\xd1\x82\xd0\xb8\321\204\xd0\xb8\320\xba\xd0\xb0\xd1\202\xd0\xbe\xd1\x80\x20\xd0\272\320\260\321\202\320\260\xd0\xbb\xd0\276\320\xb3\xd0\xb0\x20\xd0\xaf\320\275\320\xb4\320\265\320\xba\321\x81\40\320\275\xd0\265\x20\320\267\320\xb0\xd0\xb4\320\260\xd0\275\41");
goto NxF8z;
OZ8Bs:
$sNXH0 = curl_init();
$DtAtF = self::_getTGrabber();
$vRr93["\146\157\154\x64\x65\162\x49\144"] = get_option("\x77\x70\x67\137" . "\x79\141\156\144\145\170\x46\157\154\x64\x65\162\x49\x64");
$pIaAc = json_encode($vRr93);
$WWP6V[] = "\103\x6f\x6e\x74\145\x6e\x74\x2d\124\171\160\x65\72\40\x61\x70\x70\154\x69\x63\141\164\151\x6f\x6e\57\x6a\x73\x6f\x6e";
$WWP6V[] = "\101\143\x63\x65\160\x74\x2d\x45\156\143\157\x64\x69\x6e\x67\72\40\x67\x7a\151\160";
$WWP6V[] = "\101\165\x74\150\157\x72\x69\172\x61\164\x69\157\156\72\40\102\x65\141\162\145\x72\x20" . $DtAtF->getYandexPassportOauthToken(get_option("\167\x70\x67\137" . "\x79\x61\156\x64\x65\x78\117\141\x75\x74\x68"));
$WWP6V[] = "\x58\55\103\154\151\x65\156\x74\55\122\145\x71\165\x65\163\x74\x2d\111\104\x3a\x20\60\144\141\x35\x31\x32\x62\71\55\x32\67\x62\x34\55\64\142\71\x64\55\71\61\63\x33\55\x61\60\62\144\x36\142\67\x61\x38\70\67\71";
curl_setopt($sNXH0, CURLOPT_URL, "\150\x74\x74\160\163\x3a\57\57\164\x72\141\x6e\x73\x6c\141\x74\145\x2e\x61\x70\151\56\x63\154\x6f\x75\x64\x2e\x79\141\x6e\x64\x65\x78\x2e\x6e\145\x74\57\x74\162\141\x6e\163\154\x61\164\x65\x2f\x76\x32\57\x6c\x61\x6e\147\x75\141\147\x65\x73");
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_USERAGENT, "\x4d\x6f\x7a\x69\154\154\141\57\65\56\60\x20\50\x57\151\x6e\x64\x6f\x77\163\x20\116\x54\40\x31\60\56\60\73\40\127\x69\x6e\66\64\x3b\40\x78\66\64\73\40\x72\166\72\66\70\56\x30\x29\40\107\x65\x63\x6b\x6f\57\x32\x30\61\60\60\61\60\x31\40\x46\x69\x72\145\146\157\170\x2f\x36\70\x2e\60");
curl_setopt($sNXH0, CURLOPT_POST, true);
curl_setopt($sNXH0, CURLOPT_POSTFIELDS, $pIaAc);
curl_setopt($sNXH0, CURLOPT_FAILONERROR, false);
curl_setopt($sNXH0, CURLOPT_ENCODING, "\147\x7a\151\x70");
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
if (!(trim($Eby3I) == '')) {
goto x7c4M;
}
return false;
x7c4M:
$Fel8D = json_decode($Eby3I, true);
if (!is_array($Fel8D)) {
goto nzuEs;
}
foreach ($Fel8D["\154\x61\x6e\x67\x75\x61\x67\145\x73"] as $i3Iz6) {
if (isset($i3Iz6["\156\x61\155\x65"])) {
goto rY9HG;
}
$QoYBo[$i3Iz6["\x63\x6f\x64\145"]] = $i3Iz6["\x63\x6f\x64\x65"];
goto cGB2j;
rY9HG:
$QoYBo[$i3Iz6["\143\157\x64\145"]] = $i3Iz6["\156\141\155\x65"];
cGB2j:
bL7KY:
}
U5EUK:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "\162\x75")) {
goto VyGKd;
}
goto ki019;
VyGKd:
$UEltI["\162\x75\55" . $u9DhX] = "\320\xa0\321\203\321\x81\xd1\201\xd0\272\xd0\xb8\320\271\40\x3e\40" . $TjwLi;
$UEltI[$u9DhX . "\x2d\162\x75"] = $TjwLi . "\40\x3e\40\320\240\321\x83\321\201\321\x81\320\272\320\xb8\320\271";
ki019:
}
bsrJc:
foreach ($QoYBo as $u9DhX => $TjwLi) {
if (!($u9DhX == "\x65\x6e")) {
goto A297p;
}
goto WULV8;
A297p:
$UEltI["\x65\x6e\55" . $u9DhX] = "\320\220\320\xbd\xd0\263\xd0\273\320\xb8\320\271\xd1\201\xd0\272\320\xb8\xd0\271\x20\76\x20" . $TjwLi;
$UEltI[$u9DhX . "\x2d\145\x6e"] = $TjwLi . "\x20\x3e\x20\320\x90\320\xbd\xd0\xb3\xd0\273\320\xb8\320\xb9\xd1\201\xd0\272\320\xb8\320\271";
WULV8:
}
SDcw8:
ksort($UEltI);
if (!count($UEltI)) {
goto cTZ6z;
}
if (get_option("\x77\160\x67\x5f\171\141\156\x64\145\170\103\x6c\157\x75\x64\x54\162\141\x6e\x73\114\141\156\147\x73")) {
goto iz8ss;
}
add_option("\x77\x70\147\137\171\141\156\144\x65\x78\103\x6c\x6f\165\144\124\x72\x61\156\x73\x4c\141\156\x67\x73", json_encode($UEltI));
goto CUaW4;
iz8ss:
update_option("\x77\x70\x67\137\x79\x61\x6e\144\x65\x78\103\154\157\x75\x64\x54\x72\x61\156\163\x4c\141\x6e\147\163", json_encode($UEltI));
CUaW4:
return true;
cTZ6z:
nzuEs:
NxF8z:
}
private static function translateDeeplUpdate()
{
if (!get_option("\167\x70\x67\x5f" . "\144\145\x65\x70\x6c\137\x61\160\x69\x5f\x6b\x65\x79")) {
goto CCHde;
}
if (function_exists("\x63\x75\x72\154\137\151\156\151\x74")) {
goto lEmJ8;
}
goto NbYJo;
CCHde:
self::_adminNotice("\101\x50\x49\55\xd0\272\320\xbb\xd1\x8e\321\x87\40\104\x65\145\160\114\x20\124\162\x61\x6e\x73\154\141\164\x65\40\xd0\275\320\265\x20\320\267\320\260\xd0\264\xd0\xb0\320\xbd\41");
goto NbYJo;
lEmJ8:
$sNXH0 = curl_init();
$Xvp_K["\x61\x75\x74\150\x5f\153\145\171"] = get_option("\167\x70\147\137" . "\144\145\x65\160\154\137\141\x70\151\x5f\153\x65\x79");
$Xvp_K["\x74\171\x70\145"] = "\163\157\x75\162\x63\145";
$oQ87T = "\x68\164\x74\x70\x73\72\x2f\x2f\x61\160\151\56\144\x65\x65\160\154\x2e\143\x6f\x6d\x2f\166\62\x2f\154\x61\x6e\x67\165\x61\147\x65\163";
$WWP6V[] = "\x41\x63\143\x65\x70\x74\55\x45\156\x63\x6f\x64\x69\156\x67\72\40\147\x7a\151\160";
curl_setopt($sNXH0, CURLOPT_HTTPHEADER, $WWP6V);
curl_setopt($sNXH0, CURLOPT_URL, $oQ87T);
curl_setopt($sNXH0, CURLOPT_HEADER, 0);
curl_setopt($sNXH0, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($sNXH0, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($sNXH0, CURLOPT_ENCODING, "\147\172\x69\160");
curl_setopt($sNXH0, CURLOPT_POST, TRUE);
curl_setopt($sNXH0, CURLOPT_POSTFIELDS, http_build_query($Xvp_K));
if (!get_option("\x77\160\x67\137" . "\x63\165\x72\x6c\x50\x72\x6f\170\171\x54\x79\160\145")) {
goto AMLDt;
}
switch (get_option("\167\x70\x67\x5f" . "\143\165\162\x6c\120\x72\x6f\170\171\x54\x79\160\145")) {
case 1:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
goto ISH2u;
case 2:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4A);
goto ISH2u;
case 3:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
goto ISH2u;
default:
curl_setopt($sNXH0, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
}
n5_cr:
ISH2u:
AMLDt:
if (!get_option("\x77\160\x67\137" . "\143\165\162\154\x50\162\157\x78\171\x55\x73\x65\x72\120\x77\144")) {
goto fZgav;
}
curl_setopt($sNXH0, CURLOPT_PROXYUSERPWD, get_option("\x77\160\x67\137" . "\x63\x75\162\x6c\120\x72\157\x78\171\125\x73\145\x72\x50\167\x64"));
fZgav:
$Eby3I = curl_exec($sNXH0);
curl_close($sNXH0);
$chMC8 = json_decode($Eby3I, true);
if (!is_array($chMC8)) {
goto s2RZ1;
}
$EXxKd = array(0 => array("\x6c\141\x6e\x67\165\141\147\145" => "\104\105", "\156\x61\155\x65" => "\x47\145\x72\x6d\141\x6e"), 1 => array("\154\x61\x6e\147\165\x61\147\x65" => "\105\x4e\x2d\107\x42", "\x6e\x61\155\145" => "\105\x6e\x67\154\x69\163\150\x20\x28\x42\x72\x69\x74\151\x73\x68\x29"), 2 => array("\154\141\156\x67\x75\141\x67\145" => "\x45\x4e\55\125\x53", "\156\141\155\x65" => "\105\156\147\154\x69\x73\x68\40\x28\101\155\145\162\x69\143\141\x6e\51"), 3 => array("\154\x61\156\147\165\x61\x67\x65" => "\x45\123", "\x6e\x61\155\x65" => "\x53\x70\141\156\151\x73\x68"), 4 => array("\154\x61\x6e\x67\165\141\147\145" => "\x46\122", "\156\141\x6d\145" => "\106\x72\x65\156\143\150"), 5 => array("\154\141\156\147\x75\141\147\145" => "\x49\x54", "\156\141\x6d\145" => "\x49\164\141\x6c\x69\141\x6e"), 6 => array("\154\141\156\x67\165\141\147\x65" => "\112\101", "\x6e\x61\155\145" => "\112\141\x70\141\156\x65\163\145"), 7 => array("\154\x61\x6e\x67\165\x61\147\145" => "\116\114", "\156\x61\x6d\x65" => "\104\x75\x74\x63\x68"), 8 => array("\154\141\x6e\x67\x75\141\147\145" => "\x50\114", "\x6e\141\x6d\145" => "\x50\157\x6c\x69\163\150"), 9 => array("\154\141\156\147\x75\141\147\x65" => "\x50\x54\x2d\x50\124", "\156\x61\x6d\145" => "\120\157\x72\164\x75\147\165\x65\163\145\x20\x28\105\165\162\157\x70\x65\141\x6e\51"), 10 => array("\154\141\156\147\x75\141\x67\145" => "\120\124\x2d\102\122", "\x6e\x61\x6d\145" => "\x50\157\x72\x74\x75\x67\165\x65\x73\145\x20\50\102\x72\141\172\x69\154\x69\x61\x6e\51"), 11 => array("\154\x61\x6e\x67\165\141\147\x65" => "\122\x55", "\156\x61\x6d\x65" => "\122\165\163\x73\151\x61\x6e"), 12 => array("\x6c\x61\x6e\x67\x75\141\x67\145" => "\x5a\110", "\156\x61\x6d\x65" => "\x43\x68\151\156\x65\163\145"));
foreach ($chMC8 as $BRr7B) {
$mkXYU[$BRr7B["\x6c\x61\156\147\x75\x61\x67\x65"]] = $BRr7B["\x6e\x61\155\145"];
DrIKR:
}
ciHNP:
foreach ($EXxKd as $Soap5) {
$wgYMZ[$Soap5["\154\x61\x6e\x67\x75\141\x67\145"]] = $Soap5["\156\x61\x6d\x65"];
as5mI:
}
rNg2w:
foreach ($mkXYU as $I6uuG => $Y6ZpR) {
foreach ($wgYMZ as $UekXD => $m8W9m) {
if (!($UekXD == $I6uuG)) {
goto sRpKX;
}
goto QdITd;
sRpKX:
if (!($UekXD == $I6uuG)) {
goto oO6pf;
}
goto QdITd;
oO6pf:
$UEltI[$I6uuG . "\137" . $UekXD] = $Y6ZpR . "\x20\76\x20" . $m8W9m;
$UEltI[$UekXD . "\x5f" . $I6uuG] = $m8W9m . "\x20\x3e\40" . $Y6ZpR;
QdITd:
}
ZP8WI:
lxQ5t:
}
AQsu0:
$k3Lbw = array("\x45\116\137\x52\x55" => "\320\x90\xd0\xbd\320\263\xd0\xbb\xd0\270\320\xb9\xd1\x81\xd0\xba\320\270\xd0\xb9\40\x3e\x20\xd0\240\xd1\203\321\201\321\201\xd0\xba\320\xb8\xd0\271", "\x45\116\55\x55\123\x5f\x52\x55" => "\xd0\220\xd0\xbd\320\263\xd0\273\320\270\320\xb9\xd1\201\xd0\272\xd0\xb8\xd0\271\40\50\x41\155\x65\162\x69\143\141\x6e\51\x20\x3e\x20\320\xa0\321\203\321\201\321\201\320\xba\xd0\270\320\271", "\x45\116\55\x47\x42\x5f\x52\125" => "\320\x90\320\275\xd0\263\xd0\273\320\xb8\320\271\321\x81\320\xba\xd0\xb8\320\271\x20\x28\x42\162\151\x74\151\x73\x68\51\40\76\40\320\240\xd1\203\xd1\x81\xd1\201\320\xba\xd0\270\320\xb9", "\122\125\x5f\x45\116" => "\xd0\240\321\203\321\x81\321\x81\xd0\272\320\270\320\271\x20\x3e\40\xd0\x90\xd0\xbd\xd0\xb3\xd0\xbb\320\xb8\320\271\321\x81\xd0\xba\320\xb8\xd0\xb9", "\x52\x55\137\105\x4e\55\x47\x42" => "\xd0\240\xd1\203\321\x81\321\201\xd0\xba\xd0\xb8\320\271\40\76\x20\xd0\x90\320\275\xd0\263\xd0\xbb\xd0\xb8\xd0\271\321\201\320\xba\320\xb8\xd0\271\x20\50\102\x72\151\164\x69\163\150\x29", "\x52\x55\x5f\105\116\55\125\x53" => "\xd0\xa0\321\203\xd1\x81\321\x81\320\xba\xd0\270\xd0\271\x20\x3e\x20\320\x90\320\xbd\xd0\263\xd0\xbb\320\270\xd0\271\321\201\xd0\xba\320\270\xd0\271\40\50\101\155\145\162\x69\143\x61\156\x29");
asort($UEltI);
$FVA77 = array_merge($k3Lbw, $UEltI);
if (!count($UEltI)) {
goto NpRDT;
}
if (get_option("\167\x70\x67\137\x64\145\145\160\x6c\x54\x72\x61\156\163\x4c\141\156\147\163")) {
goto b1K5U;
}
add_option("\x77\160\147\x5f\144\x65\145\160\x6c\124\x72\141\156\x73\114\x61\156\x67\163", json_encode($FVA77));
goto F77wd;
b1K5U:
update_option("\167\x70\x67\137\144\x65\145\160\154\x54\x72\141\156\163\x4c\141\x6e\147\x73", json_encode($FVA77));
F77wd:
return true;
NpRDT:
s2RZ1:
NbYJo:
}
public static function settings()
{
WPGErrorHandler::initPhpErrors();
if (!(isset($_GET["\164\162\141\x6e\163\x6c\x61\164\145\x5f\x64\145\145\x70\154"]) == "\x75\x70\144\x61\x74\145")) {
goto WPWjp;
}
if (!self::translateDeeplUpdate()) {
goto EwaWu;
}
self::_adminNotice("\320\221\xd0\260\xd0\267\320\xb0\40\320\xbf\xd0\265\321\200\320\xb5\320\262\320\276\xd0\264\xd0\276\320\262\x20\xd1\201\xd0\265\321\x80\320\xb2\xd0\xb8\xd1\x81\xd0\260\x20\104\145\x65\160\114\40\x54\162\141\x6e\x73\x6c\141\x74\x65\40\321\203\xd1\x81\320\xbf\xd0\265\321\210\320\xbd\xd0\276\x20\xd0\xbe\320\xb1\320\xbd\xd0\xbe\320\xb2\xd0\xbb\xd0\xb5\320\xbd\320\xb0\x21");
EwaWu:
WPWjp:
if (!(isset($_GET["\x74\162\141\x6e\x73\154\x61\164\145\x5f\x63\154\157\165\144\137\x79\x61\156\x64\x65\x78"]) == "\165\x70\x64\x61\x74\x65")) {
goto Alo09;
}
if (!self::translateYandexCloudUpdate()) {
goto XEKok;
}
self::_adminNotice("\320\221\xd0\xb0\320\xb7\320\260\40\320\xbf\xd0\265\xd1\200\xd0\xb5\xd0\262\320\276\320\264\xd0\xbe\320\xb2\40\xd1\201\320\xb5\321\200\xd0\xb2\320\270\xd1\x81\xd0\260\40\320\xaf\xd0\275\320\264\320\xb5\320\xba\xd1\x81\x2e\xd0\236\xd0\261\320\273\xd0\xb0\xd0\272\320\276\40\124\x72\141\156\163\154\x61\164\x65\x20\xd1\203\xd1\x81\320\277\xd0\xb5\321\x88\xd0\275\320\276\40\320\276\xd0\xb1\320\275\320\276\xd0\xb2\320\xbb\xd0\xb5\xd0\275\xd0\xb0\x21");
XEKok:
Alo09:
if (!(isset($_GET["\164\162\141\156\x73\x6c\x61\x74\x65\137\x63\154\x6f\x75\x64\x5f\147\157\x6f\147\x6c\145"]) == "\165\x70\x64\x61\x74\x65")) {
goto dt28k;
}
if (!self::translateGoogleCloudUpdate()) {
goto TuxAf;
}
self::_adminNotice("\320\221\320\260\320\xb7\xd0\260\40\xd0\xbf\320\265\321\x80\320\265\xd0\262\xd0\xbe\xd0\xb4\xd0\276\320\xb2\x20\321\201\xd0\xb5\xd1\x80\320\xb2\320\xb8\xd1\201\320\260\40\107\157\157\x67\154\x65\x20\x43\x6c\x6f\165\x64\40\x54\x72\141\x6e\x73\x6c\x61\x74\x69\x6f\156\x20\x76\62\x20\xd1\203\321\x81\xd0\277\320\265\xd1\x88\xd0\xbd\xd0\xbe\40\320\xbe\xd0\261\320\275\xd0\276\xd0\262\xd0\xbb\xd0\265\320\275\320\260\x21");
TuxAf:
dt28k:
if (!isset($_POST["\x6f\x70\x74\x69\x6f\x6e\x73"])) {
goto GKgdQ;
}
foreach ($_POST["\x6f\x70\x74\x69\157\156\163"] as $vFsbw => $TjwLi) {
if (get_option("\167\160\147\137{$vFsbw}") != $TjwLi) {
goto YEvu1;
}
add_option("\167\160\x67\x5f{$vFsbw}", $TjwLi);
goto M9PLp;
YEvu1:
update_option("\167\x70\147\137{$vFsbw}", $TjwLi);
M9PLp:
DKpkm:
}
CCmiC:
if (isset($_POST["\163\141\x76\145\x42\x75\x74\164\x6f\156"])) {
goto ucF0O;
}
return;
goto bx8pM;
ucF0O:
if (!(get_option("\x77\x70\x67\x5f\144\x65\145\160\x6c\x5f\x61\160\151\137\153\145\x79") and !get_option("\167\x70\x67\137\x64\x65\145\x70\x6c\x54\x72\141\x6e\x73\x4c\141\x6e\147\x73"))) {
goto F3fv9;
}
WPGPlugin::translateDeeplUpdate();
F3fv9:
if (!(get_option("\x77\x70\x67\137\x79\141\x6e\x64\145\x78\117\x61\165\x74\x68") and !get_option("\x77\160\147\137\x79\141\156\144\145\x78\103\x6c\157\165\144\124\162\141\x6e\x73\x4c\x61\x6e\147\x73"))) {
goto najvg;
}
WPGPlugin::translateYandexCloudUpdate();
najvg:
if (!(get_option("\x77\160\x67\x5f\x67\157\157\147\154\145\x5f\x74\162\141\156\x73\154\141\164\x65\x5f\141\160\151\137\x6b\x65\x79") and !get_option("\167\x70\147\137\147\157\x6f\147\x6c\145\124\162\x61\x6e\163\114\141\156\x67\x73"))) {
goto GpoN0;
}
WPGPlugin::translateGoogleCloudUpdate();
GpoN0:
self::_adminNotice("\xd0\235\xd0\xb0\xd1\x81\321\x82\xd1\200\xd0\xbe\320\xb9\xd0\xba\320\xb8\x20\xd1\203\xd1\x81\320\277\320\265\321\x88\xd0\275\320\xbe\x20\321\201\xd0\xbe\321\205\321\200\xd0\xb0\xd0\xbd\xd0\265\xd0\xbd\321\213");
bx8pM:
GKgdQ:
$KmJUq = get_option("\x77\x70\x67\137\x74\x65\170\164\157\x72\157\x62\157\x74\101\160\151\113\x65\x79");
if (!$KmJUq) {
goto tswy3;
}
include_once WPGRABBER_PLUGIN_DIR . "\164\145\170\164\157\x72\x6f\142\x6f\x74\x2f\164\145\170\x74\157\x72\x6f\142\x6f\x74\101\160\151\56\160\x68\160";
$ruEOT = new TextorobotApi($KmJUq);
$eOcGP = $ruEOT->balance();
tswy3:
$I5JaB = get_option("\x77\160\147\137\164\x7a\x41\160\151\113\x65\x79");
if (!$I5JaB) {
goto wFC9x;
}
include_once WPGRABBER_PLUGIN_DIR . "\164\x7a\57\164\x7a\101\x70\151\56\x70\x68\160";
$ruEOT = new TzApi($I5JaB);
$RvLR1 = $ruEOT->balance();
wFC9x:
include_once WPGRABBER_PLUGIN_TPL_DIR . "\163\x65\x74\164\x69\156\x67\x73\x2e\x70\150\160";
self::_footer();
}
public static function adminDefaultPage()
{
return "\57\167\160\x2d\x61\x64\x6d\x69\156\57\x61\144\155\x69\x6e\56\x70\x68\x70\x3f\160\x61\x67\145\75\x77\x70\x67\x72\141\x62\142\x65\162\x2d\151\156\x64\x65\170";
}
protected static function _getUserLevel()
{
return wpgIsDemo() ? 0 : "\x75\x70\144\141\x74\x65\137\x63\157\x72\145";
}
protected static function _ifDemo($vFQ5A)
{
if (!(current_user_can("\x70\165\x62\154\151\x73\150\x5f\x70\157\x73\164\163") && current_user_can("\165\x70\144\141\164\145\x5f\x63\157\162\145"))) {
goto xJi70;
}
return false;
xJi70:
$LOV8o = array("\71\x30", "\x39\x31", "\x39\x32", "\x39\63", "\x39\64");
if (wpgIsDemo()) {
goto f1zVM;
}
return false;
f1zVM:
if (is_array($vFQ5A)) {
goto Til9s;
}
if (in_array($vFQ5A, array("\71\60", "\71\61", "\x39\x32", "\71\63", "\x39\x34"))) {
goto dD9Eo;
}
return false;
dD9Eo:
goto hrSlo;
Til9s:
$gEKCL = array_intersect($vFQ5A, $LOV8o);
if (count($gEKCL)) {
goto JKclS;
}
return false;
JKclS:
hrSlo:
self::_adminNotice("\xd0\xa2\xd0\265\321\x81\xd1\x82\xd0\xbe\320\xb2\xd1\213\xd0\xb5\40\320\273\xd0\265\xd0\xbd\xd1\202\xd1\x8b\40\xd0\xbd\320\xb5\40\320\xb2\320\xbe\320\xb7\xd0\274\320\276\320\xb6\320\xbd\320\276\x20\321\200\xd0\265\320\264\xd0\260\xd0\xba\321\x82\xd0\270\xd1\200\xd0\xbe\320\xb2\xd0\260\xd1\x82\321\214\x20\320\xb8\x20\xd1\203\xd0\264\xd0\xb0\xd0\273\321\x8f\321\202\321\x8c\40\320\xb2\40\x64\x65\155\157\x2d\xd1\200\320\xb5\xd0\266\xd0\xb8\xd0\xbc\320\265\41\40\320\225\321\201\320\xbb\xd0\270\x20\320\222\320\260\320\xbc\x20\xd0\xbd\321\203\320\xb6\xd0\275\320\276\x20\xd0\xb8\320\267\xd0\xbc\320\xb5\320\275\320\270\321\x82\321\x8c\40\320\273\320\xb5\320\xbd\xd1\202\xd1\203\x2c\x20\321\x81\320\272\xd0\xbe\xd0\277\xd0\270\321\x80\xd1\203\xd0\271\xd1\202\320\265\40\xd0\xb5\xd0\xb5\40\320\xb8\40\xd0\xbc\xd0\xb5\320\275\xd1\217\320\xb5\320\xb9\321\x82\320\xb5\x20\xd0\275\xd0\260\321\201\321\x82\xd1\200\320\xbe\320\271\320\272\xd0\xb8\x20\xd0\262\x20\320\272\320\xbe\320\xbf\320\xb8\xd0\270\x20\xd0\xbb\320\265\xd0\275\xd1\202\321\213\x21");
return true;
}
public static function setListOptions($hrdgG, $IQIrI, $TjwLi)
{
if (!($IQIrI == "\x77\x70\x67\162\x61\142\x62\x65\162\x5f\146\x65\145\144\163\x5f\160\x65\162\x5f\160\x61\x67\145")) {
goto tQ01G;
}
$TjwLi = intval($TjwLi);
return $TjwLi ? $TjwLi : 256;
tQ01G:
return $TjwLi;
}
protected static function _adminNotice($l_2Pu, $MMZ8O = "\165\x70\144\x61\164\145\x64")
{
echo "\40\x20\40\x20\x20\40\40\40\74\144\151\166\40\x63\x6c\141\x73\163\75\42";
echo $MMZ8O;
echo "\42\x3e\74\160\x3e";
echo $l_2Pu;
echo "\74\57\160\76\74\x2f\x64\151\x76\x3e";
}
public static function deletePost($Rx34n)
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$V7Csh = "\x53\105\114\105\x43\x54\40\52\xd\12\x20\x20\x20\x20\x20\40\40\x20\x46\x52\117\115\x20\x60" . $wpdb->prefix . "\167\160\x67\162\141\x62\142\x65\162\137\143\157\156\164\x65\156\164\140\xd\xa\40\40\x20\40\x20\x20\40\x20\x57\110\105\122\x45\x20\140\x63\157\156\x74\x65\x6e\x74\137\151\144\140\40\x3d\x20" . (int) $Rx34n;
$NHzJs = $wpdb->get_results($V7Csh, ARRAY_A);
if ($wpdb->last_error != '') {
goto od_fw;
}
if (!count($NHzJs)) {
goto YgidN;
}
foreach ($NHzJs as $ONRFA) {
$exs9D = $NHzJs["\x69\x6d\141\147\x65\163"];
if (!(trim($exs9D) == '')) {
goto plZE2;
}
goto r6NuK;
plZE2:
$exs9D = explode("\x2c", $exs9D);
if (!count($exs9D)) {
goto WXXyB;
}
foreach ($exs9D as $xEy3f) {
@unlink(ABSPATH . $xEy3f);
DfaWF:
}
st_gu:
WXXyB:
r6NuK:
}
JFnLr:
$V7Csh = "\x44\x45\x4c\x45\124\105\40\x46\x52\117\115\40\x60" . $wpdb->prefix . "\x77\160\147\x72\x61\x62\x62\145\x72\x5f\x63\x6f\x6e\164\x65\156\x74\x60\xd\12\40\40\40\40\40\x20\x20\40\40\x20\x20\40\127\110\105\122\x45\40\140\143\157\x6e\164\x65\x6e\x74\x5f\151\x64\140\40\75\x20" . (int) $Rx34n;
$wpdb->query($V7Csh);
if ($wpdb->last_error != '') {
goto ExeJn;
}
$XMf2s = get_posts(array("\x70\x6f\163\164\x5f\164\x79\160\145" => "\141\164\x74\141\143\x68\155\145\156\164", "\160\157\x73\164\163\137\160\145\x72\x5f\x70\141\147\x65" => -1, "\160\x6f\x73\x74\137\x73\164\x61\164\165\x73" => null, "\160\157\x73\164\x5f\160\141\x72\145\x6e\x74" => $Rx34n));
if (empty($XMf2s)) {
goto mlsxm;
}
foreach ($XMf2s as $ak5ok) {
wp_delete_attachment($ak5ok->ID);
cNpEV:
}
p6Rv9:
mlsxm:
goto yzgDq;
ExeJn:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
yzgDq:
YgidN:
goto OZqb9;
od_fw:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
OZqb9:
}
public static function clear()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_POST["\x72\x6f\x77\163"])) {
goto m1Aoi;
}
return false;
m1Aoi:
$NHzJs = array_map("\x69\x6e\164\x76\x61\x6c", $_POST["\x72\157\167\x73"]);
$V7Csh = "\123\x45\x4c\105\103\x54\x20\140\x63\157\x6e\x74\x65\x6e\x74\x5f\151\x64\x60\xd\12\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\40\x20\106\x52\117\x4d\x20\x60" . $wpdb->prefix . "\x77\160\147\162\141\x62\x62\x65\x72\137\143\157\156\164\x65\156\x74\x60\15\xa\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\40\40\x57\x48\x45\x52\105\x20\140\x66\x65\145\x64\137\x69\x64\x60\x20\x49\116\x20\50" . implode("\54", $NHzJs) . "\x29\15\xa\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\40\x41\x4e\x44\x20\140\143\x6f\156\x74\145\156\164\x5f\x69\x64\140\40\x3e\x20\60";
$CRNVl = $wpdb->get_col($V7Csh);
if ($wpdb->last_error != '') {
goto myijL;
}
if (!count($CRNVl)) {
goto ter1E;
}
foreach ($CRNVl as $epWDB) {
wp_delete_post($epWDB, true);
Q6bJS:
}
qxEAV:
ter1E:
$V7Csh = "\x44\105\114\105\x54\x45\40\106\122\117\115\40\140" . $wpdb->prefix . "\167\160\x67\x72\x61\x62\142\145\162\137\143\157\156\x74\145\x6e\x74\140\xd\12\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x57\x48\x45\x52\x45\40\140\x66\x65\x65\144\x5f\151\x64\x60\x20\x49\116\x20\50" . implode("\54", $NHzJs) . "\51\15\12\40\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x41\116\x44\40\x60\x63\157\x6e\164\x65\156\164\x5f\x69\x64\x60\x20\x3e\40\60";
$wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto Qzd1f;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Qzd1f:
self::_adminNotice("\320\243\xd1\x81\320\xbf\320\xb5\321\210\xd0\xbd\320\xbe\40\321\x83\320\xb4\xd0\xb0\320\273\320\265\xd0\xbd\xd0\xbe\40\xd0\xb7\xd0\260\xd0\xbf\320\xb8\321\x81\xd0\xb5\xd0\xb9\x3a\40" . (int) count($CRNVl));
goto Hi3Tq;
myijL:
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
Hi3Tq:
}
public static function execWPG($Rx34n, $czxv_ = false)
{
WPGErrorHandler::initPhpErrors();
$DtAtF = self::_getTGrabber();
if (!$czxv_) {
goto rbAGS;
}
$DtAtF->setTest();
rbAGS:
$DtAtF->execute($Rx34n);
echo "\74\x62\162\40\x2f\76\x3c\x62\x72\40\x2f\x3e\74\144\x69\166\x20\x69\144\x3d\42\x65\x63\x68\x6f\55\142\x6f\x78\x22\40\x73\x74\x79\x6c\145\75\x22\142\157\162\144\x65\162\x3a\x20\x31\160\170\x20\x73\x6f\x6c\x69\144\x20\x23\x63\141\x63\141\143\x61\73\x20\160\141\144\144\151\156\x67\72\x20\61\x30\160\170\73\x20\x62\141\x63\153\147\162\x6f\x75\156\x64\x3a\x23\x65\x35\145\65\145\65\x3b\x20\x6d\141\162\147\151\x6e\55\x72\x69\x67\150\164\72\40\x32\x30\x70\x78\73\42\x3e";
echo $DtAtF->getLog();
echo "\74\x2f\144\151\166\x3e";
}
public static function test($Rx34n)
{
self::execWPG($Rx34n, true);
}
private static function _getTGrabber()
{
if (wpgIsPro()) {
goto Z7NNa;
}
if (wpgIsStandard()) {
goto g4XOc;
}
if (wpgIsLite()) {
goto Gn3Ni;
}
$MMZ8O = "\124\x47\x72\141\x62\x62\145\162\127\x6f\162\144\120\x72\x65\163\163";
goto BFCyD;
Z7NNa:
$MMZ8O = "\124\x47\162\141\142\x62\x65\162\x57\157\x72\x64\x50\162\145\163\163\x50\x72\157";
goto BFCyD;
g4XOc:
$MMZ8O = "\124\107\162\x61\x62\x62\x65\162\x57\157\162\x64\120\162\x65\163\163\123\x74\x61\156\144\x61\x72\144";
goto BFCyD;
Gn3Ni:
$MMZ8O = "\124\x47\162\141\x62\x62\x65\x72\x57\157\x72\x64\120\x72\x65\x73\163\114\151\x74\x65";
BFCyD:
$nznMS = new $MMZ8O();
return $nznMS;
}
public static function save()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
$ONRFA = $_POST["\x72\157\x77"];
$Xvp_K = $_POST["\x70\141\x72\x61\155\x73"];
if (!count($Xvp_K["\x75\163\x72\145\x70\x6c"])) {
goto XbdHD;
}
foreach ($Xvp_K["\165\x73\162\145\x70\x6c"] as $TjwLi) {
if ($TjwLi["\x74\x79\160\x65"]) {
goto wWc9a;
}
goto kDnoN;
wWc9a:
$Xvp_K["\162\145\160\154\141\x63\145"][$TjwLi["\164\x79\160\145"]][] = $TjwLi;
kDnoN:
}
OkxXx:
XbdHD:
$Xvp_K = WPGHelper::strips($Xvp_K);
$ONRFA = WPGHelper::strips($ONRFA);
$ONRFA["\x70\141\162\141\155\163"] = base64_encode(serialize($Xvp_K));
$ONRFA["\151\x64"] = intval($ONRFA["\151\144"]);
if ($ONRFA["\151\x64"]) {
goto FiSB9;
}
$ONRFA["\151\x6e\x74\145\x72\x76\141\154"] = '';
$Cx9Np = $wpdb->insert($wpdb->prefix . "\x77\x70\147\162\x61\142\x62\145\x72", array("\156\x61\155\x65" => $ONRFA["\156\x61\155\145"], "\164\x79\160\x65" => $ONRFA["\x74\171\x70\x65"], "\165\x72\x6c" => $ONRFA["\x75\x72\154"], "\x6c\151\156\x6b\163" => $ONRFA["\x6c\151\x6e\x6b\163"], "\164\151\x74\x6c\x65" => $ONRFA["\164\x69\x74\154\x65"], "\164\x65\170\164\137\163\x74\x61\x72\x74" => $ONRFA["\x74\145\x78\164\137\163\x74\141\x72\x74"], "\x74\x65\170\164\x5f\x65\156\x64" => $ONRFA["\164\x65\170\164\137\x65\156\x64"], "\x72\163\x73\x5f\145\156\143\x6f\x64\151\156\147" => $ONRFA["\162\163\163\x5f\x65\x6e\143\157\144\x69\x6e\147"], "\x68\164\x6d\x6c\137\x65\156\143\x6f\144\151\x6e\147" => $ONRFA["\x68\164\155\154\x5f\145\156\143\157\x64\151\156\147"], "\x70\165\x62\154\x69\163\150\145\x64" => $ONRFA["\x70\x75\142\x6c\151\x73\150\145\144"], "\x70\141\162\141\155\163" => $ONRFA["\x70\x61\x72\x61\x6d\163"], "\x69\156\164\x65\162\166\x61\154" => $ONRFA["\x69\156\164\x65\162\x76\141\154"]));
if ($Cx9Np > 0) {
goto FP_ZB;
}
if (!($wpdb->last_error != '')) {
goto c3osW;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
c3osW:
self::_adminNotice("\xd0\x9e\321\210\320\xb8\320\xb1\xd0\272\xd0\xb0\40\xd1\x81\320\xbe\321\x85\xd1\200\320\260\xd0\275\320\265\320\xbd\xd0\270\xd1\217\40\xd0\xbb\320\265\xd0\xbd\321\202\321\x8b\x21", "\145\x72\x72\157\x72");
goto bRc9V;
FP_ZB:
self::_adminNotice("\xd0\x9b\320\xb5\xd0\xbd\321\202\320\260\x20\321\x83\321\x81\xd0\xbf\320\265\xd1\210\xd0\275\xd0\xbe\40\xd0\264\320\276\320\xb1\320\260\xd0\xb2\xd0\273\320\265\320\275\320\260");
return $wpdb->insert_id;
bRc9V:
goto ZbxVb;
FiSB9:
if (!self::_ifDemo($ONRFA["\x69\x64"])) {
goto QRFbp;
}
return null;
QRFbp:
$Cx9Np = $wpdb->update($wpdb->prefix . "\167\x70\147\162\x61\142\x62\x65\x72", array("\x6e\141\155\x65" => $ONRFA["\x6e\x61\155\145"], "\164\171\x70\145" => $ONRFA["\164\x79\x70\x65"], "\x75\x72\x6c" => $ONRFA["\x75\x72\154"], "\154\x69\x6e\x6b\163" => $ONRFA["\154\151\156\x6b\x73"], "\164\x69\164\154\145" => $ONRFA["\x74\151\164\154\x65"], "\164\x65\170\164\137\x73\164\141\x72\164" => $ONRFA["\x74\x65\x78\x74\x5f\x73\x74\141\162\x74"], "\x74\x65\170\x74\x5f\x65\x6e\144" => $ONRFA["\164\x65\x78\x74\137\x65\x6e\x64"], "\x72\x73\163\137\145\156\x63\157\144\x69\x6e\147" => $ONRFA["\x72\163\x73\137\145\x6e\x63\x6f\144\151\156\147"], "\x68\x74\155\x6c\x5f\x65\x6e\143\157\x64\151\156\147" => $ONRFA["\x68\x74\x6d\x6c\137\145\x6e\143\x6f\144\151\x6e\x67"], "\160\x75\x62\x6c\x69\163\150\145\x64" => $ONRFA["\160\x75\142\154\151\x73\150\145\144"], "\160\141\x72\x61\x6d\163" => $ONRFA["\x70\x61\162\141\155\163"], "\151\156\164\x65\x72\166\141\x6c" => isset($ONRFA["\151\x6e\164\145\162\166\x61\x6c"]) ? $ONRFA["\x69\x6e\164\145\162\166\141\154"] : 60), array("\151\144" => $ONRFA["\151\x64"]));
if ($Cx9Np > 0) {
goto gr5C7;
}
if ($Cx9Np === False) {
goto JIh_r;
}
self::_adminNotice("\117\x4b\54\x20\320\261\320\265\320\267\40\320\276\xd0\261\xd0\275\xd0\276\xd0\xb2\320\xbb\320\xb5\320\xbd\xd0\270\xd1\x8f");
goto Nw2qQ;
gr5C7:
self::_adminNotice("\xd0\233\320\xb5\xd0\275\321\202\xd0\xb0\40\321\203\321\201\320\xbf\320\xb5\321\x88\320\xbd\320\xbe\x20\320\xbe\xd0\261\320\xbd\320\xbe\320\262\320\xbb\xd0\265\xd0\275\xd0\260");
goto Nw2qQ;
JIh_r:
if (!($wpdb->last_error != '')) {
goto jYyMH;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
jYyMH:
self::_adminNotice("\320\x9e\xd1\210\320\xb8\320\xb1\xd0\xba\320\xb0\x20\xd1\x81\320\276\321\x85\321\200\320\260\320\xbd\320\265\xd0\275\xd0\xb8\xd1\217\40\xd0\xb8\320\267\320\274\320\xb5\xd0\xbd\320\xb5\320\xbd\xd0\xb8\xd0\271\x20\320\262\x20\320\273\xd0\265\320\xbd\xd1\x82\320\265\x21", "\145\162\162\x6f\162");
exit(var_dump($wpdb->last_query));
Nw2qQ:
return $ONRFA["\151\144"];
ZbxVb:
}
public static function del()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_POST["\162\157\167\x73"])) {
goto P2Idr;
}
return false;
P2Idr:
if (!self::_ifDemo($_POST["\162\157\167\x73"])) {
goto oBtX6;
}
return null;
oBtX6:
$NHzJs = array_map("\x69\156\x74\166\141\154", $_POST["\162\x6f\167\163"]);
$V7Csh = "\x44\105\114\105\124\105\x20\106\122\x4f\115\x20\140" . $wpdb->prefix . "\x77\160\147\162\141\142\x62\145\162\x60\xd\12\40\x20\x20\x20\40\x20\x20\x20\x57\110\105\x52\x45\x20\x69\x64\x20\111\x4e\x20\x28" . implode("\x2c", $NHzJs) . "\x29";
$Cx9Np = $wpdb->query($V7Csh);
if ($Cx9Np > 0) {
goto qO2Wx;
}
if (!($wpdb->last_error != '')) {
goto t8De8;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
t8De8:
self::_adminNotice("\xd0\236\321\210\xd0\270\xd0\261\xd0\272\xd0\260\40\321\203\320\xb4\320\260\xd0\xbb\320\265\320\275\320\xb8\xd1\217\40\320\273\xd0\xb5\320\275\321\202\x21", "\x65\162\x72\x6f\x72");
goto xB1Cm;
qO2Wx:
self::_adminNotice("\xd0\222\321\x8b\320\261\321\200\xd0\260\320\275\xd0\xbd\321\213\320\265\40\xd0\xbb\320\xb5\320\275\321\202\xd1\213\40\xd1\203\xd1\x81\320\xbf\320\xb5\321\210\320\275\320\276\x20\321\x83\320\xb4\xd0\xb0\320\xbb\320\xb5\xd0\275\xd1\213\x21");
xB1Cm:
}
public static function copy()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!empty($_REQUEST["\x72\x6f\x77\x73"])) {
goto Z3XDi;
}
self::_adminNotice("\320\x9d\xd0\265\40\320\xb2\xd1\x8b\xd0\xb1\321\x80\320\260\320\275\320\275\321\x8b\40\320\xbb\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b\40\320\xb4\320\xbb\xd1\x8f\x20\xd0\272\xd0\276\xd0\277\320\xb8\xd1\200\xd0\276\320\xb2\320\260\xd0\xbd\320\270\xd1\x8f", "\x65\x72\162\157\162");
return false;
Z3XDi:
$NHzJs = array_map("\x69\x6e\x74\166\x61\x6c", $_REQUEST["\162\157\167\163"]);
$V7Csh = "\x53\105\x4c\x45\x43\x54\x20\140\156\141\155\145\140\x2c\x20\140\x74\171\160\145\x60\x2c\x20\x60\165\162\x6c\x60\54\40\140\154\x69\156\x6b\x73\x60\54\40\x60\164\151\164\x6c\x65\140\x2c\x20\x60\x74\x65\170\164\137\x73\164\x61\162\164\x60\x2c\xd\12\40\40\40\40\40\40\x20\40\x20\x20\x60\x74\145\170\164\137\145\156\144\140\x2c\40\x60\162\x73\163\x5f\x65\x6e\x63\157\144\x69\156\147\x60\x2c\40\x60\150\x74\x6d\x6c\137\145\156\x63\x6f\x64\151\x6e\x67\140\x2c\40\140\160\x75\x62\x6c\151\x73\150\145\144\140\x2c\xd\12\x20\x20\x20\x20\x20\40\40\x20\x20\x20\140\x70\x61\162\141\155\x73\140\x2c\40\x60\151\156\164\145\x72\x76\141\154\x60\15\xa\40\x20\40\40\40\x20\40\40\x46\x52\117\x4d\x20\x60" . $wpdb->prefix . "\167\160\147\162\x61\142\x62\x65\x72\140\15\12\40\40\x20\40\x20\x20\x20\40\127\110\x45\122\x45\x20\151\x64\40\x49\116\x20\x28" . implode("\x2c", $NHzJs) . "\51";
$NHzJs = $wpdb->get_results($V7Csh, "\101\x52\x52\x41\x59\137\x41");
if (!($wpdb->last_error != '')) {
goto IUuIm;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
IUuIm:
if (!(!count($NHzJs) and !is_array($NHzJs))) {
goto i_RIB;
}
self::_adminNotice("\320\236\xd1\210\320\xb8\xd0\xb1\320\272\xd0\xb0\40\xd0\xb2\321\x8b\320\261\320\276\xd1\x80\320\xba\320\270\x20\xd1\x81\320\277\xd0\xb8\xd1\x81\xd0\xba\xd0\260\40\320\273\320\265\320\275\xd1\202\x20\320\270\320\xb7\x20\xd0\261\320\xb0\320\267\xd1\213", "\x65\x72\162\x6f\x72");
i_RIB:
$mTmFW = $lzZ5s = 0;
foreach ($NHzJs as $ONRFA) {
$Y2tmZ = array();
$lXAsb = array();
$ONRFA["\156\x61\x6d\x65"] = "\xd0\232\xd0\276\xd0\xbf\320\xb8\xd1\x8f\40" . $ONRFA["\x6e\141\155\x65"];
$Cx9Np = $wpdb->insert($wpdb->prefix . "\x77\x70\x67\162\x61\x62\x62\x65\x72", $ONRFA);
if (!($wpdb->last_error != '')) {
goto EdDBv;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
EdDBv:
if ($Cx9Np > 0) {
goto fBq1G;
}
$lzZ5s++;
goto fDVLo;
fBq1G:
$mTmFW++;
fDVLo:
fUq2P:
}
UzcFj:
self::_adminNotice("\320\xa1\xd0\272\xd0\276\320\277\xd0\xb8\321\x80\xd0\276\320\262\xd0\260\320\xbd\xd0\xbe\x20\xd0\xbb\320\265\320\275\321\x82\x3a\x20" . (int) $mTmFW . "\x2c\x20\320\xbe\xd1\210\xd0\xb8\320\xb1\xd0\xbe\320\272\x3a\40" . (int) $lzZ5s);
}
public function export()
{
global $wpdb;
if (!(isset($_REQUEST["\141\x63\164\151\157\x6e"]) and $_REQUEST["\141\x63\x74\151\x6f\156"] != "\x65\x78\x70\x6f\x72\x74")) {
goto ruju0;
}
return false;
ruju0:
if (!(isset($_POST["\x72\x6f\167\163"]) and $_POST["\162\157\x77\x73"])) {
goto Bozuc;
}
if (!(isset($_REQUEST["\x61\143\x74\151\x6f\x6e"]) and $_REQUEST["\141\x63\164\x69\x6f\x6e"] == "\x2d\x31")) {
goto dhejb;
}
$_REQUEST["\141\x63\164\x69\x6f\156"] = $_REQUEST["\141\143\164\151\157\x6e\x32"];
dhejb:
Bozuc:
if (!empty($_POST["\162\157\167\x73"])) {
goto ONlLZ;
}
return false;
ONlLZ:
WPGErrorHandler::initPhpErrors();
$NHzJs = array_map("\151\156\164\x76\141\x6c", $_POST["\x72\157\167\163"]);
$V7Csh = "\123\x45\114\x45\103\x54\x20\x60\156\x61\x6d\x65\140\x2c\40\140\x74\171\x70\145\x60\54\40\140\x75\162\x6c\x60\x2c\40\140\154\x69\x6e\153\163\140\x2c\x20\x60\x74\x69\164\x6c\145\140\54\xd\12\40\40\40\x20\x20\40\x20\x20\x20\40\140\164\x65\170\x74\137\163\164\141\x72\x74\140\54\40\140\x74\145\x78\x74\137\145\156\x64\140\x2c\x20\140\162\163\x73\x5f\x65\x6e\x63\x6f\144\x69\x6e\147\140\54\40\x60\x68\x74\x6d\154\x5f\145\156\x63\157\x64\x69\156\147\140\54\15\12\40\40\40\x20\x20\x20\40\x20\x20\40\140\160\165\142\154\x69\163\x68\145\144\140\54\x20\140\x70\141\x72\x61\x6d\x73\x60\x2c\x20\x60\x69\156\164\145\x72\x76\141\x6c\x60\xd\xa\40\40\40\40\x20\x20\40\x20\x46\x52\x4f\115\40\140" . $wpdb->prefix . "\x77\x70\147\162\x61\142\142\x65\x72\140\xd\12\40\40\40\x20\x20\x20\40\40\x57\x48\x45\122\x45\x20\151\144\40\111\116\x20\50" . implode("\54", $NHzJs) . "\51";
$NHzJs = $wpdb->get_results($V7Csh, ARRAY_A);
if (!($wpdb->last_error != '')) {
goto YOy8k;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
YOy8k:
if (is_array($NHzJs) and count($NHzJs)) {
goto lv6cZ;
}
self::_adminNotice("\320\236\321\210\xd0\270\xd0\261\320\xba\320\xb0\40\xd0\xb2\xd1\x8b\320\261\320\276\321\200\xd0\xba\320\270\40\xd1\201\320\277\xd0\270\xd1\x81\xd0\272\xd0\xb0\40\320\xbb\320\xb5\320\275\xd1\202\40\xd0\xb8\320\xb7\x20\320\261\320\260\320\267\321\213", "\145\162\162\157\162");
return false;
goto Udxh1;
lv6cZ:
$fQZGl = array();
foreach ($NHzJs as $ONRFA) {
if (!count($ONRFA)) {
goto Md5gv;
}
$TnSmn = '';
foreach ($ONRFA as $vFsbw => $TjwLi) {
$TnSmn .= "\x9\11\x3c{$vFsbw}\76\74\x21\x5b\103\x44\x41\124\101\133{$TjwLi}\x5d\x5d\x3e\x3c\x2f{$vFsbw}\x3e\12";
ztxVs:
}
pVtrk:
$fQZGl[] = $TnSmn;
Md5gv:
PK3Dh:
}
za2sy:
if (count($fQZGl)) {
goto W5WNi;
}
self::_adminNotice("\xd0\236\321\x88\320\xb8\xd0\261\320\272\xd0\260\40\xd1\201\320\xb1\320\xbe\xd1\x80\320\260\x20\320\273\xd0\xb5\xd0\xbd\xd1\202", "\x65\x72\162\x6f\x72");
return;
W5WNi:
foreach ($fQZGl as $cxqmP) {
$WO0XZ .= "\11\74\x66\x65\x65\144\x3e\12{$cxqmP}\11\x3c\57\x66\145\x65\144\x3e\xa";
uNeBr:
}
SPPBF:
$WO0XZ = "\74\77\170\155\x6c\40\x76\145\162\163\151\x6f\156\75\x22\61\x2e\x30\x22\x20\x65\156\x63\x6f\144\x69\x6e\147\75\x22\x75\164\146\55\x38\42\x20\77\x3e\xa\x3c\x66\145\145\x64\x73\40\167\x70\x67\143\157\x72\x65\x3d\42" . WPGRABBER_CORE_VERSION . "\x22\76\12{$WO0XZ}\74\x2f\x66\x65\x65\144\163\76";
header("\x43\x6f\x6e\164\145\156\x74\55\x74\x79\160\145\72\40\164\145\170\164\57\170\155\154");
header("\x43\x6f\x6e\x74\145\156\164\x2d\104\x69\x73\160\x6f\163\151\164\151\157\156\x3a\40\141\164\x74\x61\x63\x68\x6d\145\x6e\164\73\40\146\x69\x6c\x65\156\141\x6d\x65\75\145\170\160\157\162\x74\56\x78\x6d\x6c");
echo $WO0XZ;
self::_destroy();
exit;
Udxh1:
}
public static function import()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!$_FILES["\146\151\154\145"]) {
goto b2R7o;
}
$LwMD1 = file_get_contents($_FILES["\x66\x69\154\x65"]["\164\155\x70\x5f\x6e\x61\155\x65"]);
if (!(trim($LwMD1) == '')) {
goto ldH0j;
}
self::_adminNotice("\320\237\321\203\321\x81\321\202\320\276\320\xb9\40\x58\115\114\55\xd1\204\320\xb0\320\271\320\xbb", "\145\x72\x72\x6f\x72");
return;
ldH0j:
$WO0XZ = simplexml_load_string($LwMD1);
$kxUk4 = isset($WO0XZ["\167\x70\x67\x63\157\162\145"]) ? (string) $WO0XZ["\167\x70\147\143\157\162\145"] : "\x33\56\x30\56\x31";
if (count($WO0XZ->feed)) {
goto zP_gW;
}
self::_adminNotice("\xd0\x94\320\260\320\xbd\320\xbd\321\x8b\xd1\x85\x20\320\264\320\273\xd1\217\40\xd0\270\320\xbc\320\277\320\276\xd1\x80\xd1\x82\xd0\260\x20\xd0\273\xd0\xb5\xd0\xbd\321\x82\x20\xd0\262\x20\130\x4d\x4c\55\xd1\204\320\260\xd0\xb9\320\xbb\xd0\265\x20\xd0\275\xd0\265\x20\xd0\xbe\xd0\261\xd0\xbd\xd0\260\xd1\x80\321\x83\xd0\xb6\320\265\320\275\xd0\xbe", "\145\x72\162\x6f\162");
return;
zP_gW:
foreach ($WO0XZ->feed as $cxqmP) {
$jvnP7 = array();
foreach ($cxqmP->children() as $HyKHm) {
$vFsbw = $HyKHm->getName();
if (!($vFsbw !== '' and WPGWordPressDB::isField($wpdb->prefix . "\x77\160\x67\x72\x61\x62\142\145\x72", $vFsbw))) {
goto xD08C;
}
$jvnP7[$vFsbw] = (string) $cxqmP->{$vFsbw};
xD08C:
ecs98:
}
SgfOB:
if (empty($jvnP7)) {
goto eIyrq;
}
$fQZGl[] = $jvnP7;
eIyrq:
Df1ag:
}
BMz2R:
if (count($fQZGl)) {
goto qz0q9;
}
self::_adminNotice("\xd0\x94\xd0\xb0\320\xbd\xd0\xbd\xd1\x8b\xd1\x85\x20\320\xb4\320\xbb\xd1\x8f\40\xd0\270\320\274\xd0\277\xd0\276\321\200\xd1\x82\xd0\xb0\40\320\273\320\265\xd0\275\xd1\202\x20\320\xb2\40\x58\115\x4c\55\321\204\xd0\260\xd0\271\320\273\xd0\265\40\320\275\xd0\265\x20\xd0\xbe\320\261\320\xbd\xd0\260\321\200\321\203\xd0\xb6\xd0\xb5\320\xbd\xd0\xbe", "\x65\x72\x72\157\162");
return;
qz0q9:
foreach ($fQZGl as $cxqmP) {
$Cx9Np = $wpdb->insert($wpdb->prefix . "\167\160\x67\162\x61\x62\142\x65\162", $cxqmP);
if (!($wpdb->last_error != '')) {
goto TWEMN;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
TWEMN:
if ($Cx9Np > 0) {
goto g49QW;
}
$olAEm++;
goto Z8HXZ;
g49QW:
$bd_sb++;
Z8HXZ:
kOTeb:
}
S2y39:
self::_adminNotice("\320\243\321\x81\xd0\277\xd0\xb5\xd1\x88\xd0\xbd\xd0\276\40\xd0\270\xd0\xbc\xd0\xbf\xd0\276\xd1\x80\xd1\202\320\xb8\321\200\320\276\320\262\xd0\260\320\xbd\xd0\xbe\x3a\40" . (int) $bd_sb . "\40\320\xbb\320\xb5\xd0\xbd\321\x82\54\40\xd0\xb2\321\x8b\321\x8f\xd0\262\xd0\xbb\xd0\265\320\xbd\320\276\40\320\xbe\xd1\210\xd0\270\320\261\xd0\276\xd0\xba\72\x20" . (int) $olAEm);
b2R7o:
include_once WPGRABBER_PLUGIN_TPL_DIR . "\151\155\160\x6f\162\x74\56\x70\x68\x70";
self::_footer();
}
public static function on()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!isset($_REQUEST["\x72\157\167\163"])) {
goto DBSfm;
}
$NHzJs = array_map("\151\156\164\166\141\154", $_REQUEST["\x72\x6f\x77\163"]);
$V7Csh = "\x55\120\x44\101\124\x45\40\140" . $wpdb->prefix . "\x77\x70\147\x72\141\142\x62\x65\162\140\15\xa\40\40\40\40\x20\40\x20\x20\x20\40\x53\x45\124\x20\x70\165\142\x6c\151\x73\x68\x65\x64\40\x3d\x20\61\xd\xa\40\x20\x20\40\x20\40\40\40\40\40\127\110\105\x52\105\x20\x69\x64\40\x49\x4e\40\50" . implode("\x2c", $NHzJs) . "\x29";
$Cx9Np = $wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto fCiY2;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
fCiY2:
if (!($Cx9Np > 0)) {
goto k7AMV;
}
self::_adminNotice("\320\222\321\x8b\xd0\261\xd1\200\320\260\320\xbd\xd0\xbd\xd1\x8b\xd0\xb5\x20\320\273\320\265\xd0\xbd\321\x82\321\213\x20\xd1\x83\xd1\x81\320\277\320\265\xd1\210\xd0\275\320\276\x20\320\xb2\320\xba\320\xbb\321\216\xd1\x87\xd0\xb5\320\xbd\321\213");
return true;
k7AMV:
DBSfm:
self::_adminNotice("\320\236\321\210\xd0\270\xd0\xb1\320\xba\xd0\xb0\40\320\xb2\xd0\xba\320\273\xd1\216\xd1\x87\320\xb5\320\275\xd0\270\321\217\40\320\xb2\xd1\213\320\261\321\x80\xd0\260\320\275\320\xbd\321\213\321\205\x20\320\xbb\320\265\xd0\275\xd1\x82\x21", "\x65\162\x72\157\x72");
return false;
}
public static function off()
{
global $wpdb;
WPGErrorHandler::initPhpErrors();
if (!isset($_REQUEST["\x72\157\167\x73"])) {
goto t7ujx;
}
$NHzJs = array_map("\x69\x6e\x74\x76\x61\x6c", $_REQUEST["\x72\157\167\163"]);
$V7Csh = "\x55\x50\104\x41\x54\105\40\x60" . $wpdb->prefix . "\167\x70\x67\162\x61\x62\142\x65\x72\x60\xd\12\40\x20\40\40\40\x20\x20\40\40\x20\123\105\x54\40\160\165\x62\154\151\163\x68\145\x64\40\x3d\40\60\xd\xa\x20\x20\x20\x20\x20\x20\x20\40\40\x20\127\110\x45\x52\x45\x20\151\x64\40\111\116\40\x28" . implode("\x2c", $NHzJs) . "\51";
$Cx9Np = $wpdb->query($V7Csh);
if (!($wpdb->last_error != '')) {
goto U2Yzd;
}
WPGErrorHandler::add($wpdb->last_error, __FILE__, __LINE__);
U2Yzd:
if (!($Cx9Np > 0)) {
goto jrK0D;
}
self::_adminNotice("\320\x92\xd1\x8b\320\261\321\x80\xd0\260\320\275\320\275\xd1\213\320\265\x20\320\273\xd0\xb5\xd0\275\321\202\321\213\x20\xd1\203\321\x81\320\277\xd0\265\xd1\x88\xd0\275\xd0\xbe\40\xd0\xb2\321\x8b\320\xba\xd0\xbb\321\216\xd1\x87\320\265\xd0\xbd\xd1\x8b");
return true;
jrK0D:
t7ujx:
self::_adminNotice("\320\x9e\xd1\x88\xd0\xb8\xd0\xb1\320\272\320\xb0\40\320\xb2\xd1\213\320\xba\xd0\xbb\321\x8e\xd1\207\320\xb5\xd0\xbd\xd0\270\xd1\x8f\x20\xd0\xb2\xd1\213\xd0\261\321\200\320\xb0\xd0\xbd\xd0\275\321\213\321\205\40\xd0\xbb\xd0\265\320\xbd\321\202\41", "\x65\x72\162\x6f\162");
return false;
}
public static function ajaxExecTz()
{
global $wpdb;
ob_start();
$Cx9Np = array("\x70\x69\144" => '', "\x73\164\141\x74\165\x73" => 0, "\145\162\162\x6f\162" => '', "\x6c\157\147" => '', `end` => 0);
$Rx34n = !empty($_REQUEST["\x69\144"]) ? (int) $_REQUEST["\151\x64"] : 0;
$VN4on = !empty($_REQUEST["\x70\151\x64"]) ? $_REQUEST["\160\x69\x64"] : null;
$AszLg = !empty($_REQUEST["\x74\145\163\164"]);
$Eby3I = cron_tz($Rx34n);
$Cx9Np["\145\156\144"] = $Eby3I["\x65\x6e\x64"];
$Cx9Np["\145\x72\x72\x6f\162"] = $Eby3I["\145\162\162\x6f\162"];
$Cx9Np["\163\x74\141\x74\x75\x73"] = $Eby3I["\x73\165\143\143\x65\x73\x73"];
$bA2q6 = ob_get_clean();
if (!$bA2q6) {
goto ZIlEK;
}
$Cx9Np["\154\x6f\147"] .= "\74\x70\40\163\x74\x79\154\x65\75\42\143\157\154\157\x72\x3a\x20\x72\145\144\73\42\x3e" . $bA2q6 . "\x3c\x2f\x70\76";
ZIlEK:
echo json_encode($Cx9Np);
exit;
}
public static function ajaxExec()
{
ob_start();
WPGErrorHandler::initPhpErrors();
$Cx9Np = array("\160\x69\144" => '', "\x73\x74\x61\x74\x75\x73" => 0, "\x65\162\x72\x6f\x72" => '', "\154\x6f\147" => '');
$Rx34n = !empty($_REQUEST["\x69\x64"]) ? (int) $_REQUEST["\x69\x64"] : 0;
$VN4on = !empty($_REQUEST["\160\x69\144"]) ? $_REQUEST["\x70\151\x64"] : null;
$AszLg = !empty($_REQUEST["\x74\145\x73\164"]);
if (get_option("\x77\160\147\x5f\x75\x73\145\124\162\141\156\163\141\143\164\151\x6f\x6e\x4d\x6f\x64\x65\x6c")) {
goto GgGp8;
}
$DtAtF = self::_getTGrabber();
if (!$AszLg) {
goto NniRu;
}
$DtAtF->setTest();
NniRu:
$DtAtF->execute($Rx34n);
$Cx9Np["\x6c\x6f\x67"] = $DtAtF->getLog();
$Cx9Np["\163\164\x61\164\165\163"] = 1;
goto z0fNY;
GgGp8:
if (session_id()) {
goto VVpXS;
}
session_start();
VVpXS:
if ($VN4on === null) {
goto d7cpx;
}
$sQeq5 = false;
if (!isset($_SESSION[$VN4on]["\x67\x72\141\x62\142\145\162"])) {
goto CPToM;
}
$DtAtF = @unserialize($_SESSION[$VN4on]["\147\x72\x61\x62\142\145\x72"]);
if (!is_object($DtAtF)) {
goto ukSI0;
}
$sQeq5 = $DtAtF->execute($Rx34n);
$Cx9Np["\154\157\147"] = $DtAtF->getLog();
ukSI0:
CPToM:
goto Spx9I;
d7cpx:
$VN4on = md5(microtime(true) . rand(0, 100));
DzSpW:
if (!isset($_SESSION[$VN4on])) {
goto U0rwk;
}
$VN4on = md5(microtime(true) . rand(0, 100));
goto DzSpW;
U0rwk:
$_SESSION[$VN4on]["\144\x61\164\x65\137\141\x64\144"] = time();
$DtAtF = self::_getTGrabber();
if (!$AszLg) {
goto qdUOx;
}
$DtAtF->setTest();
qdUOx:
$DtAtF->setTransactionModel();
$sQeq5 = $DtAtF->execute($Rx34n);
$Cx9Np["\x6c\x6f\147"] = $DtAtF->getLog();
Spx9I:
if (is_object($sQeq5)) {
goto ADsBt;
}
if ($sQeq5 === true) {
goto G3ib8;
}
$Cx9Np["\x73\164\x61\x74\165\x73"] = 2;
$Cx9Np["\145\x72\x72\x6f\162"] = "\141\152\x61\x78\105\x78\x65\143\72\x3a\320\241\320\261\xd0\276\xd0\xb9\40\xd1\201\320\xb5\xd1\200\xd0\xb2\320\265\321\x80\xd0\xb0";
goto UR1au;
G3ib8:
$Cx9Np["\163\x74\x61\164\x75\x73"] = 1;
UR1au:
unset($_SESSION[$VN4on]);
goto B80k9;
ADsBt:
$Cx9Np["\160\151\144"] = $VN4on;
$_SESSION[$VN4on]["\147\162\141\142\142\x65\x72"] = serialize($sQeq5);
B80k9:
z0fNY:
$bA2q6 = ob_get_clean();
if (!$bA2q6) {
goto K6nHJ;
}
$Cx9Np["\154\x6f\x67"] .= "\x3c\x70\x20\x73\x74\171\154\x65\x3d\x22\x63\157\154\157\x72\x3a\x20\x72\145\144\x3b\x22\76" . $bA2q6 . "\74\57\x70\x3e";
K6nHJ:
echo json_encode($Cx9Np);
exit;
}
public static function getErrorLogFile()
{
WPGErrorHandler::initPhpErrors();
$fEfjd = "\167\x70\147\x5f\145\162\x72\157\x72\x5f\x6c\x6f\x67\56\164\170\164";
$XD9s2 = WPGErrorHandler::getTxtLog();
header("\103\157\x6e\x74\145\x6e\x74\55\x74\x79\x70\145\72\40\164\145\170\164\57\160\x6c\x61\x69\x6e");
header("\103\157\x6e\x74\145\156\x74\x2d\114\145\x6e\x67\164\150\x3a\x20" . strlen($XD9s2));
header("\x43\x61\x63\150\145\x2d\103\x6f\156\164\162\x6f\154\x3a\x20\156\157\x2d\x63\x61\x63\x68\x65\54\x20\155\165\163\x74\x2d\x72\x65\x76\x61\154\x69\x64\x61\x74\145");
header("\120\x72\141\x67\x6d\x61\72\x20\156\x6f\55\x63\141\x63\x68\145");
echo $XD9s2;
exit;
}
public static function deactivateAndClear()
{
global $wpdb;
deactivate_plugins(plugin_basename(WPGRABBER_PLUGIN_FILE));
$qa3pX[] = "\x44\x52\117\x50\x20\124\101\102\114\105\x20" . $wpdb->prefix . "\167\x70\147\x72\x61\x62\142\x65\x72";
$qa3pX[] = "\104\x52\x4f\x50\40\x54\101\x42\x4c\105\x20" . $wpdb->prefix . "\x77\160\147\162\141\142\x62\x65\162\x5f\143\157\156\164\145\156\x74";
$qa3pX[] = "\104\122\x4f\120\x20\x54\101\102\114\105\x20" . $wpdb->prefix . "\x77\x70\x67\162\x61\x62\x62\x65\162\137\145\162\x72\x6f\162\x73";
$qa3pX[] = "\104\105\114\x45\124\x45\40\x46\x52\117\x4d\40" . $wpdb->prefix . "\157\x70\164\151\157\156\x73\40\x57\110\x45\x52\105\x20\x6f\160\164\x69\157\156\137\156\x61\x6d\145\40\114\x49\x4b\105\x20\x27\x77\x70\x67\137\x25\47";
foreach ($qa3pX as $V7Csh) {
$wpdb->query($V7Csh);
KlS99:
}
y5264:
wp_redirect(admin_url("\160\x6c\165\147\x69\156\x73\x2e\x70\150\x70"));
}
}
Function Calls
None |
Stats
MD5 | 02b3df3b7e76bf138c2ac564dc1384f1 |
Eval Count | 0 |
Decode Time | 95 ms |