ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:23.74 GB of 70.42 GB (33.71%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ yalagina/ libraries/ joomla/ github/ - drwxr-xr-x

Directory:
Viewing file:     github.php (3.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package     Joomla.Platform
 * @subpackage  GitHub
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die();

/**
 * Joomla Platform class for interacting with a GitHub server instance.
 *
 * @package     Joomla.Platform
 * @subpackage  GitHub
 * @since       11.3
 */
class JGithub
{
    
/**
     * @var    JRegistry  Options for the GitHub object.
     * @since  11.3
     */
    
protected $options;

    
/**
     * @var    JGithubHttp  The HTTP client object to use in sending HTTP requests.
     * @since  11.3
     */
    
protected $client;

    
/**
     * @var    JGithubGists  GitHub API object for gists.
     * @since  11.3
     */
    
protected $gists;

    
/**
     * @var    JGithubIssues  GitHub API object for issues.
     * @since  11.3
     */
    
protected $issues;

    
/**
     * @var    JGithubPulls  GitHub API object for pulls.
     * @since  11.3
     */
    
protected $pulls;

    
/**
     * @var    JGithubRefs  GitHub API object for referencess.
     * @since  11.3
     */
    
protected $refs;

    
/**
     * @var    JGithubForks  GitHub API object for forks.
     * @since  11.3
     */
    
protected $forks;

    
/**
     * Constructor.
     *
     * @param   JRegistry    $options  GitHub options object.
     * @param   JGithubHttp  $client   The HTTP client object.
     *
     * @since   11.3
     */
    
public function __construct(JRegistry $options nullJGithubHttp $client null)
    {
        
$this->options = isset($options) ? $options : new JRegistry;
        
$this->client  = isset($client) ? $client : new JGithubHttp($this->options);

        
// Setup the default API url if not already set.
        
$this->options->def('api.url''https://api.github.com');
    }

    
/**
     * Magic method to lazily create API objects
     *
     * @param   string  $name  Name of property to retrieve
     *
     * @return  JGithubObject  GitHub API object (gists, issues, pulls, etc).
     *
     * @since   11.3
     */
    
public function __get($name)
    {
        if (
$name == 'gists')
        {
            if (
$this->gists == null)
            {
                
$this->gists = new JGithubGists($this->options$this->client);
            }
            return 
$this->gists;
        }

        if (
$name == 'issues')
        {
            if (
$this->issues == null)
            {
                
$this->issues = new JGithubIssues($this->options$this->client);
            }
            return 
$this->issues;
        }

        if (
$name == 'pulls')
        {
            if (
$this->pulls == null)
            {
                
$this->pulls = new JGithubPulls($this->options$this->client);
            }
            return 
$this->pulls;
        }

        if (
$name == 'refs')
        {
            if (
$this->refs == null)
            {
                
$this->refs = new JGithubRefs($this->options$this->client);
            }
            return 
$this->refs;
        }

        if (
$name == 'forks')
        {
            if (
$this->forks == null)
            {
                
$this->forks = new JGithubForks($this->options$this->client);
            }
            return 
$this->forks;
        }
    }

    
/**
     * Get an option from the JGitHub instance.
     *
     * @param   string  $key  The name of the option to get.
     *
     * @return  mixed  The option value.
     *
     * @since   11.3
     */
    
public function getOption($key)
    {
        return 
$this->options->get($key);
    }

    
/**
     * Set an option for the JGitHub instance.
     *
     * @param   string  $key    The name of the option to set.
     * @param   mixed   $value  The option value to set.
     *
     * @return  JGitHub  This object for method chaining.
     *
     * @since   11.3
     */
    
public function setOption($key$value)
    {
        
$this->options->set($key$value);

        return 
$this;
    }
}
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.3358 seconds