!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/scripts/pba/phc-read-only/test/subjects/optimization/   drwxrwxr-x
Free 83.33 GB of 96.73 GB (86.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

    
/*
     * Test everywhere an object might be converted into a string
     */

    
unset ($GLOBALS);

    class 
Handled
    
{
        function 
__toString ()
        {
            static 
$count 0;

            
$count++;

            
$result "Hit $count\n\n";
            echo 
$result;
            return 
$result;
        }
    }

    function 
name ($title)
    {
        echo 
"\n\n******** $title ********************\n";
    }

    
$x = new Handled;

    
name ("Call to explode");
    
$a explode ($x$x);
    
var_dump ($a);


    
name ("Call to define");
    
var_dump (define ($x"ASD"));

    
name ("Concatenation");
    
$a1 "" $x;
    
$a1a $x $x;
    
$a1b $x "a string";
    
var_dump ($a1$a1a$a1b);
    
    
name ("Cast");
    
$a2 = (string)($x);
    
var_dump ($a2);

    
name ("As a field index");
    
$b->$x 5;
    
var_dump ($b);

    
name ("As an array index");
    
$c[$x] = 6;
    
var_dump ($c);

    
name ("In a var-var");
    $
$x 10;
    
var_dump ($GLOBALS);



    
name ("In a branch");
    if (
$x)
    {
        echo 
"true\n";
    }
    else
    {
        echo 
"false\n";
    }

    
name ("TODO: Others, which we can;t test so well:");
    
name ("TODO: variable methods");
    
name ("TODO: variable class instantiations");



?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0045 ]--