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


Viewing file:     combine_bench_results.php (2.04 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
*
* Combines results from individual files into the benchmark they are a member of in a combined_results table.
*
* Usage: php test/framework/bench/combine_bench_results.php <path of database>
*
*/

    
    
$date date ("c");


    
$DB = new PDO ("sqlite:".$argv[1]);

    
$benches = array(
            
"test/subjects/benchmarks/zend/individual/"
            
"test/subjects/benchmarks/php-benchmarks/benchcli/tests/",
            
"test/subjects/benchmarks/RUBBoS/PHP/",
            
"test/subjects/benchmarks/RUBiS/",
            
"test/subjects/benchmarks/shootout/",
            
"test/subjects/benchmarks/SPEC/bank/",
            
"test/subjects/benchmarks/webapps/aphpkb/",
            
"test/subjects/benchmarks/webapps/eveactive_1.0/",
            
"test/subjects/benchmarks/webapps/phpshell-2.1/",
            
"test/subjects/benchmarks/webapps/phpSQLiteAdmin-0.2/",
            
"test/subjects/benchmarks/webapps/tigerPhpNewsSystem_1.0_beta_build39/"
            
);
    
    
$DB->exec ("DROP table combined_results");

    
$DB->exec ("
        CREATE table combined_results 
        (date date,
        file varchar(200),
        flags varchar(200),
        test varchar(200),
        num real)
        "
);

    
$DB->exec ("
        CREATE table results_temp
        (date date,
        file varchar(200),
        flags varchar(200),
        test varchar(200),
        strings varchar(200),
        num real)
        "
);


    
$DB->exec ("INSERT INTO results_temp SELECT * FROM results");
    foreach (
$benches as $bench)
    {            
        
$data $DB->query ("SELECT * FROM results_temp WHERE file LIKE '$bench%'");

        
        foreach (
$data as $d)
        {
            
            
$num 0;
            
// Doesn't check date
            
$moredata $DB->query ("SELECT flags,test,num FROM results_temp WHERE file LIKE '$bench%'
                                            AND flags = '"
.$d['flags']."'
                                            AND test = '"
.$d['test']."'
                                            "
);
    
            foreach (
$moredata as $md)
            {
                
$num += $md['num'];
            }

            
$DB->exec ("INSERT INTO combined_results
                            VALUES('
$date',
                                    '
$bench',
                                    '"
.$d['flags']."',
                                    '"
.$d['test']."',
                                    '
$num')
                                    "
);
        
            
$DB->exec ("DELETE FROM results_temp WHERE file LIKE '$bench%'
                            AND flags = '"
.$d['flags']."'
                            AND test = '"
.$d['test']."'
                        "
);


        }
    }    
    
$DB->exec ("DROP TABLE results_temp");

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