!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\cumbreclima\wp-content\plugins\wcp-contact-form\classes\   drwxrwxrwx
Free 4.11 GB of 39.52 GB (10.39%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     SCFP_FormSettings.class.php (2.88 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
use Webcodin\WCPContactForm\Core\Agp_RepeaterAbstract;

class 
SCFP_FormSettings extends Agp_RepeaterAbstract {
    
    
/**
     * The single instance of the class 
     * 
     * @var Fac_Slider 
     */
    
protected static $_instance null;    

    
/**
     * Main Instance
     *
     * @return object
     */
    
public static function instance() {
        if ( 
is_nullself::$_instance ) ) {
            
self::$_instance = new self(dirname(dirname(__FILE__)));
        }
        return 
self::$_instance;
    }    
    
    
/**
     * Cloning is forbidden.
     */
    
public function __clone() {
    }

    
/**
     * Unserializing instances of this class is forbidden.
     */
    
public function __wakeup() {
    }        
    
    public function 
__construct($baseDir) {
        
parent::__construct($baseDir);

        
$this->init('scfp_form_settings''Fields Settings''scfp_plugin_options''normal');

        
$this->setHeaderTemplateAdminName("admin/form/header");
        
$this->setLayoutTemplateAdminName("admin/form/layout");
        
$this->setRowTemplateAdminName("admin/form/row"); 
    }
    
    public function 
enqueueScripts () {
        
wp_enqueue_script'scfp-form-repeater'$this->getAssetUrl('repeater/js/main.js'), array('jquery') );                                                         
        
wp_enqueue_style'scfp-form-repeater-css'$this->getAssetUrl('repeater/css/style.css') );  
    }        
    
    public function 
enqueueAdminScripts () {
        
wp_enqueue_script'scfp-form-repeater'$this->getAssetUrl('repeater/js/admin.js'), array('jquery') );                                                         
        
wp_enqueue_style'scfp-form-repeater-css'$this->getAssetUrl('repeater/css/admin.css') );  
    }                    
    
    public function 
getData($post_id) {
        
$data = array();
        if (
$this->getId()) {
            
            
$options get_option($post_id);
            if (!empty(
$options)) {
                if (
is_serialized($options)) {
                    
$options unserialize($options);
                }    

                if (!empty(
$options['field_settings'])) {
                    
$data $options['field_settings'];
                }                
            }
        }
        
        if (isset(
$data[0])) {
            unset(
$data[0]);
        }
        
        return 
$data;        
    }    
    
    public function 
getMaxRow($post_id) {
        if (
$this->getId()) {
            
$data $this->getData($post_id);
            if (!empty(
$data) && is_array($data)) {
                
$tmp = array();                
                foreach(
$data as $k => $v) {
                    if (
is_numeric($k)) {
                        
$tmp[$k] = $v;
                    }
                }
                if (!empty(
$tmp)) {
                    return 
max(array_keys($tmp));        
                } else {
                    return 
0;
                }
            }
        }
        return 
1;
    }    
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--