!C99Shell v. 2.6 Mod (06.03.2026)!

Software: Apache. PHP/7.2.34 

uname -a: Linux li456-155.members.linode.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01
UTC 2023 x86_64
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/doc/pecl/zip/examples/   drwxr-xr-x
Free 1.63 GB of 47.23 GB (3.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Bind    Proc.    FTP brute    Sec.    SQL    PHP-code    Self remove    Logout    


Viewing file:     encryption.php (1.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
error_reporting
(E_ALL);
if (!
extension_loaded('zip')) {
    
dl('zip.so');
}

$name __DIR__ '/encrypted.zip';
$pass 'secret';
$file 'foo.php';

echo 
"== Create with per file password\n";

$zip  = new ZipArchive;
$zip->open($nameZIPARCHIVE::CREATE ZipArchive::OVERWRITE);
$zip->addFile(__FILE__$file);
$zip->setEncryptionName($fileZipArchive::EM_AES_256$pass);
$zip->close();

echo 
"== Create with global password\n";

$zip  = new ZipArchive;
$zip->open($nameZIPARCHIVE::CREATE ZipArchive::OVERWRITE);
$zip->setPassword($pass);
$zip->addFile(__FILE__$file);
$zip->setEncryptionName($fileZipArchive::EM_AES_256);
$zip->close();

echo 
"== Stat\n";

$zip->open($name);
print_r($zip->statName($file));

echo 
"== Read\n";

$zip->setPassword($pass);
$text $zip->getFromName($file);
printf("Size = %d\n"strlen($text));
$zip->close();

echo 
"== Stream with context\n";

$ctx stream_context_create(array(
    
'zip' => array(
        
'password' => $pass
    
)
));
$text file_get_contents("zip://$name#$file"false$ctx);
printf("Size = %d\n"strlen($text));


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

c99shell Mod — c99shell.com © 2026
Generation time: 0.1026