!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\wordpress-seo\vendor\composer\installers\src\Composer\Installers\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.35%)
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:     CakePHPInstaller.php (2.33 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Composer\Installers;

use 
Composer\DependencyResolver\Pool;
use 
Composer\Package\PackageInterface;
use 
Composer\Package\LinkConstraint\MultiConstraint;
use 
Composer\Package\LinkConstraint\VersionConstraint;

class 
CakePHPInstaller extends BaseInstaller
{
    protected 
$locations = array(
        
'plugin' => 'Plugin/{$name}/',
    );

    
/**
     * Format package name to CamelCase
     */
    
public function inflectPackageVars($vars)
    {
        if (
$this->matchesCakeVersion('>=''3.0.0')) {
            return 
$vars;
        }

        
$nameParts explode('/'$vars['name']);
        foreach (
$nameParts as &$value) {
            
$value strtolower(preg_replace('/(?<=\\w)([A-Z])/''_\\1'$value));
            
$value str_replace(array('-''_'), ' '$value);
            
$value str_replace(' '''ucwords($value));
        }
        
$vars['name'] = implode('/'$nameParts);

        return 
$vars;
    }

    
/**
     * Change the default plugin location when cakephp >= 3.0
     */
    
public function getLocations()
    {
        if (
$this->matchesCakeVersion('>=''3.0.0')) {
            
$this->locations['plugin'] =  $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
        }
        return 
$this->locations;
    }

    
/**
     * Check if CakePHP version matches against a version
     *
     * @param string $matcher
     * @param string $version
     * @return bool
     */
    
protected function matchesCakeVersion($matcher$version)
    {
        
$repositoryManager $this->composer->getRepositoryManager();
        if (
$repositoryManager) {
            
$repos $repositoryManager->getLocalRepository();
            if (!
$repos) {
                return 
false;
            }
            
$cake3 = new MultiConstraint(array(
                new 
VersionConstraint($matcher$version),
                new 
VersionConstraint('!=''9999999-dev'),
            ));
            
$pool = new Pool('dev');
            
$pool->addRepository($repos);
            
$packages $pool->whatProvides('cakephp/cakephp');
            foreach (
$packages as $package) {
                
$installed = new VersionConstraint('='$package->getVersion());
                if (
$cake3->matches($installed)) {
                    return 
true;
                    break;
                }
            }
        }
        return 
false;
    }
}

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