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\API; use MoSharePointObjectSync\Wrappers\pl..

Decoded Output download

<?php 
 
 
namespace MoSharePointObjectSync\API; 
 
use MoSharePointObjectSync\Wrappers\pluginConstants; 
use MoSharePointObjectSync\Wrappers\wpWrapper; 
class SharePoint 
{ 
    private static $obj; 
    private $endpoints; 
    private $config; 
    private $scope = "https://graph.microsoft.com/.default"; 
    private $access_token; 
    private $handler; 
    private function __construct($nb) 
    { 
        $this->config = $nb; 
        $this->handler = Authorization::getController(); 
    } 
    public static function getClient($nb) 
    { 
        if (isset(self::$obj)) { 
            goto Aa; 
        } 
        self::$obj = new SharePoint($nb); 
        self::$obj->setEndpoints(); 
        Aa: 
        return self::$obj; 
    } 
    private function setEndpoints() 
    { 
        $this->endpoints["token"] = "https://login.microsoftonline.com/" . $this->config["tenant_id"] . "/oauth2/v2.0/token"; 
        $this->endpoints["sps_common_token"] = "https://login.microsoftonline.com/common/oauth2/token"; 
        $this->endpoints["sites"] = "https://graph.microsoft.com/v1.0/sites?search=*&$select=id,displayName"; 
        $this->endpoints["drives"] = "https://graph.microsoft.com/v1.0/sites/%s/drives"; 
        $this->endpoints["docs"] = "https://graph.microsoft.com/v1.0/drives/%s/root/children"; 
        $this->endpoints["folder_items"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s/children"; 
        $this->endpoints["file_thumbnails"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s/thumbnails"; 
        $this->endpoints["file_preview"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s/preview"; 
        $this->endpoints["search_folderitems"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s/search(q='%s')"; 
        $this->endpoints["search_driveitems"] = "https://graph.microsoft.com/v1.0/drives/%s/search(q='%s')"; 
        $this->endpoints["upload_items"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s:/%s:/createUploadSession"; 
        $this->endpoints["download_items"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s/content"; 
        $this->endpoints["download_files"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s"; 
        $this->endpoints["file_item"] = "https://graph.microsoft.com/v1.0/drives/%s/items/%s"; 
        $this->endpoints["personal_drives"] = "https://graph.microsoft.com/v1.0/users/%s/drives"; 
    } 
    public function mo_sps_get_new_access_token() 
    { 
        $mj = "manual"; 
        if ($mj == "manual") { 
            goto vP; 
        } 
        $W4 = $this->handler->mo_sps_get_access_token_using_authorization_code($this->endpoints, $this->config, $this->scope); 
        goto US; 
        vP: 
        $W4 = $this->handler->mo_sps_get_access_token_using_client_credentials($this->endpoints, $this->config, $this->scope); 
        US: 
        $this->access_token = $W4; 
        if (!$W4["status"]) { 
            goto tH; 
        } 
        $zP = ["Authorization" => "Bearer " . $this->access_token["data"]]; 
        return $this->access_token["data"]; 
        tH: 
        return false; 
    } 
    public function mo_sps_get_all_sites() 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        $PN = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG); 
        if ($d0) { 
            goto Zo; 
        } 
        return $this->access_token; 
        Zo: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        if (isset($PN["site_url"]) && $PN["site_url"] != '') { 
            goto GA; 
        } 
        $EA = $this->endpoints["sites"]; 
        goto cA; 
        GA: 
        $EA = $PN["site_url"]; 
        $PX = parse_url($EA); 
        $mm = explode("/", $PX["host"]); 
        $VH = "https://graph.microsoft.com/v1.0/sites/" . $PX["host"] . ":" . $PX["path"] . "?search=*&$select=id,displayName"; 
        $EA = $VH; 
        cA: 
        $W4 = $this->handler->mo_sps_get_request($EA, $zP); 
        return $W4; 
    } 
    public function mo_sps_get_all_drives($GN) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto gS; 
        } 
        return $this->access_token; 
        gS: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["drives"], $GN), $zP); 
        return $W4; 
    } 
    public function mo_sps_get_all_personal_drives($Sc) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto cT; 
        } 
        return $this->access_token; 
        cT: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["personal_drives"], $Sc), $zP); 
        return $W4; 
    } 
    public function mo_sps_get_all_docs($cb) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto BU; 
        } 
        return $this->access_token; 
        BU: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["docs"], $cb), $zP); 
        return $W4; 
    } 
    public function mo_sps_get_all_folder_items($cb, $ZW) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto VK; 
        } 
        return $this->access_token; 
        VK: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["folder_items"], $cb, $ZW), $zP); 
        return $W4; 
    } 
    public function mo_sps_get_file_thumbnails($cb, $S4) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto uB; 
        } 
        return $this->access_token; 
        uB: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["file_thumbnails"], $cb, $S4), $zP); 
        return $W4; 
    } 
    public function mo_sps_get_file_details($cb, $S4) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto yS; 
        } 
        return $this->access_token; 
        yS: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["file_item"], $cb, $S4), $zP, []); 
        return $W4; 
    } 
    public function mo_sps_get_file_preview($cb, $S4) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto Ty; 
        } 
        return $this->access_token; 
        Ty: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_post_request(sprintf($this->endpoints["file_preview"], $cb, $S4), $zP, []); 
        return $W4; 
    } 
    public function mo_sps_get_download_content($cb, $S4) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto JA; 
        } 
        return $this->access_token; 
        JA: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request_for_url(sprintf($this->endpoints["download_items"], $cb, $S4), $zP); 
        return $W4; 
    } 
    public function mo_sps_search_through_drive_items($cb, $ZW, $RW) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto d4; 
        } 
        return $this->access_token; 
        d4: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        error_log("This is the folder id : " . print_r($ZW, true)); 
        $W4 = ''; 
        if ($ZW != "undefined") { 
            goto UB; 
        } 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["search_driveitems"], $cb, $RW), $zP); 
        goto a4; 
        UB: 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["search_folderitems"], $cb, $ZW, $RW), $zP); 
        a4: 
        return $W4; 
    } 
    public function mo_sps_dowload_file($cb, $S4) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto Dm; 
        } 
        return $this->access_token; 
        Dm: 
        $zP = ["Authorization" => "Bearer " . $d0]; 
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["download_files"], $cb, $S4), $zP); 
        error_log("This is the download response : " . print_r($W4, true)); 
        if ($W4["status"]) { 
            goto uv; 
        } 
        return $W4; 
        goto jw; 
        uv: 
        $pW = $W4["data"]["@microsoft.graph.downloadUrl"]; 
        error_log("This is the download url : " . print_r($pW, true)); 
        if (!ob_get_contents()) { 
            goto wN; 
        } 
        ob_clean(); 
        wN: 
        header("Location: " . $pW); 
        exit; 
        jw: 
    } 
    public function mo_sps_get_upload_session($cb, $ZW, $c8) 
    { 
        $d0 = $this->mo_sps_get_new_access_token(); 
        if ($d0) { 
            goto bP; 
        } 
        return $this->access_token; 
        bP: 
        $zP = ["Authorization" => "Bearer " . $d0, "Content-Type" => "application/x-www-form-urlencoded"]; 
        $ZW = $ZW == '' ? "root" : $ZW; 
        $W4 = $this->handler->mo_sps_post_request(sprintf($this->endpoints["upload_items"], $cb, $ZW, $c8), $zP, ''); 
        return $W4; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace MoSharePointObjectSync\API;

use MoSharePointObjectSync\Wrappers\pluginConstants;
use MoSharePointObjectSync\Wrappers\wpWrapper;
class SharePoint
{
    private static $obj;
    private $endpoints;
    private $config;
    private $scope = "\x68\x74\164\x70\x73\72\57\57\147\x72\x61\160\x68\x2e\155\x69\x63\x72\x6f\x73\157\x66\x74\56\x63\x6f\x6d\57\x2e\x64\145\146\x61\x75\154\x74";
    private $access_token;
    private $handler;
    private function __construct($nb)
    {
        $this->config = $nb;
        $this->handler = Authorization::getController();
    }
    public static function getClient($nb)
    {
        if (isset(self::$obj)) {
            goto Aa;
        }
        self::$obj = new SharePoint($nb);
        self::$obj->setEndpoints();
        Aa:
        return self::$obj;
    }
    private function setEndpoints()
    {
        $this->endpoints["\x74\x6f\153\145\x6e"] = "\x68\164\164\x70\x73\72\x2f\57\154\157\147\151\156\x2e\x6d\x69\143\162\x6f\163\157\x66\x74\x6f\x6e\154\151\156\x65\x2e\x63\x6f\x6d\x2f" . $this->config["\x74\x65\x6e\141\x6e\x74\x5f\x69\144"] . "\x2f\157\x61\x75\164\150\62\x2f\166\62\x2e\60\x2f\164\x6f\x6b\145\156";
        $this->endpoints["\x73\x70\x73\x5f\143\157\155\155\x6f\156\137\164\x6f\153\x65\x6e"] = "\x68\164\164\x70\163\72\57\57\154\157\x67\x69\156\56\x6d\x69\x63\x72\x6f\x73\x6f\146\x74\x6f\156\x6c\151\156\145\56\143\157\x6d\57\x63\157\x6d\155\157\156\57\157\141\x75\164\150\62\x2f\x74\157\x6b\x65\156";
        $this->endpoints["\x73\151\164\x65\163"] = "\x68\x74\x74\160\163\72\x2f\57\x67\x72\141\x70\150\56\155\151\x63\162\x6f\x73\x6f\x66\x74\56\x63\157\x6d\x2f\166\x31\56\x30\x2f\163\x69\164\145\163\x3f\163\145\x61\x72\x63\150\x3d\52\46\44\163\145\x6c\x65\x63\164\75\151\x64\54\144\151\163\x70\x6c\141\171\116\x61\x6d\x65";
        $this->endpoints["\x64\x72\x69\x76\x65\163"] = "\x68\164\x74\160\x73\x3a\x2f\x2f\x67\x72\x61\160\x68\56\x6d\x69\x63\x72\157\163\157\x66\x74\x2e\x63\x6f\155\57\166\61\56\x30\57\163\x69\164\x65\163\57\45\x73\x2f\x64\x72\151\x76\145\x73";
        $this->endpoints["\144\157\x63\163"] = "\150\x74\x74\x70\163\72\57\57\x67\x72\141\160\x68\56\x6d\151\x63\162\157\163\157\x66\164\x2e\x63\x6f\x6d\57\166\x31\x2e\x30\x2f\144\162\151\166\145\x73\57\45\163\57\162\157\157\x74\57\x63\x68\151\154\144\162\x65\156";
        $this->endpoints["\x66\x6f\154\144\x65\x72\x5f\151\x74\x65\155\x73"] = "\150\164\x74\160\163\72\57\57\147\162\x61\160\x68\x2e\155\151\143\162\157\163\x6f\x66\164\56\143\157\155\x2f\x76\61\56\60\57\144\x72\x69\x76\145\163\x2f\x25\163\x2f\x69\164\x65\x6d\x73\x2f\45\163\x2f\143\x68\151\x6c\144\162\145\156";
        $this->endpoints["\146\x69\154\145\137\164\150\x75\155\x62\156\141\x69\154\x73"] = "\x68\164\164\160\x73\72\x2f\x2f\x67\162\x61\x70\150\x2e\x6d\151\x63\162\x6f\x73\x6f\x66\x74\x2e\143\x6f\x6d\57\166\x31\x2e\60\57\144\x72\x69\166\x65\163\57\x25\x73\x2f\151\x74\145\x6d\x73\57\45\x73\x2f\164\150\x75\155\x62\156\141\x69\x6c\x73";
        $this->endpoints["\x66\x69\154\x65\x5f\160\x72\145\x76\151\x65\167"] = "\150\164\164\160\x73\x3a\57\x2f\x67\162\x61\x70\x68\x2e\x6d\x69\x63\162\x6f\163\157\146\164\x2e\143\157\155\x2f\166\61\x2e\x30\57\x64\x72\151\166\x65\x73\x2f\x25\x73\57\x69\164\145\x6d\163\x2f\x25\x73\57\160\x72\145\166\x69\145\x77";
        $this->endpoints["\x73\145\x61\x72\x63\150\x5f\x66\x6f\x6c\144\145\x72\x69\x74\x65\155\x73"] = "\x68\164\164\160\163\72\x2f\57\147\x72\141\160\x68\56\x6d\x69\x63\x72\x6f\x73\157\146\x74\56\143\157\x6d\57\166\x31\x2e\x30\57\x64\x72\x69\166\145\163\57\x25\163\57\x69\164\x65\155\x73\x2f\45\x73\x2f\x73\x65\x61\162\143\150\x28\161\x3d\47\x25\163\47\51";
        $this->endpoints["\163\x65\141\162\x63\150\137\144\x72\x69\166\145\x69\164\145\155\163"] = "\150\x74\164\160\x73\72\x2f\57\147\162\141\160\150\x2e\x6d\151\143\162\157\x73\x6f\x66\164\x2e\143\x6f\155\x2f\x76\61\56\x30\x2f\144\162\151\x76\x65\x73\x2f\x25\163\x2f\163\x65\x61\x72\143\x68\x28\161\75\x27\45\163\47\51";
        $this->endpoints["\165\x70\154\x6f\x61\x64\x5f\x69\164\x65\x6d\x73"] = "\x68\164\x74\160\x73\72\x2f\x2f\147\x72\x61\160\150\56\x6d\x69\143\x72\x6f\x73\x6f\146\164\56\143\x6f\x6d\57\x76\x31\56\x30\x2f\144\162\151\166\x65\x73\57\x25\163\x2f\151\164\145\x6d\x73\57\x25\163\x3a\x2f\45\163\72\x2f\x63\x72\x65\x61\x74\x65\x55\160\154\157\141\x64\123\x65\163\163\x69\157\x6e";
        $this->endpoints["\144\x6f\x77\x6e\154\157\141\x64\x5f\x69\x74\x65\155\163"] = "\x68\164\x74\x70\163\72\x2f\57\x67\162\x61\x70\150\56\155\x69\x63\x72\157\163\x6f\x66\164\56\143\x6f\155\x2f\166\61\x2e\60\57\x64\x72\x69\166\x65\x73\57\45\x73\57\x69\164\x65\x6d\163\57\45\163\x2f\x63\157\156\164\145\156\x74";
        $this->endpoints["\x64\157\167\156\x6c\157\x61\x64\x5f\146\151\x6c\x65\x73"] = "\x68\164\164\x70\x73\x3a\x2f\57\147\162\x61\x70\150\x2e\x6d\x69\x63\x72\x6f\163\x6f\146\164\x2e\143\157\155\57\x76\61\x2e\60\x2f\144\x72\x69\x76\145\x73\57\x25\x73\57\x69\x74\145\155\x73\x2f\45\163";
        $this->endpoints["\146\151\154\x65\x5f\151\164\x65\x6d"] = "\x68\x74\x74\160\163\72\57\x2f\147\x72\x61\x70\150\56\x6d\151\143\162\157\163\x6f\146\x74\56\x63\x6f\x6d\x2f\x76\61\x2e\60\x2f\144\x72\x69\x76\145\163\57\45\x73\57\151\164\145\155\x73\57\x25\x73";
        $this->endpoints["\160\145\162\163\157\156\141\154\x5f\144\162\x69\166\x65\x73"] = "\150\164\164\160\x73\x3a\x2f\57\x67\162\141\x70\x68\56\x6d\x69\143\x72\x6f\x73\157\146\x74\56\x63\x6f\x6d\x2f\x76\x31\x2e\60\57\x75\x73\145\162\163\x2f\x25\163\57\144\162\151\x76\x65\163";
    }
    public function mo_sps_get_new_access_token()
    {
        $mj = "\155\x61\156\165\x61\x6c";
        if ($mj == "\155\141\x6e\165\141\x6c") {
            goto vP;
        }
        $W4 = $this->handler->mo_sps_get_access_token_using_authorization_code($this->endpoints, $this->config, $this->scope);
        goto US;
        vP:
        $W4 = $this->handler->mo_sps_get_access_token_using_client_credentials($this->endpoints, $this->config, $this->scope);
        US:
        $this->access_token = $W4;
        if (!$W4["\163\x74\141\x74\x75\163"]) {
            goto tH;
        }
        $zP = ["\101\x75\164\150\x6f\162\x69\172\141\x74\151\157\156" => "\102\145\141\162\x65\162\x20" . $this->access_token["\x64\141\x74\x61"]];
        return $this->access_token["\144\141\164\x61"];
        tH:
        return false;
    }
    public function mo_sps_get_all_sites()
    {
        $d0 = $this->mo_sps_get_new_access_token();
        $PN = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
        if ($d0) {
            goto Zo;
        }
        return $this->access_token;
        Zo:
        $zP = ["\x41\165\x74\150\157\x72\x69\172\141\164\x69\x6f\x6e" => "\x42\145\x61\162\x65\x72\40" . $d0];
        if (isset($PN["\x73\151\x74\x65\x5f\x75\162\154"]) && $PN["\x73\151\164\x65\x5f\x75\162\154"] != '') {
            goto GA;
        }
        $EA = $this->endpoints["\163\x69\164\145\163"];
        goto cA;
        GA:
        $EA = $PN["\163\x69\164\x65\x5f\x75\162\x6c"];
        $PX = parse_url($EA);
        $mm = explode("\57", $PX["\150\x6f\x73\164"]);
        $VH = "\150\164\x74\x70\163\x3a\x2f\x2f\x67\x72\x61\160\x68\56\x6d\x69\x63\x72\157\163\157\x66\164\56\x63\x6f\x6d\x2f\166\61\56\60\x2f\x73\151\164\145\x73\x2f" . $PX["\150\157\163\164"] . "\72" . $PX["\160\x61\164\x68"] . "\x3f\x73\145\141\x72\143\x68\x3d\52\46\44\163\x65\x6c\145\143\x74\75\x69\144\54\x64\x69\x73\x70\154\141\171\116\141\x6d\x65";
        $EA = $VH;
        cA:
        $W4 = $this->handler->mo_sps_get_request($EA, $zP);
        return $W4;
    }
    public function mo_sps_get_all_drives($GN)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto gS;
        }
        return $this->access_token;
        gS:
        $zP = ["\101\165\x74\x68\157\162\151\172\x61\164\151\157\x6e" => "\102\x65\141\x72\145\x72\x20" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\144\x72\151\166\145\163"], $GN), $zP);
        return $W4;
    }
    public function mo_sps_get_all_personal_drives($Sc)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto cT;
        }
        return $this->access_token;
        cT:
        $zP = ["\x41\165\x74\x68\x6f\162\151\172\141\x74\x69\157\x6e" => "\102\x65\141\162\x65\162\x20" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\x70\145\162\x73\157\156\141\154\x5f\x64\162\151\166\x65\x73"], $Sc), $zP);
        return $W4;
    }
    public function mo_sps_get_all_docs($cb)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto BU;
        }
        return $this->access_token;
        BU:
        $zP = ["\x41\x75\x74\150\x6f\162\151\172\x61\x74\151\157\x6e" => "\x42\145\141\162\x65\162\x20" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\144\x6f\143\x73"], $cb), $zP);
        return $W4;
    }
    public function mo_sps_get_all_folder_items($cb, $ZW)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto VK;
        }
        return $this->access_token;
        VK:
        $zP = ["\101\165\x74\150\157\162\151\x7a\141\164\151\157\x6e" => "\102\x65\x61\x72\145\x72\40" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\x66\157\x6c\x64\145\x72\137\x69\164\x65\155\163"], $cb, $ZW), $zP);
        return $W4;
    }
    public function mo_sps_get_file_thumbnails($cb, $S4)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto uB;
        }
        return $this->access_token;
        uB:
        $zP = ["\x41\x75\164\150\157\x72\151\x7a\141\x74\x69\157\x6e" => "\102\x65\x61\x72\145\162\40" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\146\151\x6c\145\x5f\x74\150\x75\x6d\x62\156\141\151\154\x73"], $cb, $S4), $zP);
        return $W4;
    }
    public function mo_sps_get_file_details($cb, $S4)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto yS;
        }
        return $this->access_token;
        yS:
        $zP = ["\101\165\164\x68\x6f\162\151\x7a\141\164\x69\x6f\156" => "\x42\x65\x61\162\145\162\40" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\x66\151\x6c\145\137\x69\x74\x65\155"], $cb, $S4), $zP, []);
        return $W4;
    }
    public function mo_sps_get_file_preview($cb, $S4)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto Ty;
        }
        return $this->access_token;
        Ty:
        $zP = ["\101\165\164\x68\157\162\151\172\141\x74\151\x6f\156" => "\102\145\141\x72\145\162\40" . $d0];
        $W4 = $this->handler->mo_sps_post_request(sprintf($this->endpoints["\x66\151\x6c\x65\137\160\x72\x65\x76\151\x65\x77"], $cb, $S4), $zP, []);
        return $W4;
    }
    public function mo_sps_get_download_content($cb, $S4)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto JA;
        }
        return $this->access_token;
        JA:
        $zP = ["\101\x75\x74\x68\x6f\162\x69\172\x61\164\x69\157\156" => "\x42\x65\x61\162\x65\x72\40" . $d0];
        $W4 = $this->handler->mo_sps_get_request_for_url(sprintf($this->endpoints["\144\157\x77\x6e\x6c\157\x61\144\x5f\x69\164\145\x6d\x73"], $cb, $S4), $zP);
        return $W4;
    }
    public function mo_sps_search_through_drive_items($cb, $ZW, $RW)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto d4;
        }
        return $this->access_token;
        d4:
        $zP = ["\101\x75\x74\x68\x6f\162\151\172\x61\164\151\x6f\x6e" => "\102\145\141\162\145\x72\x20" . $d0];
        error_log("\124\x68\151\163\40\x69\x73\x20\164\x68\x65\40\x66\x6f\x6c\144\x65\162\x20\x69\x64\40\x3a\x20" . print_r($ZW, true));
        $W4 = '';
        if ($ZW != "\165\x6e\x64\145\146\x69\156\x65\144") {
            goto UB;
        }
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\x73\x65\x61\162\x63\150\137\144\x72\151\166\145\x69\164\145\x6d\163"], $cb, $RW), $zP);
        goto a4;
        UB:
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\163\x65\x61\x72\143\150\x5f\x66\157\x6c\144\145\162\151\x74\145\x6d\163"], $cb, $ZW, $RW), $zP);
        a4:
        return $W4;
    }
    public function mo_sps_dowload_file($cb, $S4)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto Dm;
        }
        return $this->access_token;
        Dm:
        $zP = ["\101\x75\164\x68\x6f\x72\151\172\x61\164\x69\157\x6e" => "\x42\x65\141\x72\x65\x72\x20" . $d0];
        $W4 = $this->handler->mo_sps_get_request(sprintf($this->endpoints["\144\157\x77\x6e\x6c\x6f\141\x64\x5f\x66\151\x6c\145\163"], $cb, $S4), $zP);
        error_log("\x54\150\x69\x73\40\151\x73\x20\164\x68\x65\x20\144\x6f\x77\156\154\157\x61\x64\x20\162\145\163\160\x6f\156\163\145\x20\72\40" . print_r($W4, true));
        if ($W4["\x73\164\x61\x74\165\163"]) {
            goto uv;
        }
        return $W4;
        goto jw;
        uv:
        $pW = $W4["\144\x61\x74\141"]["\x40\155\x69\143\162\157\x73\x6f\x66\164\x2e\x67\162\x61\x70\x68\56\144\157\167\x6e\x6c\157\141\x64\x55\162\154"];
        error_log("\124\x68\x69\x73\40\x69\x73\40\164\x68\145\x20\x64\157\x77\x6e\154\x6f\141\144\x20\x75\162\x6c\40\72\x20" . print_r($pW, true));
        if (!ob_get_contents()) {
            goto wN;
        }
        ob_clean();
        wN:
        header("\x4c\x6f\143\141\164\151\157\x6e\72\40" . $pW);
        exit;
        jw:
    }
    public function mo_sps_get_upload_session($cb, $ZW, $c8)
    {
        $d0 = $this->mo_sps_get_new_access_token();
        if ($d0) {
            goto bP;
        }
        return $this->access_token;
        bP:
        $zP = ["\101\x75\164\150\x6f\x72\x69\x7a\x61\x74\x69\157\156" => "\x42\x65\141\162\x65\162\x20" . $d0, "\x43\x6f\x6e\164\x65\x6e\164\x2d\124\x79\x70\145" => "\x61\x70\x70\154\x69\143\x61\164\x69\x6f\156\57\x78\x2d\167\x77\x77\x2d\x66\157\162\x6d\x2d\165\162\154\145\x6e\x63\157\x64\145\x64"];
        $ZW = $ZW == '' ? "\x72\157\157\x74" : $ZW;
        $W4 = $this->handler->mo_sps_post_request(sprintf($this->endpoints["\x75\x70\x6c\x6f\141\x64\137\x69\x74\x65\155\163"], $cb, $ZW, $c8), $zP, '');
        return $W4;
    }
}

Function Calls

None

Variables

None

Stats

MD5 fa82d43cce82370ecea0d949aec8dde9
Eval Count 0
Decode Time 87 ms