Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace MoSharePointObjectSync\Controller; use MoSharePointObjectSync\Wrap..
Decoded Output download
<?php
namespace MoSharePointObjectSync\Controller;
use MoSharePointObjectSync\Wrappers\wpWrapper;
class adminController
{
private static $instance;
public static function getController()
{
if (isset(self::$instance)) {
goto DZ;
}
$E4 = __CLASS__;
self::$instance = new $E4();
DZ:
return self::$instance;
}
public function mo_sps_admin_controller()
{
if (!(!current_user_can("administrator") || !isset($_POST["mo_sps_tab"]) || !isset($_POST["option"]))) {
goto of;
}
return;
of:
$h8 = sanitize_text_field($_POST["mo_sps_tab"]);
$Lq = self::getController();
switch ($h8) {
case "app_config":
$Lq = appConfig::getController();
goto k6;
case "account_setup":
$Lq = accountSetup::getController();
goto k6;
case "sharepoint_doc_sync":
$Lq = mediaLibrarySync::getController();
goto k6;
case "adv_config":
$Lq = advanceSettings::getController();
goto k6;
}
Qx:
k6:
$Lq->mo_sps_save_settings();
}
private function mo_sps_save_settings()
{
echo esc_html_e("It seems class is incomplete. Please check if you've installed the plugin correctly.");
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace MoSharePointObjectSync\Controller;
use MoSharePointObjectSync\Wrappers\wpWrapper;
class adminController
{
private static $instance;
public static function getController()
{
if (isset(self::$instance)) {
goto DZ;
}
$E4 = __CLASS__;
self::$instance = new $E4();
DZ:
return self::$instance;
}
public function mo_sps_admin_controller()
{
if (!(!current_user_can("\141\x64\x6d\x69\x6e\151\163\x74\x72\x61\164\x6f\162") || !isset($_POST["\x6d\x6f\x5f\163\160\x73\137\164\x61\x62"]) || !isset($_POST["\157\160\164\151\x6f\156"]))) {
goto of;
}
return;
of:
$h8 = sanitize_text_field($_POST["\155\x6f\137\x73\160\x73\x5f\x74\x61\142"]);
$Lq = self::getController();
switch ($h8) {
case "\x61\x70\x70\x5f\143\157\x6e\x66\151\147":
$Lq = appConfig::getController();
goto k6;
case "\141\143\143\x6f\x75\156\x74\x5f\163\145\164\x75\160":
$Lq = accountSetup::getController();
goto k6;
case "\x73\150\x61\x72\x65\x70\157\151\156\x74\137\x64\x6f\143\137\163\x79\x6e\x63":
$Lq = mediaLibrarySync::getController();
goto k6;
case "\x61\x64\x76\137\143\x6f\x6e\x66\x69\147":
$Lq = advanceSettings::getController();
goto k6;
}
Qx:
k6:
$Lq->mo_sps_save_settings();
}
private function mo_sps_save_settings()
{
echo esc_html_e("\111\164\40\163\x65\x65\x6d\163\x20\143\154\x61\163\163\40\x69\163\40\x69\x6e\143\x6f\x6d\160\154\145\x74\145\56\40\x50\154\145\x61\x73\145\40\143\150\145\x63\x6b\x20\x69\x66\40\x79\x6f\x75\x27\166\145\x20\x69\x6e\x73\x74\x61\154\x6c\145\x64\x20\164\150\145\40\160\154\x75\x67\151\x6e\40\143\157\x72\x72\145\x63\x74\154\x79\x2e");
}
}
Function Calls
None |
Stats
MD5 | 5a044378fa17ec84084123a13104c8d0 |
Eval Count | 0 |
Decode Time | 46 ms |