!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 13.33 GB of 57.97 GB (22.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

use App\Conf;
use 
JsonMachine\JsonMachine;
use 
OtApiClient\OtClientBulk;
use 
OtApiClient\ValuesObject\OtParameters;
use 
OtApiClient\ValuesObject\OtXmlItemParameters;

include_once 
__DIR__ "/ini.php";
try {
    
$client        = new OtClientBulk(Conf::getConfigValue('OT_Key'''), Conf::getConfigValue('OT_Secret'''), Conf::getConfigValue('OT_Lang'''));
    
$xmlParameters = new OtXmlItemParameters();
    
$xmlParameters->setCategoryId('otc-46');
    
$xmlParameters->setMinVolume(30);
    
$parameters = new OtParameters();
    
$parameters->setFrameSize(200);
    
$parameters->setFramePosition(0);
    
$runData        $client->runBulkSearchItems($parameters$xmlParameters);
    
$runDataDecoded json_decode($runDataTRUE512JSON_THROW_ON_ERROR);
    
$activityId     $runDataDecoded['Result']['activityId'];
    
$finished       FALSE;
    
$itemsData      NULL;
    while (
$finished === FALSE) {
        
$itemsData $client->getBulkSearchItemsResult($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.0059 ]--