!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html_v5_10/vendor/barryvdh/laravel-debugbar/src/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     JavascriptRenderer.php (4.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Barryvdh\Debugbar;

use 
DebugBar\DebugBar;
use 
DebugBar\JavascriptRenderer as BaseJavascriptRenderer;
use 
Illuminate\Routing\UrlGenerator;

/**
 * {@inheritdoc}
 */
class JavascriptRenderer extends BaseJavascriptRenderer
{
    
// Use XHR handler by default, instead of jQuery
    
protected $ajaxHandlerBindToJquery false;
    protected 
$ajaxHandlerBindToXHR true;

    public function 
__construct(DebugBar $debugBar$baseUrl null$basePath null)
    {
        
parent::__construct($debugBar$baseUrl$basePath);

        
$this->cssFiles['laravel'] = __DIR__ '/Resources/laravel-debugbar.css';
        
$this->jsFiles['laravel-cache'] = __DIR__ '/Resources/cache/widget.js';
        
$this->jsFiles['laravel-queries'] = __DIR__ '/Resources/queries/widget.js';

        
$theme config('debugbar.theme''auto');
        switch (
$theme) {
            case 
'dark':
                
$this->cssFiles['laravel-dark'] = __DIR__ '/Resources/laravel-debugbar-dark-mode.css';
                break;
            case 
'auto':
                
$this->cssFiles['laravel-dark-0'] = __DIR__ '/Resources/laravel-debugbar-dark-mode-media-start.css';
                
$this->cssFiles['laravel-dark-1'] = __DIR__ '/Resources/laravel-debugbar-dark-mode.css';
                
$this->cssFiles['laravel-dark-2'] = __DIR__ '/Resources/laravel-debugbar-dark-mode-media-end.css';
        }
    }

    
/**
     * Set the URL Generator
     *
     * @param \Illuminate\Routing\UrlGenerator $url
     * @deprecated
     */
    
public function setUrlGenerator($url)
    {
    }

    
/**
     * {@inheritdoc}
     */
    
public function renderHead()
    {
        
$cssRoute preg_replace('/\Ahttps?:\/\/[^\/]+/'''route('debugbar.assets.css', [
            
'v' => $this->getModifiedTime('css'),
            
'theme' => config('debugbar.theme''auto'),
        ]));

        
$jsRoute preg_replace('/\Ahttps?:\/\/[^\/]+/'''route('debugbar.assets.js', [
            
'v' => $this->getModifiedTime('js')
        ]));

        
$nonce $this->getNonceAttribute();

        
$html  "<link rel='stylesheet' type='text/css' property='stylesheet' href='{$cssRoute}' data-turbolinks-eval='false' data-turbo-eval='false'>";
        
$html .= "<script{$nonce} src='{$jsRoute}' data-turbolinks-eval='false' data-turbo-eval='false'></script>";

        if (
$this->isJqueryNoConflictEnabled()) {
            
$html .= "<script{$nonce} data-turbo-eval='false'>jQuery.noConflict(true);</script>" "\n";
        }

        
$inlineHtml $this->getInlineHtml();
        if (
$nonce != '') {
            
$inlineHtml preg_replace("/<(script|style)>/""<$1{$nonce}>"$inlineHtml);
        }
        
$html .= $inlineHtml;


        return 
$html;
    }

    protected function 
getInlineHtml()
    {
        
$html '';

        foreach ([
'head''css''js'] as $asset) {
            foreach (
$this->getAssets('inline_' $asset) as $item) {
                
$html .= $item "\n";
            }
        }

        return 
$html;
    }
    
/**
     * Get the last modified time of any assets.
     *
     * @param string $type 'js' or 'css'
     * @return int
     */
    
protected function getModifiedTime($type)
    {
        
$files $this->getAssets($type);

        
$latest 0;
        foreach (
$files as $file) {
            
$mtime filemtime($file);
            if (
$mtime $latest) {
                
$latest $mtime;
            }
        }
        return 
$latest;
    }

    
/**
     * Return assets as a string
     *
     * @param string $type 'js' or 'css'
     * @return string
     */
    
public function dumpAssetsToString($type)
    {
        
$files $this->getAssets($type);

        
$content '';
        foreach (
$files as $file) {
            
$content .= file_get_contents($file) . "\n";
        }

        return 
$content;
    }

    
/**
     * Makes a URI relative to another
     *
     * @param string|array $uri
     * @param string $root
     * @return string
     */
    
protected function makeUriRelativeTo($uri$root)
    {
        if (!
$root) {
            return 
$uri;
        }

        if (
is_array($uri)) {
            
$uris = [];
            foreach (
$uri as $u) {
                
$uris[] = $this->makeUriRelativeTo($u$root);
            }
            return 
$uris;
        }

        if (
substr($uri ?? ''01) === '/' || preg_match('/^([a-zA-Z]+:\/\/|[a-zA-Z]:\/|[a-zA-Z]:\\\)/'$uri ?? '')) {
            return 
$uri;
        }
        return 
rtrim($root'/') . "/$uri";
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0062 ]--