!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/framework/   drwxrwxr-x
Free 83.25 GB of 96.73 GB (86.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     compiled_vs_interpreted.php (1.96 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * phc -- the open source PHP compiler
 * See doc/license/README.license for licensing information
 *
 * Test the output of a compiled script against php's output for the same script. 
 */

require_once ("lib/async_test.php");

class 
CompiledVsInterpreted extends AsyncTest
{
    function 
check_prerequisites ()
    {
        global 
$gcc$libphp;
#        if (!check_for_program ($gcc)) return false;
        
if (!check_for_program ("$libphp/libphp5.so")) return false;
        return 
true;
    }

    function 
get_dependent_test_names ()
    {
        return array (
"Generate_C");
    }

    function 
get_test_subjects ()
    {
        return 
get_interpretable_scripts ();
    }

    function 
finish ($async)
    {
        if (
$async->outs[0] !== $async->outs[2]
            or 
$async->errs[0] !== $async->errs[2]
            or 
$async->exits[0] !== $async->exits[2])
        {
            
$output diff ($async->outs[0], $async->outs[2]);
            
$async->outs $output;
            
$this->async_failure ("Outputs dont match PHP outputs"$async);
        }
        else
        {
            
$this->async_success ($async);
        }
    }

    function 
homogenize_output ($string$bundle)
    {
        
$string homogenize_filenames_and_line_numbers ($string$bundle->subject);
        
$string homogenize_reference_count ($string);
        return 
$string;
    }

    function 
get_php_command ($subject)
    {
        return 
get_php_command_line ($subject);
    }

    function 
get_phc_command ($subject$exe_name)
    {
        return 
get_phc_command_line ($subject) . " -c -o $exe_name";
    }

    function 
run_test ($subject)
    {
        
$async = new AsyncBundle ($this$subject);

        
$async->commands[0] = $this->get_php_command ($subject);
        
$async->out_handlers[0] = "homogenize_output";

        
$exe_name wd_name ("$subject.out." $this->get_name ());
        
$async->commands[1] = $this->get_phc_command ($subject$exe_name);
        
$async->err_handlers[1] = "fail_on_output";
        
$async->exit_handlers[1] = "fail_on_output";

        
$async->commands[2] = "$exe_name";
        
$async->out_handlers[2] = "homogenize_output";

        
$async->final "finish";

        
$async->start ();
    }
}
array_push($tests, new CompiledVsInterpreted ());

?>

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