!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)

/var/softaculous/cpg/   drwxr-xr-x
Free 294.03 GB of 429.69 GB (68.43%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     update_pass.php (2.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

@unlink('update_pass.php');

function 
__pbkdf2($algorithm$password$salt$count$key_length$raw_output false){

    if (
function_exists("hash_pbkdf2")) {
        
// The output length is in NIBBLES (4-bits) if $raw_output is false!
        
if (!$raw_output) {
            
$key_length $key_length 2;
        }
        return 
hash_pbkdf2($algorithm$password$salt$count$key_length$raw_output);
    }

    
$hash_length strlen(hash($algorithm""true));
    
$block_count ceil($key_length $hash_length);

    
$output "";
    for(
$i 1$i <= $block_count$i++) {
        
// $i encoded as 4 bytes, big endian.
        
$last $salt pack("N"$i);
        
// first iteration
        
$last $xorsum hash_hmac($algorithm$last$passwordtrue);
        
// perform the other $count - 1 iterations
        
for ($j 1$j $count$j++) {
            
$xorsum ^= ($last hash_hmac($algorithm$last$passwordtrue));
        }
        
$output .= $xorsum;
    }

    if(
$raw_output)
        return 
substr($output0$key_length);
    else
        return 
bin2hex(substr($output0$key_length));
}

$thumb_method '';

if (
function_exists("imagecreate") && function_exists("imagejpeg")) {
    
    
$thumb_method  'gd2';
    
    
$im imagecreate(11);    
    
$tst_image "[[softpath]]/albums/userpics/gd1.jpg";
    
imagejpeg($im$tst_image);
    
$size = @getimagesize($tst_image);
    
unlink($tst_image);
    
$gd1_installed = ($size[2] == 2);

    
$im imagecreatetruecolor(11);
    
$tst_image "[[softpath]]/albums/userpics/gd2.jpg";
    
imagejpeg($im$tst_image);
    
$size = @getimagesize($tst_image);
    
unlink($tst_image);
    
$gd2_installed = ($size[2] == 2);
    
    if(!
$gd2_installed && $gd1_installed){
        
$thumb_method  'gd1';
    }
    
}

if (
function_exists('random_bytes')) {
        
$vect random_bytes(24);
    } else {
        
$vect mcrypt_create_iv(24MCRYPT_DEV_URANDOM);
    }
    
$salt base64_encode($vect);

$resp base64_encode(__pbkdf2("sha256"'[[admin_pass]]'$salt100024true));

echo 
$salt.'SOFTACULOUS'.$resp.'SOFTACULOUS'.$thumb_method;

?>

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